COMMIT_SHA and REGRESSION_BASELINE_SHA are mostly not necessary - you can set them to anything you want to, for the purposes of running the regression tests locally.
Set up your baseline
Compile the version of EnergyPlus that you want to build against (baseline)
Run the unit tests. This generates the necessary output