From e17daf61fd9d202eac89084f42ac6dc747cc8511 Mon Sep 17 00:00:00 2001 From: Joe Robertson Date: Wed, 6 Nov 2024 13:14:29 -0700 Subject: [PATCH] Try to exceed limit with 15min timeseries. --- .github/workflows/config.yml | 70 ++-------------------------- project_testing/testing_baseline.yml | 4 +- test/test_run_analysis.rb | 4 ++ 3 files changed, 11 insertions(+), 67 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 111468dcfe..ee49c257b4 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -22,11 +22,6 @@ jobs: with: ref: ${{ github.head_ref }} - - name: Summary 1 - run: | - ls - df -H - - name: Format Files shell: bash run: | @@ -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] @@ -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 @@ -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] @@ -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 @@ -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] @@ -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" @@ -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: | @@ -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: @@ -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 @@ -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: @@ -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] @@ -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 @@ -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 diff --git a/project_testing/testing_baseline.yml b/project_testing/testing_baseline.yml index 5a00b7cec4..38dc705cff 100644 --- a/project_testing/testing_baseline.yml +++ b/project_testing/testing_baseline.yml @@ -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 @@ -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 diff --git a/test/test_run_analysis.rb b/test/test_run_analysis.rb index d2f7b6e228..7cac27f396 100644 --- a/test/test_run_analysis.rb +++ b/test/test_run_analysis.rb @@ -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)) @@ -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)) @@ -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)) @@ -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))