Skip to content

Commit

Permalink
Try to exceed limit with 15min timeseries.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Nov 6, 2024
1 parent 4d28f77 commit e17daf6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 67 deletions.
70 changes: 5 additions & 65 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Format Files
shell: bash
run: |
Expand All @@ -40,11 +35,6 @@ jobs:
path: resources/options_lookup.tsv
name: options_lookup

- name: Summary 2
run: |
ls
df -H
unit-tests:
runs-on: ubuntu-22.04
needs: [format-files]
Expand All @@ -55,11 +45,6 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Install gems
run: |
rm -f Gemfile.lock && bundle install
Expand Down Expand Up @@ -94,11 +79,6 @@ jobs:
path: coverage
name: coverage

- name: Summary 2
run: |
ls
df -H
analysis-tests:
runs-on: ubuntu-22.04
needs: [unit-tests]
Expand All @@ -109,11 +89,6 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Install gems
run: |
rm -f Gemfile.lock && bundle install
Expand Down Expand Up @@ -160,11 +135,6 @@ jobs:
project_testing/results-PackageUpgrade.csv
name: run_analysis_results_csvs

- name: Summary 2
run: |
ls
df -H
integration-tests:
runs-on: ubuntu-22.04
needs: [unit-tests]
Expand All @@ -177,11 +147,6 @@ jobs:
with:
python-version: '3.11'

- name: Summary 1
run: |
ls
df -H
- name: Download and Install OpenStudio
run: |
export OS_DEBFILE="OpenStudio-$OPENSTUDIO_VER+$OPENSTUDIO_SHA-$OPENSTUDIO_PLATFORM.$OPENSTUDIO_EXT"
Expand All @@ -205,6 +170,11 @@ jobs:
buildstock_local project_national/national_upgrades.yml
buildstock_local project_testing/testing_upgrades.yml
du -sh national_baseline
du -sh testing_baseline
du -sh national_upgrades
du -sh testing_upgrades
- name: Unzip results
run: |
Expand Down Expand Up @@ -258,11 +228,6 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Download buildstockbatch results
uses: actions/download-artifact@v4
with:
Expand All @@ -282,11 +247,6 @@ jobs:
sudo gem install simplecov-html
ruby test/test_analysis_tools.rb
- name: Summary 2
run: |
ls
df -H
compare-results:
if: github.event_name == 'pull_request'
runs-on: ubuntu-22.04
Expand All @@ -296,11 +256,6 @@ jobs:
with:
ref: ${{ github.event.pull_request.base.sha }}

- name: Summary 1
run: |
ls
df -H
- name: Upload base results
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -362,11 +317,6 @@ jobs:
path: test/base_results/comparisons
name: comparisons

- name: Summary 2
run: |
ls
df -H
update-results:
runs-on: ubuntu-22.04
needs: [analysis-tests, integration-tests]
Expand All @@ -375,11 +325,6 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Install software
run: |
export DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -447,8 +392,3 @@ jobs:
echo "Pushing to branch: $branch_name"
git push -u origin $branch_name
fi
- name: Summary 2
run: |
ls
df -H
4 changes: 2 additions & 2 deletions project_testing/testing_baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ workflow_generator:
version: 2024.07.20
args:
build_existing_model:
simulation_control_timestep: 60
simulation_control_timestep: 15
simulation_control_run_period_begin_month: 1
simulation_control_run_period_begin_day_of_month: 1
simulation_control_run_period_end_month: 12
Expand Down Expand Up @@ -64,7 +64,7 @@ workflow_generator:
detailed_filepath: data/utility_bills/test_detailed_rates/County.tsv

simulation_output_report:
timeseries_frequency: hourly
timeseries_frequency: timestep
include_timeseries_total_consumptions: true
include_timeseries_fuel_consumptions: true
include_timeseries_end_use_consumptions: true
Expand Down
4 changes: 4 additions & 0 deletions test/test_run_analysis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ def test_testing_baseline
@command += ' -k'

system(@command)
system('du -sh testing_baseline')

cli_output_log = File.join(@testing_baseline, 'cli_output.log')
assert(File.exist?(cli_output_log))
Expand Down Expand Up @@ -312,6 +313,7 @@ def test_national_baseline
@command += ' -k'

system(@command)
system('du -sh national_baseline')

cli_output_log = File.join(@national_baseline, 'cli_output.log')
assert(File.exist?(cli_output_log))
Expand Down Expand Up @@ -347,6 +349,7 @@ def test_testing_upgrades
@command += ' -k'

system(@command)
system('du -sh testing_upgrades')

cli_output_log = File.join(@testing_upgrades, 'cli_output.log')
assert(File.exist?(cli_output_log))
Expand Down Expand Up @@ -402,6 +405,7 @@ def test_national_upgrades
@command += ' -k'

system(@command)
system('du -sh national_upgrades')

cli_output_log = File.join(@national_upgrades, 'cli_output.log')
assert(File.exist?(cli_output_log))
Expand Down

0 comments on commit e17daf6

Please sign in to comment.