Added error check while working on unit tests for whole_building_energy_savings.