Skip to content

Commit

Permalink
Catch more expected warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Jul 18, 2023
1 parent e065642 commit 3a01c72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_run_analysis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def _verify_outputs(cli_output_log, testing = false)
next if _expected_warning_message(message, 'HVAC setpoints have been automatically adjusted to prevent periods where the heating setpoint is greater than the cooling setpoint.')
next if _expected_warning_message(message, 'It is not possible to eliminate all HVAC energy use (e.g. crankcase/defrost energy) in EnergyPlus during an unavailable period.')
next if _expected_warning_message(message, 'It is not possible to eliminate all water heater energy use (e.g. parasitics) in EnergyPlus during an unavailable period.')
next if _expected_warning_message(message, 'No space cooling specified, the model will not include space cooling energy use. [context: /HPXML/Building/BuildingDetails]')
next if _expected_warning_message(message, 'No clothes washer specified, the model will not include clothes washer energy use. [context: /HPXML/Building/BuildingDetails]')
next if _expected_warning_message(message, 'No dishwasher specified, the model will not include dishwasher energy use. [context: /HPXML/Building/BuildingDetails]')
next if _expected_warning_message(message, "Foundation type of 'AboveApartment' cannot have a non-zero height. Assuming height is zero.")
next if _expected_warning_message(message, "Both 'occupants' schedule file and weekday fractions provided; the latter will be ignored.")
next if _expected_warning_message(message, "Both 'occupants' schedule file and weekend fractions provided; the latter will be ignored.")
Expand Down Expand Up @@ -95,7 +98,7 @@ def _verify_outputs(cli_output_log, testing = false)
next if _expected_warning_message(message, 'Unable to find sql file at')
next if _expected_warning_message(message, 'No design condition info found; calculating design conditions from EPW weather data.')
next if _expected_warning_message(message, 'Not calculating emissions because an electricity filepath for at least one emissions scenario could not be located.')
next if _expected_warning_message(message, 'No space cooling specified, the model will not include space cooling energy use. [context: /HPXML/Building/BuildingDetails]')
next if _expected_warning_message(message, 'Home with unconditioned basement/crawlspace foundation type has both foundation wall insulation and floor insulation.')
end
if testing
next if _expected_warning_message(message, 'Could not find County=')
Expand Down

0 comments on commit 3a01c72

Please sign in to comment.