NatLabRockies / NatLabRockies/OpenStudio-resources

Fix afn_single_zone_xx tests

Open
#43 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
29
Forks
17
Avg merge
4d 6h
Merged PRs (30d)
3

Description

Checklist:

  • Fix failing afn_single_zone_ac.rb

  • afn_single_zone_nv.osm is failing in 2.5.0


afn_single_zone_ac.rb is failing.

Test was added in https://github.com/NREL/OpenStudio-resources/pull/39

With current OpenStudio develop, run.log shows:

[16:01:23.770659 ERROR] Found error in state 'translator' with message ["std::bad_cast::/ruby/2.2.0/gems/openstudio-workflow-1.3.2/lib/openstudio/workflow/util/model.rb:66:in `translateModel'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.2/lib/openstudio/workflow/util/model.rb:66:in `translate_to_energyplus'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.2/lib/openstudio/workflow/jobs/run_translation.rb:54:in `perform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.2/lib/openstudio/workflow/run.rb:261:in `step'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.2/lib/openstudio/workflow/run.rb:210:in `run'\n:/openstudio_cli.rb:821:in `execute'\n:/openstudio_cli.rb:620:in `execute'\n:/openstudio_cli.rb:1547:in `<main>'\neval:85:in `eval'\neval:85:in `require_embedded_absolute'\neval:70:in `block in require'\neval:64:in `each'\neval:64:in `require'\neval:2:in `<main>'"]}

afn_single_zone_nv.osm is failing too.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with afn_single_zone_ac.rb and afn_single_zone_nv.osm, then inspect the referenced run.log translator error with current OpenStudio develop. Compare the two failing cases and their existing test setup; done means both afn_single_zone tests run successfully without the reported translator failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.