1

Error in running OpenStudio

I'm working on an openstudio model which is based on a DOE prototype building created by openstudio measures. I made some changes and the simulation went well without any error. After a while, I tried to run the simulation again without any change in the model and the simulation failed in initialization workflow. Here is what I found in run.log file:

[15:40:45.472844 ERROR] Found error in state 'initialization' with message ["Cannot find measure OpenStudioResults::/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:150:in `block in validate_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:136:in `each'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:136:in `each_with_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:136:in `validate_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_initialization.rb:119:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:in `run'
:/openstudio_cli.rb:975:in `execute'
:/openstudio_cli.rb:763:in `execute'
:/openstudio_cli.rb:1746:in `<main>'
eval:116:in `eval'
eval:116:in `require_embedded_absolute'
eval:101:in `block in require'
eval:95:in `each'
eval:95:in `require'
eval:3:in `<main>'"]}

I'm using version 2.9 of OpenStudio.

Mehrdad Vojdani's avatar
1.1k
Mehrdad Vojdani
asked 2020-10-27 07:19:18 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2020-10-27 08:52:40 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Reading the log you included the workflow can’t find OpenStudio Results. Assuming you are using the OpenStudio Application it makes a directory next to yourmodel.osm named yourmodel. Inside that among other tings are a copy of the measured used. Have you deleted some of those files or moved your OSM file elsewhere eon your computer. You could try deleting, and the re-adding the measure to pull it back in.

I also see it you are using a 2.x version of OpenStudio instead of 3.x. It is possible that somehow a newer version of the measure got into the project, although there are checks against that. It is possible that could look similar to this that instead of reporting that the measure can’t be opened, it could look like it can’t be found.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2020-10-27 13:09:06 -0500
edit flag offensive 0 remove flag delete link

Comments

Actually, I tried using the latest OpenStudio Application release (1.0.0) but the application crashed as describe here. So I ended uninstalling the latest version and re-installing v2.9. Would that cause problem?

Mehrdad Vojdani's avatar Mehrdad Vojdani (2020-10-27 23:32:15 -0500) edit
add a comment see more comments