Problem running URBANopt from dragonfly core lib in a script

Hello,

I try to run a URBANopt (version 0.10.0) simulation using the core library of Dragonfly from a script. The core libraries of LBT (lbt-ladybug, lbt-honeybee and lbt-dragonfly) were installed in a conda environment (python 3.11.5). I have installed very recently the last version of all the dependencies provided by the free Pollination single-click installer. So, I suppose this is the last version of it (1.7.0… not really sure how to check).

My whole script works well until I explicitly run URBANopt with the function “run.run_urbanopt()”. Before that, I generated successfully the necessary files (feature_geojson, scenario CSV file and hb workflow OSW file) with the dragonfly functions “writer.model_to_urbanopt()”, “run.prepare_urbanopt_folder()” and “run.base_boneybee_osw()”.

So, as soon as I use the run.run_urbanopt() function, the function generates empty results. For each of the building in the urban model, I receive the following errors:

First:

run_dir ‘c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/’ does not exist, simulation dir ‘c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/’ out of date
simulation_dir c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/ is out of date, regenerating input files

Second:

finished_job_path ‘c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/finished.job’ does not exist, simulation dir ‘c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/’ out of date

Third:

SYSTEM CALL:
C:/URBANopt-cli-0.10.0/OpenStudio/bin/openstudio.exe --verbose --bundle ‘c:/uoSim/UOfiles/Gemfile’ --bundle_path ‘c:/uoSim/UOfiles/.bundle/install/’ run -w ‘c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw’ 2>&1 > “c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw.log”

Fourth:

DONE, result = false
Error running command: ‘C:/URBANopt-cli-0.10.0/OpenStudio/bin/openstudio.exe --verbose --bundle ‘c:/uoSim/UOfiles/Gemfile’ --bundle_path ‘c:/uoSim/UOfiles/.bundle/install/’ run -w ‘c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw’ 2>&1 > “c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw.log”’
stdout:
stderr:

Finally, I get the information the simulation failed for all buildings with this message:

FAILED SIMULATION IDs: 05158446_4,05158446_9, etc. (all the other building IDs)

Besides, I checked the log file for one of the building (in.osw.log) and I have the following content stating for example that some of the gems were not activated due to an error. Here is the log completely:

I, [2023-11-07T20:50:42.023043 #3560] INFO – : CLI Parsed Inputs: [“–verbose”, “–bundle”, “c:/uoSim/UOfiles/Gemfile”, “–bundle_path”, “c:/uoSim/UOfiles/.bundle/install/”] “run” [“-w”, “c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw”]
D, [2023-11-07T20:50:42.023121 #3560] DEBUG – : Main arguments are [“–verbose”, “–bundle”, “c:/uoSim/UOfiles/Gemfile”, “–bundle_path”, “c:/uoSim/UOfiles/.bundle/install/”]
D, [2023-11-07T20:50:42.023133 #3560] DEBUG – : Sub-command is run
D, [2023-11-07T20:50:42.023142 #3560] DEBUG – : Sub-arguments are [“-w”, “c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw”]
D, [2023-11-07T20:50:42.023223 #3560] DEBUG – : Parsing main_args [“–verbose”, “–bundle”, “c:/uoSim/UOfiles/Gemfile”, “–bundle_path”, “c:/uoSim/UOfiles/.bundle/install/”]
I, [2023-11-07T20:50:42.023261 #3560] INFO – : Setting BUNDLE_GEMFILE to c:/uoSim/UOfiles/Gemfile
I, [2023-11-07T20:50:42.023341 #3560] INFO – : Setting BUNDLE_PATH to c:/uoSim/UOfiles/.bundle/install/
I, [2023-11-07T20:50:42.023365 #3560] INFO – : Bundle activated but ENV[‘BUNDLE_WITHOUT’] is not set
I, [2023-11-07T20:50:42.023371 #3560] INFO – : Setting BUNDLE_WITHOUT to ‘test’
D, [2023-11-07T20:50:42.738102 #3560] DEBUG – : Adding dependency on jaro_winkler ‘~> 1.5.4’
D, [2023-11-07T20:50:42.738177 #3560] DEBUG – : Adding dependency on pycall ‘~> 1.2.1’
D, [2023-11-07T20:50:42.738197 #3560] DEBUG – : Adding dependency on sqlite3 ‘~> 1.3.13.20180326210955’
D, [2023-11-07T20:50:42.738214 #3560] DEBUG – : Adding dependency on tbd ‘~> 3.2.2’
D, [2023-11-07T20:50:42.738229 #3560] DEBUG – : Adding dependency on addressable ‘~> 2.8.1’
D, [2023-11-07T20:50:42.738243 #3560] DEBUG – : Adding dependency on ansi ‘~> 1.5.0’
D, [2023-11-07T20:50:42.738256 #3560] DEBUG – : Adding dependency on ast ‘~> 2.4.2’
D, [2023-11-07T20:50:42.738270 #3560] DEBUG – : Adding dependency on bcl ‘~> 0.7.1’
D, [2023-11-07T20:50:42.738312 #3560] DEBUG – : Adding dependency on builder ‘~> 3.2.4’
D, [2023-11-07T20:50:42.738328 #3560] DEBUG – : Adding dependency on bundler ‘~> 2.1.4’
D, [2023-11-07T20:50:42.738341 #3560] DEBUG – : Adding dependency on docile ‘~> 1.4.0’
D, [2023-11-07T20:50:42.738354 #3560] DEBUG – : Adding dependency on faraday ‘~> 1.0.1’
D, [2023-11-07T20:50:42.738367 #3560] DEBUG – : Adding dependency on git ‘~> 1.12.0’
D, [2023-11-07T20:50:42.738381 #3560] DEBUG – : Adding dependency on json-schema ‘~> 2.7.0’
D, [2023-11-07T20:50:42.738394 #3560] DEBUG – : Adding dependency on macaddr ‘~> 1.7.2’
D, [2023-11-07T20:50:42.738407 #3560] DEBUG – : Adding dependency on matrix ‘~> 0.4.2’
D, [2023-11-07T20:50:42.738442 #3560] DEBUG – : Adding dependency on minitar ‘~> 0.9’
D, [2023-11-07T20:50:42.738457 #3560] DEBUG – : Adding dependency on minitest ‘~> 5.14.4’
D, [2023-11-07T20:50:42.738470 #3560] DEBUG – : Adding dependency on minitest-reporters ‘~> 1.4.3’
D, [2023-11-07T20:50:42.738492 #3560] DEBUG – : Adding dependency on msgpack ‘~> 1.4.2’
D, [2023-11-07T20:50:42.738506 #3560] DEBUG – : Adding dependency on multipart-post ‘~> 2.3.0’
D, [2023-11-07T20:50:42.738532 #3560] DEBUG – : Adding dependency on octokit ‘~> 4.18.0’
D, [2023-11-07T20:50:42.738549 #3560] DEBUG – : Adding dependency on oga ‘~> 3.2’
D, [2023-11-07T20:50:42.738572 #3560] DEBUG – : Adding dependency on openstudio-extension ‘~> 0.6.0’
D, [2023-11-07T20:50:42.738585 #3560] DEBUG – : Adding dependency on openstudio-standards ‘~> 0.4.0’
D, [2023-11-07T20:50:42.738609 #3560] DEBUG – : Adding dependency on openstudio-workflow ‘~> 2.3.1’
D, [2023-11-07T20:50:42.738623 #3560] DEBUG – : Adding dependency on openstudio_measure_tester ‘~> 0.3.2’
D, [2023-11-07T20:50:42.738637 #3560] DEBUG – : Adding dependency on oslg ‘~> 0.2.6’
D, [2023-11-07T20:50:42.738660 #3560] DEBUG – : Adding dependency on osut ‘~> 0.2.8’
D, [2023-11-07T20:50:42.738673 #3560] DEBUG – : Adding dependency on parallel ‘~> 1.19.1’
D, [2023-11-07T20:50:42.738698 #3560] DEBUG – : Adding dependency on parser ‘~> 3.2.2.1’
D, [2023-11-07T20:50:42.738714 #3560] DEBUG – : Adding dependency on public_suffix ‘~> 5.0.1’
D, [2023-11-07T20:50:42.738727 #3560] DEBUG – : Adding dependency on rainbow ‘~> 3.1.1’
D, [2023-11-07T20:50:42.738741 #3560] DEBUG – : Adding dependency on rake ‘~> 13.0.6’
D, [2023-11-07T20:50:42.738754 #3560] DEBUG – : Adding dependency on rchardet ‘~> 1.8.0’
D, [2023-11-07T20:50:42.738777 #3560] DEBUG – : Adding dependency on regexp_parser ‘~> 2.8.0’
D, [2023-11-07T20:50:42.738814 #3560] DEBUG – : Adding dependency on rexml ‘~> 3.2.5’
D, [2023-11-07T20:50:42.738829 #3560] DEBUG – : Adding dependency on rubocop ‘~> 1.15.0’
D, [2023-11-07T20:50:42.738843 #3560] DEBUG – : Adding dependency on rubocop-ast ‘~> 1.28.0’
D, [2023-11-07T20:50:42.738867 #3560] DEBUG – : Adding dependency on rubocop-checkstyle_formatter ‘~> 0.4.0’
D, [2023-11-07T20:50:42.738882 #3560] DEBUG – : Adding dependency on rubocop-performance ‘~> 1.11.5’
D, [2023-11-07T20:50:42.738907 #3560] DEBUG – : Adding dependency on ruby-ll ‘~> 2.1.2’
D, [2023-11-07T20:50:42.738922 #3560] DEBUG – : Adding dependency on ruby-ole ‘~> 1.2.12.2’
D, [2023-11-07T20:50:42.738947 #3560] DEBUG – : Adding dependency on ruby-progressbar ‘~> 1.13.0’
D, [2023-11-07T20:50:42.738961 #3560] DEBUG – : Adding dependency on rubyzip ‘~> 2.3.2’
D, [2023-11-07T20:50:42.738974 #3560] DEBUG – : Adding dependency on sawyer ‘~> 0.8.2’
D, [2023-11-07T20:50:42.738987 #3560] DEBUG – : Adding dependency on simplecov ‘~> 0.18.5’
D, [2023-11-07T20:50:42.739013 #3560] DEBUG – : Adding dependency on simplecov-html ‘~> 0.12.3’
D, [2023-11-07T20:50:42.739028 #3560] DEBUG – : Adding dependency on spreadsheet ‘~> 1.2.9’
D, [2023-11-07T20:50:42.739041 #3560] DEBUG – : Adding dependency on systemu ‘~> 2.6.5’
D, [2023-11-07T20:50:42.739053 #3560] DEBUG – : Adding dependency on topolys ‘~> 0.6.1’
D, [2023-11-07T20:50:42.739078 #3560] DEBUG – : Adding dependency on unicode-display_width ‘~> 2.4.2’
D, [2023-11-07T20:50:42.739093 #3560] DEBUG – : Adding dependency on uuid ‘~> 2.3.9’
D, [2023-11-07T20:50:42.739125 #3560] DEBUG – : Adding dependency on yamler ‘~> 0.1.0’
D, [2023-11-07T20:50:42.739141 #3560] DEBUG – : Adding dependency on zliby ‘~> 0.0.5’
D, [2023-11-07T20:50:42.826563 #3560] DEBUG – : Processing 55 activation requests
D, [2023-11-07T20:50:42.851951 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/bundler-2.1.4.gemspec
I, [2023-11-07T20:50:42.852087 #3560] INFO – : Temporarily replacing arch ‘x64-mswin64_140’ with ‘x64-mingw32’ for Bundle
I, [2023-11-07T20:50:45.068733 #3560] INFO – : without_groups = test
I, [2023-11-07T20:50:45.068767 #3560] INFO – : g = default
I, [2023-11-07T20:50:45.068784 #3560] INFO – : Bundling with groups [default]
I, [2023-11-07T20:50:45.816971 #3560] INFO – : Specs to be included [rake,public_suffix,addressable,ansi,ast,builder,multipart-post,faraday,minitar,rchardet,git,minitest,ruby-progressbar,minitest-reporters,parallel,parser,rainbow,regexp_parser,rexml,rubocop-ast,unicode-display_width,rubocop,rubocop-checkstyle_formatter,rubocop-performance,docile,simplecov-html,simplecov,openstudio_measure_tester,rubyzip,ruby-ole,spreadsheet,systemu,macaddr,uuid,yamler,zliby,bcl,bundler,json_pure,sawyer,octokit,openstudio-workflow,openstudio-extension,json-schema,oslg,osut,matrix,topolys,tbd,openstudio-standards,honeybee-openstudio,openstudio-calibration,openstudio-common-measures,openstudio-ee,openstudio-geb,openstudio-load-flexibility-measures,openstudio-model-articulation,urbanopt-core,urbanopt-geojson,urbanopt-reporting]
I, [2023-11-07T20:50:48.298954 #3560] INFO – : Restoring arch ‘x64-mswin64_140’
D, [2023-11-07T20:50:48.299170 #3560] DEBUG – : Activating gem :/ruby/2.7.0/bundler/specifications/jaro_winkler-1.5.4.gemspec
D, [2023-11-07T20:50:48.299574 #3560] DEBUG – : Activating gem :/ruby/2.7.0/bundler/specifications/pycall-1.2.1.gemspec
D, [2023-11-07T20:50:48.299979 #3560] DEBUG – : Activating gem :/ruby/2.7.0/bundler/specifications/sqlite3-1.3.13.20180326210955.gemspec
D, [2023-11-07T20:50:48.300322 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/public_suffix-5.0.1.gemspec
E, [2023-11-07T20:50:48.300419 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/public_suffix-5.0.1.gemspec
D, [2023-11-07T20:50:48.300727 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/addressable-2.8.1.gemspec
D, [2023-11-07T20:50:48.300775 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/json-schema-2.7.0.gemspec
D, [2023-11-07T20:50:48.300816 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/oslg-0.2.6.gemspec
E, [2023-11-07T20:50:48.300859 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/oslg-0.2.6.gemspec
D, [2023-11-07T20:50:48.300914 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/osut-0.2.8.gemspec
E, [2023-11-07T20:50:48.300964 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/osut-0.2.8.gemspec
D, [2023-11-07T20:50:48.301005 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/matrix-0.4.2.gemspec
D, [2023-11-07T20:50:48.301043 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/topolys-0.6.1.gemspec
E, [2023-11-07T20:50:48.301076 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/topolys-0.6.1.gemspec
D, [2023-11-07T20:50:48.301119 #3560] DEBUG – : Activating gem :/ruby/2.7.0/bundler/specifications/tbd-3.2.2.gemspec
E, [2023-11-07T20:50:48.301158 #3560] ERROR – : Error activating gem :/ruby/2.7.0/bundler/specifications/tbd-3.2.2.gemspec
D, [2023-11-07T20:50:48.301197 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/ansi-1.5.0.gemspec
D, [2023-11-07T20:50:48.301259 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/ast-2.4.2.gemspec
D, [2023-11-07T20:50:48.301298 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/zliby-0.0.5.gemspec
D, [2023-11-07T20:50:48.301335 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/yamler-0.1.0.gemspec
D, [2023-11-07T20:50:48.301373 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/systemu-2.6.5.gemspec
D, [2023-11-07T20:50:48.301446 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/macaddr-1.7.2.gemspec
D, [2023-11-07T20:50:48.301485 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/uuid-2.3.9.gemspec
D, [2023-11-07T20:50:48.301526 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/ruby-ole-1.2.12.2.gemspec
D, [2023-11-07T20:50:48.301574 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/spreadsheet-1.2.9.gemspec
D, [2023-11-07T20:50:48.301633 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rubyzip-2.3.2.gemspec
D, [2023-11-07T20:50:48.301672 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rexml-3.2.5.gemspec
D, [2023-11-07T20:50:48.301712 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/simplecov-html-0.12.3.gemspec
D, [2023-11-07T20:50:48.301752 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/docile-1.4.0.gemspec
D, [2023-11-07T20:50:48.301791 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/simplecov-0.18.5.gemspec
D, [2023-11-07T20:50:48.301851 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/unicode-display_width-2.4.2.gemspec
D, [2023-11-07T20:50:48.301902 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/ruby-progressbar-1.13.0.gemspec
D, [2023-11-07T20:50:48.301943 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/parser-3.2.2.1.gemspec
E, [2023-11-07T20:50:48.301978 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/parser-3.2.2.1.gemspec
D, [2023-11-07T20:50:48.302019 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rubocop-ast-1.28.0.gemspec
E, [2023-11-07T20:50:48.302069 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/rubocop-ast-1.28.0.gemspec
D, [2023-11-07T20:50:48.302111 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/regexp_parser-2.8.0.gemspec
E, [2023-11-07T20:50:48.302142 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/regexp_parser-2.8.0.gemspec
D, [2023-11-07T20:50:48.302183 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rainbow-3.1.1.gemspec
D, [2023-11-07T20:50:48.302232 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/parallel-1.19.1.gemspec
E, [2023-11-07T20:50:48.302265 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/parallel-1.19.1.gemspec
D, [2023-11-07T20:50:48.302308 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rubocop-1.15.0.gemspec
D, [2023-11-07T20:50:48.302362 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rubocop-checkstyle_formatter-0.4.0.gemspec
D, [2023-11-07T20:50:48.302404 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rubocop-performance-1.11.5.gemspec
D, [2023-11-07T20:50:48.302451 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rake-13.0.6.gemspec
D, [2023-11-07T20:50:48.302495 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/builder-3.2.4.gemspec
D, [2023-11-07T20:50:48.302549 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/minitest-5.14.4.gemspec
D, [2023-11-07T20:50:48.302602 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/minitest-reporters-1.4.3.gemspec
D, [2023-11-07T20:50:48.302642 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/rchardet-1.8.0.gemspec
D, [2023-11-07T20:50:48.302695 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/git-1.12.0.gemspec
D, [2023-11-07T20:50:48.302740 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/openstudio_measure_tester-0.3.2.gemspec
D, [2023-11-07T20:50:48.302780 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/minitar-0.9.gemspec
D, [2023-11-07T20:50:48.302820 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/multipart-post-2.3.0.gemspec
D, [2023-11-07T20:50:48.302880 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/faraday-1.0.1.gemspec
D, [2023-11-07T20:50:48.302919 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/bcl-0.7.1.gemspec
D, [2023-11-07T20:50:48.302933 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/bundler-2.1.4.gemspec
D, [2023-11-07T20:50:48.302972 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/msgpack-1.4.2.gemspec
D, [2023-11-07T20:50:48.303284 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/sawyer-0.8.2.gemspec
D, [2023-11-07T20:50:48.303329 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/octokit-4.18.0.gemspec
D, [2023-11-07T20:50:48.303376 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/ruby-ll-2.1.2.gemspec
D, [2023-11-07T20:50:48.305567 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/oga-3.2.gemspec
D, [2023-11-07T20:50:48.306021 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/openstudio-workflow-2.3.1.gemspec
D, [2023-11-07T20:50:48.306075 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/openstudio-extension-0.6.0.gemspec
E, [2023-11-07T20:50:48.306133 #3560] ERROR – : Error activating gem :/ruby/2.7.0/specifications/openstudio-extension-0.6.0.gemspec
D, [2023-11-07T20:50:48.306186 #3560] DEBUG – : Activating gem :/ruby/2.7.0/specifications/openstudio-standards-0.4.0.gemspec
D, [2023-11-07T20:50:48.306764 #3560] DEBUG – : Invoking command class: Run [“-w”, “c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw”]
I, [2023-11-07T20:50:48.306799 #3560] INFO – : Run, sub_argv = [“-w”, “c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw”]
D, [2023-11-07T20:50:48.309194 #3560] DEBUG – : Run command: {:debug=>false, :no_simulation=>false, :osw_path=>“c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw”, :post_process=>false, :ep_json=>false, :ft_options=>{}, :show_stdout=>false, :add_timings=>false, :style_stdout=>false}
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <1> xsdValidate.parseFileError: XML error 17.1871: Element ‘descrption’: This element is not expected. Expected is one of ( short_name, description, type ).
at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml:42
[utilities.bcl.BCLXML] <0> Failed to validate measure.xml at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml
[ApplicationPathHelpers] <-2> getOpenStudioModule, szPath = ‘C:\URBANopt-cli-0.10.0\OpenStudio\bin\openstudiolib.dll’
[PathHelpers] <-2> completeAndNormalize: result = C:/URBANopt-cli-0.10.0/OpenStudio/bin/openstudiolib.dll
[ApplicationPathHelpers] <-2> getOpenStudioModule, found ‘C:/URBANopt-cli-0.10.0/OpenStudio/bin/openstudiolib.dll’
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <1> xsdValidate.parseFileError: XML error 17.1871: Element ‘descrption’: This element is not expected. Expected is one of ( short_name, description, type ).
at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml:42
[utilities.bcl.BCLXML] <0> Failed to validate measure.xml at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml
[OpenStudio.Measure] <0> OSRunner is deprecated, use OpenStudio::Measure::OSRunner instead.
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <1> xsdValidate.parseFileError: XML error 17.1871: Element ‘descrption’: This element is not expected. Expected is one of ( short_name, description, type ).
at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml:42
[utilities.bcl.BCLXML] <0> Failed to validate measure.xml at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <1> xsdValidate.parseFileError: XML error 17.1871: Element ‘descrption’: This element is not expected. Expected is one of ( short_name, description, type ).
at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml:42
[utilities.bcl.BCLXML] <0> Failed to validate measure.xml at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml
[20:50:49.233879 DEBUG] Path for the OSW: c:/uoSim/UOfiles/run/honeybee_scenario/05158446_4/in.osw
[20:50:49.233973 DEBUG] Initializing run method
[20:50:49.324903 DEBUG] Beginning run
[20:50:49.600864 ERROR] Found error in state ‘initialization’ with message [“Weather file ‘UOfiles/meteo/CAN_QC_Montreal-Trudeau.Intl.AP.716270_CWEC.epw’ specified but cannot be found:c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_initialization.rb:192:in `perform’\nc:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step’\nc:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run’\n:/openstudio_cli.rb:1187:in `execute’\n:/openstudio_cli.rb:817:in `execute’\n:/openstudio_cli.rb:1984:in `‘\neval:188:in `eval’\neval:188:in `require_embedded_absolute’\neval:173:in `block in require_embedded’\neval:167:in `each’\neval:167:in `require_embedded’\neval:126:in `require’\neval:3:in `'”]}
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <-1> Treating schema as a regular XSD
[openstudio.XMLValidator] <1> xsdValidate.parseFileError: XML error 17.1871: Element ‘descrption’: This element is not expected. Expected is one of ( short_name, description, type ).
at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml:42
[utilities.bcl.BCLXML] <0> Failed to validate measure.xml at c:/uoSim/UOfiles/.bundle/install/ruby/2.7.0/gems/urbanopt-reporting-0.8.0/lib/measures/default_feature_reports/measure.xml

Any idea of what could be the problem?

Thanks a lot in advance,

Benoit

Hi @bdelcroix ,

Because you’re running this in a separate conda environment, it’s really tough to know what’s going on but it looks like this environment doesn’t have access to the weather file.

This seems to be the real error message out of that whole traceback:

Weather file ‘UOfiles/meteo/CAN_QC_Montreal-Trudeau.Intl.AP.716270_CWEC.epw’ specified but cannot be found

Have you tried specifying a full absolute path to the EPW file? Also is there a reason why you need to run this in the conda environment as opposed to just running it on a system python installation?

Lastly, bear in mind that the latest LBT libraries have only been tested in Python 3.10. I don’t see any major reason why it wouldn’t work in 3.11 but just know that it has not been tested there yet.