Closed DavidGoldwasser closed 4 years ago
RadiantSlabWithDoas
ArgumentError: comparison of FalseClass with 20 failed :/ruby/2.5.0/bundler/gems/openstudio-standards-b0cabd8c2fa8/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb:417:in
assert(errs.empty?, errs.join("\n"))
) of the test with errs
showing up as nil?NoMethodError: undefined method `empty?' for nil:NilClass
ViewData_Test#test_ViewData_LastIDF_Timestep: RuntimeError: Unknown OpenStudio Enum Value '' C:/Users/dgoldwas/Documents/GitHub/NREL/openstudio-common-measures-gem/lib/measures/view_data/measure.rb:212:in
translateWorkspace'
C:/Users/dgoldwas/Documents/GitHub/NREL/openstudio-common-measures-gem/lib/measures/view_data/measure.rb:212:in run' C:/Users/dgoldwas/Documents/GitHub/NREL/openstudio-common-measures-gem/lib/measures/view_data/tests/ViewData_Test.rb:311:in
test_ViewData_LastIDF_Timestep'`
@jmarrec and @kbenne could be good to test this with next alpha build. If I can isolate this to simple test and confirm the issue I can file an OpenStudio issue.
I would pinpoint exactly what's causing this. It seems that it's trying to reverse translate an object, and tries to construct an enum from a text value, except that text is ''
(empty). Any OpenStudio enum constructed with an empty string would fail with this message.
eg:
OpenStudio::EndUseFuelType.new('')
RuntimeError: Unknown OpenStudio Enum Value ''
If you can supply me the IDF it's trying to load on that line 212 I can help pinpoint the problem.
@jmarrec I'll send IDF and OSM in Slack. I also filed OpenStudio Issue https://github.com/NREL/OpenStudio/issues/4096
view_data fixed by fix for this OS issue https://github.com/NREL/OpenStudio/issues/4096. I made commit to measure anyway to update test OSM from 1.1.3 to 3.0.1
OpenStudio Results already has a few issues, this issue is a catchall for other measures that need updates for 3.1.0. Below is 9.18 run results for
openstudio measure -r
on local run on mac.Failures are on
Errors are on
Details on failures and errors are described below, except for OpenStudioResults which is covered by other existing issues. Fixes will be made to 3_1_0_upgrade. May have to wait until CI is updated to merge to develop, but that might not be necessary.