-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR for testing OS 3.8.0rc-2 #169
Conversation
Will at least add back ext gem setup to work for rc or final version.
Replace OsLib_HelperMethod calls with new runner methods
@mdahlhausen can you take a look at envelope section standards updates. Everything runs and populates tables, but wanted to make sure I used new methods properly.
XcelQAQC test model is failing in E+ need to investigate that. It is only test on that measure
This still uses the resources files with the measure. Hit some issue trying to remove those and only use standards. Should fully update and delete resource files. This will make it easier to maintain and keep it current.
Hoping it will fix the dashboard
Fix issue but hit another one now
have branch in standards that also adds this.
This will allow it to run with 3.8. The older version of the measure with resources files still passes test but the new code standards files on assert for expected values. If can't address than can revert the measure for now.
spec.add_dependency 'bundler', '>= 2.1' | ||
spec.add_dependency 'openstudio-extension', '~> 0.7.0' | ||
spec.add_dependency 'openstudio-standards', '~> 0.5.0' | ||
spec.add_dependency 'bundler', '~> 2.4.10' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make bundler less restrictive 'bundler', '~> 2.4'
? The same goes for any other dependency, it would be best to be as open as possible.
The same issue exists in https://github.com/NREL/openstudio-extension-gem/blob/v0.8.0/openstudio-extension.gemspec#L32C1-L33C42, that specifies a different version of bundler. If they could both be 'bundler', '~> 2.4'
that would be great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kflemin do you think making this less restrictive will create any issues?
CI failing but local run is fine, this change to test model may be necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I can't approve, only comment on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I can only comment on this not approve
Current Failing Tests
XcelEDAReportingandQAQC: 1 test error 1 skipped (NoMethodError: undefined method `SqlFilemake_qaqc_results_vector' for OpenstudioStandards:Module) (check with Matt if this changed)
** Severe ** For autosizing of AirTerminal:SingleDuct:ParallelPIU:Reheat AIR TERMINAL SINGLE DUCT PARALLEL PIU REHEAT 2, a zone sizing run must be done.
(fixed by updating file to do sizing)execAndReturnFirstDouble' for nil:NilClass
floor_area_query = "SELECT Value FROM tabulardatawithstrings WHERE ReportName='AnnualBuildingUtilityPerformanceSummary' AND ReportForString='Entire Facility' AND TableName='Building Area' AND RowName='Net Conditioned Building Area' AND ColumnName='Area' AND Units='m2'"`1) Failure:
XcelEDAReportingandQAQC_Test#test_example_model [openstudio-common-measures-gem/lib/measures/XcelEDAReportingandQAQC/tests/XcelEDAReportingandQAQC_Test.rb:221]:
Expected an annual peak within 0.5kW of 59.8 but got -999.9.
Expected |59.8 - -999.9| (1059.7) to be <= 0.5.
Pre release