Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

OpenStudio reporting measures crashing

I have tried to run OS simulations with the following reporting measures, each of them crashing:

(1) Unmethours Troubleshooting Report with error messages as follows:

Applying UnmetLoadHoursTroubleshooting Result: Fail Error: invalid null reference Expected argument 1 of type std::string const &, but got NilClass nil in SWIG method "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:680:in "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:680:in "getTimeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:577:in "initZoneMetrics" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:496:in "block in run" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:494:in "each" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:494:in "run" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:441:in "apply_measure" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:67:in "block in apply_measures" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in "each_index" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in "apply_measures" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/jobs/run_reporting_measures.rb:81:in "perform" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:256:in "step" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:210:in "run" :/openstudio_cli.rb:802:in "execute" :/openstudio_cli.rb:620:in "execute" :/openstudio_cli.rb:1515:in "<main>" eval:85:in "eval" eval:85:in "require_embedded_absolute" eval:70:in "block in require" eval:64:in "each" eval:64:in "require" eval:2:in "<main>" Failed.

Similarly (2) Ventilation Report with error messages as follows:

Applying VentilationQAQC Result: Fail Error: invalid null reference Expected argument 1 of type std::string const &, but got NilClass nil in SWIG method "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/VentilationQAQC 1/measure.rb:342:in "timeSeries" ......

What can be done ?

OpenStudio reporting measures crashing

I have tried to run OS simulations with the following reporting measures, each of them crashing:

(1) Unmethours Troubleshooting Report with error messages as follows:

Applying UnmetLoadHoursTroubleshooting Result: Fail Error: invalid null reference Expected argument 1 of type std::string const &, but got NilClass nil in SWIG method "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:680:in "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:680:in "getTimeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:577:in "initZoneMetrics" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:496:in "block in run" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:494:in "each" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:494:in "run" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:441:in "apply_measure" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:67:in "block in apply_measures" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in "each_index" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in "apply_measures" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/jobs/run_reporting_measures.rb:81:in "perform" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:256:in "step" :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:210:in "run" :/openstudio_cli.rb:802:in "execute" :/openstudio_cli.rb:620:in "execute" :/openstudio_cli.rb:1515:in "<main>" eval:85:in "eval" eval:85:in "require_embedded_absolute" eval:70:in "block in require" eval:64:in "each" eval:64:in "require" eval:2:in "<main>" Failed.

Similarly (2) Ventilation Report with error messages as follows:

Applying VentilationQAQC Result: Fail Error: invalid null reference Expected argument 1 of type std::string const &, but got NilClass nil in SWIG method "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/VentilationQAQC 1/measure.rb:342:in "timeSeries" ......

What can be done ?

OpenStudio reporting measures crashing

I have tried to run OS simulations with the following reporting measures, each of them crashing:

UPDATE: The report measures also fail, if simulation is run for a weather file period, e.g. full year.

(1) Unmethours Troubleshooting Report with error messages as follows:

Applying UnmetLoadHoursTroubleshooting
  Result: Fail   Error: invalid null
  reference Expected argument 1 of type
  std::string const &, but got NilClass
  nil    in SWIG method "timeSeries"
    C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:680:in
  "timeSeries"
    C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:680:in
  "getTimeSeries"
    C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:577:in
  "initZoneMetrics"
    C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:496:in
  "block in run"
    C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:494:in
  "each"
    C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:494:in
  "run"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:441:in
  "apply_measure"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:67:in
  "block in apply_measures"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in
  "each_index"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in
  "apply_measures"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/jobs/run_reporting_measures.rb:81:in
  "perform"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:256:in
  "step"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:210:in
  "run"   :/openstudio_cli.rb:802:in
  "execute"   :/openstudio_cli.rb:620:in
  "execute"   :/openstudio_cli.rb:1515:in
  "<main>" "<main"    eval:85:in "eval"
    eval:85:in
  "require_embedded_absolute"
    eval:70:in "block in require"
    eval:64:in "each"   eval:64:in
  "require"   eval:2:in "<main>" Failed.

"<main" Failed.

Similarly (2) Ventilation Report with error messages as follows:

Applying VentilationQAQC
  Result: Fail
  Error: invalid null reference Expected argument 1 of type std::string const &, but got NilClass nil
    in SWIG method "timeSeries"
    C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/VentilationQAQC 1/measure.rb:342:in "timeSeries" ............

(3) Failure Messages after simulating a weather file period:

Applying VentilationQAQC
  Result: Fail
  Error: undefined method "map" for nil:NilClass
    C:/Users/OS-user/AppData/Local/Temp/OpenStudioApp.ud4468/resources/measures/VentilationQAQC 1 1/measure.rb:139:in "block in run"
    C:/Users/OS-user/AppData/Local/Temp/OpenStudioApp.ud4468/resources/measures/VentilationQAQC 1 1/measure.rb:112:in "each"
    C:/Users/OS-user/AppData/Local/Temp/OpenStudioApp.ud4468/resources/measures/VentilationQAQC 1 1/measure.rb:112:in "run"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:441:in "apply_measure"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:67:in "block in apply_measures"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in "each_index"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in "apply_measures"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/jobs/run_reporting_measures.rb:81:in "perform"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:256:in "step"
    :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:210:in "run"
    :/openstudio_cli.rb:802:in "execute"
    :/openstudio_cli.rb:620:in "execute"
    :/openstudio_cli.rb:1515:in "<main>"
    eval:85:in "eval"
    eval:85:in "require_embedded_absolute"
    eval:70:in "block in require"
    eval:64:in "each"
    eval:64:in "require"
    eval:2:in "<main>"
  Warn: No data found for "Zone Mechanical Ventilation Current Density Volume Flow Rate" "UF_PLENUMZONE"
  Warn: No data found for "Zone Infiltration Air Change Rate" "UF_PLENUMZONE"
  Warn: No data found for "Zone People Occupant Count" "UF_PLENUMZONE"

What can be done ?