From 8fe7e5634978b0df1c9d5f315a8126a687623c87 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 20:23:26 +0100 Subject: [PATCH 01/20] Add annotation For #669 --- teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone index 8ab137a4d..71b51ba3b 100644 --- a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone +++ b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone @@ -142,6 +142,9 @@ equation Interval=${modelica_info.interval_output}, __Dymola_Algorithm="${modelica_info.current_solver}"), __Dymola_experimentSetupOutput(equidistant=${get_true_false(modelica_info.equidistant_output)}, + __Dymola_Commands(file= + "Resources/Scripts/Dymola/${bldg.name}.mos" + "Simulate and Plot") events=${get_true_false(modelica_info.results_at_events)}), Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={ From bfae094637efe8cc5cfde66f3f0e9974ba3c1d5e Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 20:55:00 +0100 Subject: [PATCH 02/20] Write test scripts For #669 --- teaser/data/output/aixlib_output.py | 44 +++++++++++++++++++ .../modelicatemplate/modelica_test_script | 5 +++ 2 files changed, 49 insertions(+) create mode 100644 teaser/data/output/modelicatemplate/modelica_test_script diff --git a/teaser/data/output/aixlib_output.py b/teaser/data/output/aixlib_output.py index b511d530b..c5454d992 100644 --- a/teaser/data/output/aixlib_output.py +++ b/teaser/data/output/aixlib_output.py @@ -82,6 +82,10 @@ def export_multizone(buildings, prj, path=None): filename=utilities.get_full_path( "data/output/modelicatemplate/AixLib/AixLib_Multizone"), lookup=lookup) + test_script_template = Template( + filename=utilities.get_full_path( + "data/output/modelicatemplate/modelica_test_script"), + lookup=lookup) uses = [ 'Modelica(version="' + prj.modelica_info.version + '")', @@ -146,6 +150,8 @@ def export_multizone(buildings, prj, path=None): modelica_info=bldg.parent.modelica_info)) out_file.close() + _help_test_script(bldg, path, test_script_template) + zone_path = os.path.join(bldg_path, bldg.name + "_DataBase") for zone in bldg.thermal_zones: @@ -177,6 +183,44 @@ def export_multizone(buildings, prj, path=None): print(path) +def _help_test_script(bldg, path, test_script_template): + """Create a test script for regression testing with BuildingsPy + + Parameters + ---------- + bldg : teaser.logic.buildingobjects.building.Building + Building for which test script is created + path : str + Output directory + test_script_template : mako.template.Template + Template for the test script + """ + + dir_resources = os.path.join(path, "Resources") + if not os.path.exists(dir_resources): + os.mkdir(dir_resources) + dir_scripts = os.path.join(dir_resources, "Scripts") + if not os.path.exists(dir_scripts): + os.mkdir(dir_scripts) + dir_dymola = os.path.join(dir_scripts, "Dymola") + if not os.path.exists(dir_dymola): + os.mkdir(dir_dymola) + out_file = open(utilities.get_full_path + (os.path.join(dir_dymola, bldg.name + ".mos")), 'w') + names_variables = [] + for i, zone in enumerate(bldg.thermal_zones): + names_variables.append(f"multizone.PHeater[{i}]") + names_variables.append(f"multizone.PCooler[{i}]") + names_variables.append(f"multizone.TAir[{i}]") + out_file.write(test_script_template.render_unicode( + project=bldg.parent, + bldg=bldg, + stop_time=3600 * 24 * 365, + names_variables=names_variables, + )) + out_file.close() + + def _help_package(path, name, uses=None, within=None): """creates a package.mo file diff --git a/teaser/data/output/modelicatemplate/modelica_test_script b/teaser/data/output/modelicatemplate/modelica_test_script new file mode 100644 index 000000000..576fc79be --- /dev/null +++ b/teaser/data/output/modelicatemplate/modelica_test_script @@ -0,0 +1,5 @@ +simulateModel("${project.name}.${bldg.name}", method="Dassl", tolerance=0.0001, stopTime=${stop_time}}, resultFile="${bldg.name}"); +% for name_variable in names_variables: +createPlot(id=${loop.index}, y={${name_variable}}); +% endfor + From bca0fb2a262423213e5168358cb69f53e0586318 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:12:23 +0100 Subject: [PATCH 03/20] Add script to run unit tests For #669 --- teaser/data/output/aixlib_output.py | 47 ++- teaser/data/output/runUnitTests.py | 483 ++++++++++++++++++++++++++++ 2 files changed, 516 insertions(+), 14 deletions(-) create mode 100644 teaser/data/output/runUnitTests.py diff --git a/teaser/data/output/aixlib_output.py b/teaser/data/output/aixlib_output.py index c5454d992..34ce22b45 100644 --- a/teaser/data/output/aixlib_output.py +++ b/teaser/data/output/aixlib_output.py @@ -150,7 +150,16 @@ def export_multizone(buildings, prj, path=None): modelica_info=bldg.parent.modelica_info)) out_file.close() - _help_test_script(bldg, path, test_script_template) + dir_resources = os.path.join(path, "Resources") + if not os.path.exists(dir_resources): + os.mkdir(dir_resources) + dir_scripts = os.path.join(dir_resources, "Scripts") + if not os.path.exists(dir_scripts): + os.mkdir(dir_scripts) + dir_dymola = os.path.join(dir_scripts, "Dymola") + if not os.path.exists(dir_dymola): + os.mkdir(dir_dymola) + _help_test_script(bldg, dir_dymola, test_script_template) zone_path = os.path.join(bldg_path, bldg.name + "_DataBase") @@ -179,32 +188,30 @@ def export_multizone(buildings, prj, path=None): addition=bldg.name + "_", extra=None) + _copy_script_unit_tests(os.path.join(dir_scripts, "runUnitTests.py")) + print("Exports can be found here:") print(path) -def _help_test_script(bldg, path, test_script_template): +def _help_test_script(bldg, dir_dymola, test_script_template): """Create a test script for regression testing with BuildingsPy Parameters ---------- bldg : teaser.logic.buildingobjects.building.Building Building for which test script is created - path : str - Output directory + dir_dymola : str + Output directory for Dymola scripts test_script_template : mako.template.Template Template for the test script + + Returns + ------- + dir_scripts : str + Path to the scripts directory """ - dir_resources = os.path.join(path, "Resources") - if not os.path.exists(dir_resources): - os.mkdir(dir_resources) - dir_scripts = os.path.join(dir_resources, "Scripts") - if not os.path.exists(dir_scripts): - os.mkdir(dir_scripts) - dir_dymola = os.path.join(dir_scripts, "Dymola") - if not os.path.exists(dir_dymola): - os.mkdir(dir_dymola) out_file = open(utilities.get_full_path (os.path.join(dir_dymola, bldg.name + ".mos")), 'w') names_variables = [] @@ -220,7 +227,6 @@ def _help_test_script(bldg, path, test_script_template): )) out_file.close() - def _help_package(path, name, uses=None, within=None): """creates a package.mo file @@ -292,3 +298,16 @@ def _copy_weather_data(source_path, destination_path): """ shutil.copy2(source_path, destination_path) + + +def _copy_script_unit_tests(destination_path): + """Copies the script to run the unit tests. + + Parameters + ---------- + destination_path : str + path of where the weather file should be placed + """ + + source_path = utilities.get_full_path("data/output/runUnitTests.py") + shutil.copy2(source_path, destination_path) diff --git a/teaser/data/output/runUnitTests.py b/teaser/data/output/runUnitTests.py new file mode 100644 index 000000000..d4c7ba547 --- /dev/null +++ b/teaser/data/output/runUnitTests.py @@ -0,0 +1,483 @@ +"""This is taken from AixLib and copied into model output for regression testing.""" + +#!/usr/bin/env python +####################################################### +# Script that runs all unit tests or, optionally, +# only checks the html syntax or the validity of +# the simulation parameters of the models +# +# To run the unit tests, this script +# - creates temporary directories for each processor, +# - copies the library directory into these +# temporary directories, +# - creates run scripts that run all unit tests, +# - runs these unit tests, +# - collects the dymola log files from each process, +# - writes the combined log file 'unitTests.log' +# in the current directory, +# - checks whether all unit tests run successfully, +# and produced the same results as the reference +# results, and +# - exits with the message +# 'Unit tests completed successfully.' or with +# an error message. +# +# If no errors occurred during the unit tests, then +# this script returns 0. Otherwise, it returns a +# non-zero exit value. +# +# MWetter@lbl.gov 2011-02-23 +# TSNouidui@lbl.gov 2017-04-11 +####################################################### + + +def _validate_experiment_setup(path): + import buildingspy.development.validator as v + + val = v.Validator() + retVal = val.validateExperimentSetup(path) + +def _validate_html(path): + import buildingspy.development.validator as v + + val = v.Validator() + errMsg = val.validateHTMLInPackage(path) + n_msg = len(errMsg) + for i in range(n_msg): + if i == 0: + print("The following malformed html syntax has been found:\n%s" % errMsg[i]) + else: + print(errMsg[i]) + + if n_msg == 0: + return 0 + else: + return 1 + +def _setEnvironmentVariables(var, value): + ''' Add to the environment variable `var` the value `value` + ''' + import os + import platform + if var in os.environ: + if platform.system() == "Windows": + os.environ[var] = value + ";" + os.environ[var] + else: + os.environ[var] = value + ":" + os.environ[var] + else: + os.environ[var] = value + + +def create_ReferenceResults( tool, package, path, n_pro, show_gui): + from reference_check import Reg_Reference + import buildingspy.development.regressiontest as u + ref_check = Reg_Reference(package = args.single_package, + library = args.path) + + CRED = '\033[91m' + CEND = '\033[0m' + green = "\033[0;32m" + mos_list = ref_check.compare_ref_mos() + + ut = u.Tester(tool=tool) + ut.batchMode(False) + ut.setLibraryRoot(".") + + exitFile = ".."+os.sep+"bin"+os.sep+"06_Configfiles"+os.sep+"exit.sh" + Exit = open(exitFile, "w") + Ref_List = [] + '''if mos_list is not None: + ut.setSinglePackage(self.package) + ut.setNumberOfThreads(self.n_pro) + ut.pedanticModelica(False) + ut.showGUI(True) + #ut.showGUI(self.show_gui) + retVal = ut.run()''' + + Ref_Whitelist = open(".."+os.sep+"bin"+os.sep+"03_WhiteLists"+os.sep+"ref_Whitelist.txt", "r") + WhiteList = [] + ''' + line = Ref_Whitelist.readline() + if len(line) == 0: + print("Leere Zeile") + print(line) + else: + line = line.replace('\n','') + line = line.replace("'",'') + WhiteList.append(line) + Ref_Whitelist.close()''' + for x in Ref_Whitelist: + x = x.strip() + if len(x) == 0: + continue + else: + WhiteList.append(x) + + Ref_Whitelist.close() + + if mos_list is not None: + for z in mos_list: + print(CRED+"No Reference result for Model "+CEND +z) + + for i in mos_list: + name = i + name = name[:name.rfind(".")] + Ref_List.append(name) + Ref = list(set(Ref_List)) + + Err_List = [] + for z in Ref: + for i in WhiteList: + if z.find(i) > -1: + print(green+"Don´t Create Reference results for Package "+CEND+z+ green+" : This Package is on the WhiteList"+CEND) + Err_List.append(z) + else: + continue + for x in Err_List: + Ref.remove(x) + + if len(Ref) == 0: + print(green+"All Reference files exists, except the Models on WhiteList."+CEND) + Exit.write("#!/bin/bash"+"\n"+"\n"+"exit 0") + Exit.close() + exit(0) + + print(green+"Create reference results for following Examples:"+CEND) + for x in Ref: + print(' '+x) + + + for i in Ref: + + '''if i.find("DataBase")> -1: + continue + if i.find("Obsolete") > -1: + continue + if i.find("Types") >-1: + continue + if i.find("UsersGuide") > -1: + continue + if i.find("Utilities") > -1: + continue''' + print(green+"Generate new Reference File for "+CEND+i) + #name = i.replace("_",".") + #name = name[:name.rfind(".")] + ut.setSinglePackage(i) + ut.setNumberOfThreads(n_pro) + ut.pedanticModelica(False) + ut.showGUI(False) + #ut.showGUI(self.show_gui) + retVal = ut.run() + continue + + + Exit.write("#!/bin/bash"+"\n"+"\n"+"exit 1") + Exit.close() + print("Check the new reference results") + if len(mos_list) == 0: + print("All Reference files exists.") + Exit.write("#!/bin/bash"+"\n"+"\n"+"exit 0") + Exit.close() + sys.exit(0) + + + +def _runUnitTests(batch, tool, package, path, n_pro, show_gui,modified_models): + + import buildingspy.development.regressiontest as u + + ut = u.Tester(tool=tool) + ut.batchMode(batch) + ut.setLibraryRoot(path) + Errorlist = [] + green = "\033[0;32m" + CRED = '\033[91m' + CEND = '\033[0m' + + + + if modified_models == False: + if package is not None: + ut.setSinglePackage(package) + ut.setNumberOfThreads(n_pro) + ut.pedanticModelica(False) + ut.showGUI(show_gui) + #ut._check_fmu_statistics("y") + # ut.get_test_example_coverage() + # Below are some option that may occassionally be used. + # These are currently not exposed as command line arguments. + # ut.setNumberOfThreads(1) + # ut.deleteTemporaryDirectories(False) + # ut.useExistingResults(['/tmp/tmp-Buildings-0-fagmeZ']) + + # ut.writeOpenModelicaResultDictionary() + # Run the regression tests + + retVal = ut.run() + # comment out this line for local usage + ut.get_test_example_coverage() + return retVal + + if modified_models == True: + #regression_models = func_list_models.list_regression_tests() + regression_models = func_list_models._remove_duplicate() + + if len(regression_models) == 0: + print("No models to start a regression test") + retVal = 0 + + if len(regression_models) > 0: + print("Number of checked packages: "+ str(len(regression_models))) + print("Check examples : ") + for l in regression_models: + print(l) + if len(regression_models) > 10: + print("Over 10 changed models. Check all models in AixLib package "+package) + if package is not None: + ut.setSinglePackage(package) + ut.setNumberOfThreads(n_pro) + ut.pedanticModelica(False) + ut.showGUI(show_gui) + retVal = ut.run() + ut.get_test_example_coverage() + #return retVal + else: + for l in regression_models: + if l.rfind("package")> -1: + print("packages") + continue + #print("\n*****************************\nRegression test for model: "+l) + #model_package = l[:l.rfind(".")] + model_package = l + ut.setSinglePackage(model_package) + ut.setNumberOfThreads(n_pro) + ut.pedanticModelica(False) + ut.showGUI(show_gui) + # ut.get_test_example_coverage() + # Below are some option that may occassionally be used. + # These are currently not exposed as command line arguments. + # ut.setNumberOfThreads(1) + # ut.deleteTemporaryDirectories(False) + # ut.useExistingResults(['/tmp/tmp-Buildings-0-fagmeZ']) + + # ut.writeOpenModelicaResultDictionary() + # Run the regression tests + + retVal = ut.run() + if retVal == 1: + Errorlist.append(l) + print(CRED+"Regression test for model "+l+ " was not successfull"+CEND) + if retVal != 0: + print(green+"Regression test for model "+l+ " was successful"+CEND) + # comment out this line for local usage + ut.get_test_example_coverage() + if len(Errorlist) > 0: + retVal = 1 + print(CRED+"Regression test failed"+CEND) + print("The following packages "+CRED+"failed"+CEND) + for l in Errorlist: + print(CRED+" Error: "+CEND+l) + else: + retVal = 0 + print(green+"Regression test was successful"+CEND) + + return retVal + + +def _run_coverage_only(batch, tool, package, path, n_pro, show_gui): + import buildingspy.development.regressiontest as u + + ut = u.Tester(tool=tool) + ut.batchMode(batch) + ut.setLibraryRoot(path) + if package is not None: + ut.setSinglePackage(package) + # ut.setNumberOfThreads(n_pro) + # ut.pedanticModelica(True) + # ut.showGUI(show_gui) + ut.get_test_example_coverage() + return 0 + + +def _runOpenModelicaUnitTests(): + import buildingspy.development.regressiontest as u + ut = u.Tester() + ut.batchMode(batch) + ut.test_OpenModelica(cmpl=True, simulate=True, + packages=['Examples'], number=-1) + +if __name__ == '__main__': + import multiprocessing + import platform + import argparse + import os + import sys + import time + + # Configure the argument parser + parser = argparse.ArgumentParser(description='Run the unit tests or the html validation only.') + unit_test_group = parser.add_argument_group("arguments to run unit tests") + + unit_test_group.add_argument("-b", "--batch", + action="store_true", + help="Run in batch mode without user interaction") + unit_test_group.add_argument('-t', "--tool", + metavar="dymola", + default="dymola", + help="Tool for the regression tests. Set to dymola or jmodelica") + unit_test_group.add_argument('-s', "--single-package", + metavar="Modelica.Package", + help="Test only the Modelica package Modelica.Package") + unit_test_group.add_argument("-p", "--path", + default = ".", + help="Path where top-level package.mo of the library is located") + + unit_test_group.add_argument("-n", "--number-of-processors", + type=int, + default = multiprocessing.cpu_count(), + help='Maximum number of processors to be used') + unit_test_group.add_argument("--show-gui", + help='Show the GUI of the simulator', + action="store_true") + + unit_test_group.add_argument("--coverage-only", + help='Only run the coverage test', + action="store_true") + + unit_test_group.add_argument("--check-ref", + help='checks if all reference files exist', + action="store_true") + + unit_test_group.add_argument("--modified-models", + help='Regression test only for modified models', + default=False, + action="store_true") + + unit_test_group.add_argument("-DS", "--DymolaVersion",default="2020", help="Version of Dymola(Give the number e.g. 2020") + + html_group = parser.add_argument_group("arguments to check html syntax only") + html_group.add_argument("--validate-html-only", + action="store_true") + + experiment_setup_group = parser.add_argument_group("arguments to check validity of .mos and .mo experiment setup only") + experiment_setup_group.add_argument("--validate-experiment-setup", + action="store_true") + + # Set environment variables + if platform.system() == "Windows": + _setEnvironmentVariables("PATH", + os.path.join(os.path.abspath('.'), + "Resources", "Library", "win32")) + else: + # For https://github.com/lbl-srg/modelica-buildings/issues/559, we add + # 32 and 64 bit resources to run the Utilities.IO.Python27 regression tests. + _setEnvironmentVariables("LD_LIBRARY_PATH", + os.path.join(os.path.abspath('.'), + "Resources", "Library", "linux32") + ":" + + os.path.join(os.path.abspath('.'), + "Resources", "Library", "linux64")) + + # The path to buildingspy must be added to sys.path to work on Linux. + # If only added to os.environ, the Python interpreter won't find buildingspy + sys.path.append(os.path.join(os.path.abspath('.'), "..", "..", "BuildingsPy")) + + + # Parse the arguments + args = parser.parse_args() + + from list_extended_models import Extended_model + func_list_models = Extended_model(package = args.single_package, + library = "package.mo", + DymolaVersion = args.DymolaVersion) + + + + if args.validate_html_only: + # Validate the html syntax only, and then exit + ret_val = _validate_html(args.path) + exit(ret_val) + + if args.validate_experiment_setup: + # Match the mos file parameters with the mo files only, and then exit + ret_val = _validate_experiment_setup(args.path) + exit(ret_val) + + if args.single_package: + single_package = args.single_package + else: + single_package = None + + if args.check_ref: + + ret_val = create_ReferenceResults(tool = args.tool, + package = single_package, + path = args.path, + n_pro = args.number_of_processors, + show_gui = args.show_gui) + exit(0) + + + + elif args.coverage_only: + ret_val = _run_coverage_only(batch = args.batch, + tool = args.tool, + package = single_package, + path = args.path, + n_pro = args.number_of_processors, + show_gui = args.show_gui) + exit(ret_val) + else: + from dymola.dymola_interface import DymolaInterface + from dymola.dymola_exception import DymolaException + + dymola = None + try: + + print("1: Starting Dymola instance") + if platform.system() == "Windows": + dymola = DymolaInterface() + else: + dymola = DymolaInterface(dymolapath="/usr/local/bin/dymola") + + ### Writes all information in the log file, not only the last entries + dymola.ExecuteCommand("Advanced.TranslationInCommandLog:=true;") + dym_sta_lic_available = dymola.ExecuteCommand('RequestOption("Standard");') + lic_counter = 0 + + green = "\033[0;32m" + CRED = '\033[91m' + CEND = '\033[0m' + while dym_sta_lic_available == False: + print(CRED+"No Dymola License is available"+CEND) + dymola.close() + print("Check Dymola license after 60.0 seconds") + time.sleep(180.0) + ### Sets the Dymola path to activate the GUI + if platform.system() == "Windows": + dymola = DymolaInterface() + else: + dymola = DymolaInterface(dymolapath="/usr/local/bin/dymola") + dym_sta_lic_available = dymola.ExecuteCommand('RequestOption("Standard");') + lic_counter = lic_counter +1 + if lic_counter > 30: + if dym_sta_lic_available == False: + print(CRED+"There are currently no available Dymola licenses available. Please try again later."+CEND) + dymola.close() + exit(1) + print(("2: Using Dymola port " + str(dymola._portnumber))) + print(green+"Dymola License is available"+CEND) + retVal = _runUnitTests(batch = args.batch, + tool = args.tool, + package = single_package, + path = args.path, + n_pro = args.number_of_processors, + show_gui = args.show_gui, + modified_models = args.modified_models) + exit(retVal) + except DymolaException as ex: + print(("2: Error: " + str(ex))) + finally: + if dymola is not None: + dymola.close() + dymola = None + # _runOpenModelicaUnitTests() From 2cbf79be8b3302adc808ebbcce8fd9a3a55b486d Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:25:29 +0100 Subject: [PATCH 04/20] Option to export reference results For #669 --- teaser/data/output/aixlib_output.py | 27 ++++++++++++++++++++++ teaser/examples/e2_export_aixlib_models.py | 1 + teaser/project.py | 6 +++++ 3 files changed, 34 insertions(+) diff --git a/teaser/data/output/aixlib_output.py b/teaser/data/output/aixlib_output.py index 34ce22b45..3e9493d5a 100644 --- a/teaser/data/output/aixlib_output.py +++ b/teaser/data/output/aixlib_output.py @@ -189,11 +189,38 @@ def export_multizone(buildings, prj, path=None): extra=None) _copy_script_unit_tests(os.path.join(dir_scripts, "runUnitTests.py")) + _copy_reference_results(dir_resources, prj) print("Exports can be found here:") print(path) +def _copy_reference_results(dir_resources, prj): + """Copy reference results to modelica output. + + Parameters + ---------- + dir_resources : str + Resources directory of the modelica output + prj : teaser.project.Project + Project to be exported + """ + + if prj.dir_reference_results is not None: + dir_ref_out = os.path.join(dir_resources, "ReferenceResults") + if not os.path.exists(dir_ref_out): + os.mkdir(dir_ref_out) + dir_ref_out_dymola = os.path.join(dir_ref_out, "Dymola") + if not os.path.exists(dir_ref_out_dymola): + os.mkdir(dir_ref_out_dymola) + for filename in os.listdir(prj.dir_reference_results): + if filename.endswith(".txt"): + shutil.copy2( + os.path.join(prj.dir_reference_results, filename), + os.path.join(dir_ref_out_dymola, filename) + ) + + def _help_test_script(bldg, dir_dymola, test_script_template): """Create a test script for regression testing with BuildingsPy diff --git a/teaser/examples/e2_export_aixlib_models.py b/teaser/examples/e2_export_aixlib_models.py index d3d260563..46d477a56 100644 --- a/teaser/examples/e2_export_aixlib_models.py +++ b/teaser/examples/e2_export_aixlib_models.py @@ -20,6 +20,7 @@ def example_export_aixlib(): # buildings to get this Project we rerun this example prj = e1.example_generate_archetype() + prj.dir_reference_results = utilities.get_full_path("data/output/modelicatemplate") # To make sure the export is using the desired parameters you should # always set model settings in the Project. diff --git a/teaser/project.py b/teaser/project.py index eeadd7cd6..3074302de 100644 --- a/teaser/project.py +++ b/teaser/project.py @@ -86,6 +86,10 @@ class Project(object): IBPSA) used_library_calc : str used library (AixLib and IBPSA are supported) + dir_reference_results : str + Path to reference results in BuildingsPy format. If not None, the results + will be copied into the model output directories so that the exported + models can be regression tested against these results with BuildingsPy. """ def __init__(self, load_data=False): @@ -117,6 +121,8 @@ def __init__(self, load_data=False): else: self.data = None + self.dir_reference_results = None + @staticmethod def instantiate_data_class(): """Initialization of DataClass From 47465a3ccb458bd0d797ef829673848d562ef2c1 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:27:52 +0100 Subject: [PATCH 05/20] Remove test line For #669 --- teaser/examples/e2_export_aixlib_models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/teaser/examples/e2_export_aixlib_models.py b/teaser/examples/e2_export_aixlib_models.py index 46d477a56..d3d260563 100644 --- a/teaser/examples/e2_export_aixlib_models.py +++ b/teaser/examples/e2_export_aixlib_models.py @@ -20,7 +20,6 @@ def example_export_aixlib(): # buildings to get this Project we rerun this example prj = e1.example_generate_archetype() - prj.dir_reference_results = utilities.get_full_path("data/output/modelicatemplate") # To make sure the export is using the desired parameters you should # always set model settings in the Project. From a6f17e9a1ec480a8134389815fa0295bd3ba27d6 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:33:27 +0100 Subject: [PATCH 06/20] Use runUnitTests from IBPSA For #669 --- teaser/data/output/runUnitTests.py | 415 ++++------------------------- 1 file changed, 58 insertions(+), 357 deletions(-) mode change 100644 => 100755 teaser/data/output/runUnitTests.py diff --git a/teaser/data/output/runUnitTests.py b/teaser/data/output/runUnitTests.py old mode 100644 new mode 100755 index d4c7ba547..d2c1d3642 --- a/teaser/data/output/runUnitTests.py +++ b/teaser/data/output/runUnitTests.py @@ -1,5 +1,3 @@ -"""This is taken from AixLib and copied into model output for regression testing.""" - #!/usr/bin/env python ####################################################### # Script that runs all unit tests or, optionally, @@ -45,9 +43,9 @@ def _validate_html(path): n_msg = len(errMsg) for i in range(n_msg): if i == 0: - print("The following malformed html syntax has been found:\n%s" % errMsg[i]) + print "The following malformed html syntax has been found:\n%s" % errMsg[i] else: - print(errMsg[i]) + print errMsg[i] if n_msg == 0: return 0 @@ -59,7 +57,7 @@ def _setEnvironmentVariables(var, value): ''' import os import platform - if var in os.environ: + if os.environ.has_key(var): if platform.system() == "Windows": os.environ[var] = value + ";" + os.environ[var] else: @@ -67,224 +65,7 @@ def _setEnvironmentVariables(var, value): else: os.environ[var] = value - -def create_ReferenceResults( tool, package, path, n_pro, show_gui): - from reference_check import Reg_Reference - import buildingspy.development.regressiontest as u - ref_check = Reg_Reference(package = args.single_package, - library = args.path) - - CRED = '\033[91m' - CEND = '\033[0m' - green = "\033[0;32m" - mos_list = ref_check.compare_ref_mos() - - ut = u.Tester(tool=tool) - ut.batchMode(False) - ut.setLibraryRoot(".") - - exitFile = ".."+os.sep+"bin"+os.sep+"06_Configfiles"+os.sep+"exit.sh" - Exit = open(exitFile, "w") - Ref_List = [] - '''if mos_list is not None: - ut.setSinglePackage(self.package) - ut.setNumberOfThreads(self.n_pro) - ut.pedanticModelica(False) - ut.showGUI(True) - #ut.showGUI(self.show_gui) - retVal = ut.run()''' - - Ref_Whitelist = open(".."+os.sep+"bin"+os.sep+"03_WhiteLists"+os.sep+"ref_Whitelist.txt", "r") - WhiteList = [] - ''' - line = Ref_Whitelist.readline() - if len(line) == 0: - print("Leere Zeile") - print(line) - else: - line = line.replace('\n','') - line = line.replace("'",'') - WhiteList.append(line) - Ref_Whitelist.close()''' - for x in Ref_Whitelist: - x = x.strip() - if len(x) == 0: - continue - else: - WhiteList.append(x) - - Ref_Whitelist.close() - - if mos_list is not None: - for z in mos_list: - print(CRED+"No Reference result for Model "+CEND +z) - - for i in mos_list: - name = i - name = name[:name.rfind(".")] - Ref_List.append(name) - Ref = list(set(Ref_List)) - - Err_List = [] - for z in Ref: - for i in WhiteList: - if z.find(i) > -1: - print(green+"Don´t Create Reference results for Package "+CEND+z+ green+" : This Package is on the WhiteList"+CEND) - Err_List.append(z) - else: - continue - for x in Err_List: - Ref.remove(x) - - if len(Ref) == 0: - print(green+"All Reference files exists, except the Models on WhiteList."+CEND) - Exit.write("#!/bin/bash"+"\n"+"\n"+"exit 0") - Exit.close() - exit(0) - - print(green+"Create reference results for following Examples:"+CEND) - for x in Ref: - print(' '+x) - - - for i in Ref: - - '''if i.find("DataBase")> -1: - continue - if i.find("Obsolete") > -1: - continue - if i.find("Types") >-1: - continue - if i.find("UsersGuide") > -1: - continue - if i.find("Utilities") > -1: - continue''' - print(green+"Generate new Reference File for "+CEND+i) - #name = i.replace("_",".") - #name = name[:name.rfind(".")] - ut.setSinglePackage(i) - ut.setNumberOfThreads(n_pro) - ut.pedanticModelica(False) - ut.showGUI(False) - #ut.showGUI(self.show_gui) - retVal = ut.run() - continue - - - Exit.write("#!/bin/bash"+"\n"+"\n"+"exit 1") - Exit.close() - print("Check the new reference results") - if len(mos_list) == 0: - print("All Reference files exists.") - Exit.write("#!/bin/bash"+"\n"+"\n"+"exit 0") - Exit.close() - sys.exit(0) - - - -def _runUnitTests(batch, tool, package, path, n_pro, show_gui,modified_models): - - import buildingspy.development.regressiontest as u - - ut = u.Tester(tool=tool) - ut.batchMode(batch) - ut.setLibraryRoot(path) - Errorlist = [] - green = "\033[0;32m" - CRED = '\033[91m' - CEND = '\033[0m' - - - - if modified_models == False: - if package is not None: - ut.setSinglePackage(package) - ut.setNumberOfThreads(n_pro) - ut.pedanticModelica(False) - ut.showGUI(show_gui) - #ut._check_fmu_statistics("y") - # ut.get_test_example_coverage() - # Below are some option that may occassionally be used. - # These are currently not exposed as command line arguments. - # ut.setNumberOfThreads(1) - # ut.deleteTemporaryDirectories(False) - # ut.useExistingResults(['/tmp/tmp-Buildings-0-fagmeZ']) - - # ut.writeOpenModelicaResultDictionary() - # Run the regression tests - - retVal = ut.run() - # comment out this line for local usage - ut.get_test_example_coverage() - return retVal - - if modified_models == True: - #regression_models = func_list_models.list_regression_tests() - regression_models = func_list_models._remove_duplicate() - - if len(regression_models) == 0: - print("No models to start a regression test") - retVal = 0 - - if len(regression_models) > 0: - print("Number of checked packages: "+ str(len(regression_models))) - print("Check examples : ") - for l in regression_models: - print(l) - if len(regression_models) > 10: - print("Over 10 changed models. Check all models in AixLib package "+package) - if package is not None: - ut.setSinglePackage(package) - ut.setNumberOfThreads(n_pro) - ut.pedanticModelica(False) - ut.showGUI(show_gui) - retVal = ut.run() - ut.get_test_example_coverage() - #return retVal - else: - for l in regression_models: - if l.rfind("package")> -1: - print("packages") - continue - #print("\n*****************************\nRegression test for model: "+l) - #model_package = l[:l.rfind(".")] - model_package = l - ut.setSinglePackage(model_package) - ut.setNumberOfThreads(n_pro) - ut.pedanticModelica(False) - ut.showGUI(show_gui) - # ut.get_test_example_coverage() - # Below are some option that may occassionally be used. - # These are currently not exposed as command line arguments. - # ut.setNumberOfThreads(1) - # ut.deleteTemporaryDirectories(False) - # ut.useExistingResults(['/tmp/tmp-Buildings-0-fagmeZ']) - - # ut.writeOpenModelicaResultDictionary() - # Run the regression tests - - retVal = ut.run() - if retVal == 1: - Errorlist.append(l) - print(CRED+"Regression test for model "+l+ " was not successfull"+CEND) - if retVal != 0: - print(green+"Regression test for model "+l+ " was successful"+CEND) - # comment out this line for local usage - ut.get_test_example_coverage() - if len(Errorlist) > 0: - retVal = 1 - print(CRED+"Regression test failed"+CEND) - print("The following packages "+CRED+"failed"+CEND) - for l in Errorlist: - print(CRED+" Error: "+CEND+l) - else: - retVal = 0 - print(green+"Regression test was successful"+CEND) - - return retVal - - -def _run_coverage_only(batch, tool, package, path, n_pro, show_gui): +def _runUnitTests(batch, tool, package, path, n_pro, show_gui): import buildingspy.development.regressiontest as u ut = u.Tester(tool=tool) @@ -292,12 +73,20 @@ def _run_coverage_only(batch, tool, package, path, n_pro, show_gui): ut.setLibraryRoot(path) if package is not None: ut.setSinglePackage(package) - # ut.setNumberOfThreads(n_pro) - # ut.pedanticModelica(True) - # ut.showGUI(show_gui) - ut.get_test_example_coverage() - return 0 + ut.setNumberOfThreads(n_pro) + ut.pedanticModelica(True) + ut.showGUI(show_gui) + # Below are some option that may occassionally be used. + # These are currently not exposed as command line arguments. +# ut.setNumberOfThreads(1) +# ut.deleteTemporaryDirectories(False) +# ut.useExistingResults(['/tmp/tmp-Buildings-0-fagmeZ']) +# ut.writeOpenModelicaResultDictionary() + # Run the regression tests + + retVal = ut.run() + return retVal def _runOpenModelicaUnitTests(): import buildingspy.development.regressiontest as u @@ -307,71 +96,55 @@ def _runOpenModelicaUnitTests(): packages=['Examples'], number=-1) if __name__ == '__main__': - import multiprocessing - import platform - import argparse - import os - import sys - import time - - # Configure the argument parser - parser = argparse.ArgumentParser(description='Run the unit tests or the html validation only.') - unit_test_group = parser.add_argument_group("arguments to run unit tests") + import multiprocessing + import platform + import argparse + import os + import sys - unit_test_group.add_argument("-b", "--batch", + # Configure the argument parser + parser = argparse.ArgumentParser(description='Run the unit tests or the html validation only.') + unit_test_group = parser.add_argument_group("arguments to run unit tests") + + unit_test_group.add_argument("-b", "--batch", action="store_true", help="Run in batch mode without user interaction") - unit_test_group.add_argument('-t', "--tool", + unit_test_group.add_argument('-t', "--tool", metavar="dymola", default="dymola", help="Tool for the regression tests. Set to dymola or jmodelica") - unit_test_group.add_argument('-s', "--single-package", + unit_test_group.add_argument('-s', "--single-package", metavar="Modelica.Package", help="Test only the Modelica package Modelica.Package") - unit_test_group.add_argument("-p", "--path", + unit_test_group.add_argument("-p", "--path", default = ".", help="Path where top-level package.mo of the library is located") - unit_test_group.add_argument("-n", "--number-of-processors", + unit_test_group.add_argument("-n", "--number-of-processors", type=int, default = multiprocessing.cpu_count(), help='Maximum number of processors to be used') - unit_test_group.add_argument("--show-gui", + unit_test_group.add_argument("--show-gui", help='Show the GUI of the simulator', action="store_true") - unit_test_group.add_argument("--coverage-only", - help='Only run the coverage test', - action="store_true") - - unit_test_group.add_argument("--check-ref", - help='checks if all reference files exist', - action="store_true") - - unit_test_group.add_argument("--modified-models", - help='Regression test only for modified models', - default=False, - action="store_true") - - unit_test_group.add_argument("-DS", "--DymolaVersion",default="2020", help="Version of Dymola(Give the number e.g. 2020") - - html_group = parser.add_argument_group("arguments to check html syntax only") - html_group.add_argument("--validate-html-only", + html_group = parser.add_argument_group("arguments to check html syntax only") + html_group.add_argument("--validate-html-only", action="store_true") - experiment_setup_group = parser.add_argument_group("arguments to check validity of .mos and .mo experiment setup only") - experiment_setup_group.add_argument("--validate-experiment-setup", + experiment_setup_group = parser.add_argument_group("arguments to check validity of .mos and .mo experiment setup only") + experiment_setup_group.add_argument("--validate-experiment-setup", action="store_true") # Set environment variables - if platform.system() == "Windows": - _setEnvironmentVariables("PATH", + if platform.system() == "Windows": + _setEnvironmentVariables("PATH", os.path.join(os.path.abspath('.'), "Resources", "Library", "win32")) - else: + else: # For https://github.com/lbl-srg/modelica-buildings/issues/559, we add # 32 and 64 bit resources to run the Utilities.IO.Python27 regression tests. - _setEnvironmentVariables("LD_LIBRARY_PATH", + _setEnvironmentVariables("LD_LIBRARY_PATH", os.path.join(os.path.abspath('.'), "Resources", "Library", "linux32") + ":" + os.path.join(os.path.abspath('.'), @@ -379,105 +152,33 @@ def _runOpenModelicaUnitTests(): # The path to buildingspy must be added to sys.path to work on Linux. # If only added to os.environ, the Python interpreter won't find buildingspy - sys.path.append(os.path.join(os.path.abspath('.'), "..", "..", "BuildingsPy")) + sys.path.append(os.path.join(os.path.abspath('.'), "..", "..", "BuildingsPy")) # Parse the arguments - args = parser.parse_args() - - from list_extended_models import Extended_model - func_list_models = Extended_model(package = args.single_package, - library = "package.mo", - DymolaVersion = args.DymolaVersion) - - - - if args.validate_html_only: - # Validate the html syntax only, and then exit - ret_val = _validate_html(args.path) - exit(ret_val) + args = parser.parse_args() - if args.validate_experiment_setup: - # Match the mos file parameters with the mo files only, and then exit - ret_val = _validate_experiment_setup(args.path) - exit(ret_val) + if args.validate_html_only: + # Validate the html syntax only, and then exit + ret_val = _validate_html(args.path) + exit(ret_val) - if args.single_package: - single_package = args.single_package - else: - single_package = None + if args.validate_experiment_setup: + # Match the mos file parameters with the mo files only, and then exit + ret_val = _validate_experiment_setup(args.path) + exit(ret_val) - if args.check_ref: - - ret_val = create_ReferenceResults(tool = args.tool, - package = single_package, - path = args.path, - n_pro = args.number_of_processors, - show_gui = args.show_gui) - exit(0) + if args.single_package: + single_package = args.single_package + else: + single_package = None - - - elif args.coverage_only: - ret_val = _run_coverage_only(batch = args.batch, + retVal = _runUnitTests(batch = args.batch, tool = args.tool, package = single_package, path = args.path, n_pro = args.number_of_processors, show_gui = args.show_gui) - exit(ret_val) - else: - from dymola.dymola_interface import DymolaInterface - from dymola.dymola_exception import DymolaException - - dymola = None - try: - - print("1: Starting Dymola instance") - if platform.system() == "Windows": - dymola = DymolaInterface() - else: - dymola = DymolaInterface(dymolapath="/usr/local/bin/dymola") - - ### Writes all information in the log file, not only the last entries - dymola.ExecuteCommand("Advanced.TranslationInCommandLog:=true;") - dym_sta_lic_available = dymola.ExecuteCommand('RequestOption("Standard");') - lic_counter = 0 - - green = "\033[0;32m" - CRED = '\033[91m' - CEND = '\033[0m' - while dym_sta_lic_available == False: - print(CRED+"No Dymola License is available"+CEND) - dymola.close() - print("Check Dymola license after 60.0 seconds") - time.sleep(180.0) - ### Sets the Dymola path to activate the GUI - if platform.system() == "Windows": - dymola = DymolaInterface() - else: - dymola = DymolaInterface(dymolapath="/usr/local/bin/dymola") - dym_sta_lic_available = dymola.ExecuteCommand('RequestOption("Standard");') - lic_counter = lic_counter +1 - if lic_counter > 30: - if dym_sta_lic_available == False: - print(CRED+"There are currently no available Dymola licenses available. Please try again later."+CEND) - dymola.close() - exit(1) - print(("2: Using Dymola port " + str(dymola._portnumber))) - print(green+"Dymola License is available"+CEND) - retVal = _runUnitTests(batch = args.batch, - tool = args.tool, - package = single_package, - path = args.path, - n_pro = args.number_of_processors, - show_gui = args.show_gui, - modified_models = args.modified_models) - exit(retVal) - except DymolaException as ex: - print(("2: Error: " + str(ex))) - finally: - if dymola is not None: - dymola.close() - dymola = None - # _runOpenModelicaUnitTests() + exit(retVal) + +# _runOpenModelicaUnitTests() From 6ffa76270726788f4bcd5bb337ca7f821fff6eee Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:35:56 +0100 Subject: [PATCH 07/20] Replace very old version For #669 --- teaser/data/output/runUnitTests.py | 97 +++++++++++++++++++----------- 1 file changed, 62 insertions(+), 35 deletions(-) diff --git a/teaser/data/output/runUnitTests.py b/teaser/data/output/runUnitTests.py index d2c1d3642..52189aebd 100755 --- a/teaser/data/output/runUnitTests.py +++ b/teaser/data/output/runUnitTests.py @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- ####################################################### # Script that runs all unit tests or, optionally, # only checks the html syntax or the validity of @@ -27,6 +28,9 @@ # MWetter@lbl.gov 2011-02-23 # TSNouidui@lbl.gov 2017-04-11 ####################################################### +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function def _validate_experiment_setup(path): @@ -35,6 +39,7 @@ def _validate_experiment_setup(path): val = v.Validator() retVal = val.validateExperimentSetup(path) + def _validate_html(path): import buildingspy.development.validator as v @@ -43,21 +48,23 @@ def _validate_html(path): n_msg = len(errMsg) for i in range(n_msg): if i == 0: - print "The following malformed html syntax has been found:\n%s" % errMsg[i] + print( + "The following malformed html syntax has been found:\n{}".format(errMsg[i])) else: - print errMsg[i] + print(errMsg[i]) if n_msg == 0: return 0 else: return 1 + def _setEnvironmentVariables(var, value): ''' Add to the environment variable `var` the value `value` ''' import os import platform - if os.environ.has_key(var): + if var in os.environ: if platform.system() == "Windows": os.environ[var] = value + ";" + os.environ[var] else: @@ -65,10 +72,11 @@ def _setEnvironmentVariables(var, value): else: os.environ[var] = value -def _runUnitTests(batch, tool, package, path, n_pro, show_gui): + +def _runUnitTests(batch, tool, package, path, n_pro, show_gui, skip_verification): import buildingspy.development.regressiontest as u - ut = u.Tester(tool=tool) + ut = u.Tester(tool=tool, skip_verification=skip_verification) ut.batchMode(batch) ut.setLibraryRoot(path) if package is not None: @@ -86,8 +94,19 @@ def _runUnitTests(batch, tool, package, path, n_pro, show_gui): # Run the regression tests retVal = ut.run() + + # Display HTML report if not run in batch mode. + # (For buildingspy.__version__ >= 2) + if not batch: + try: + if not skip_verification: + ut.report() + except AttributeError: + pass + return retVal + def _runOpenModelicaUnitTests(): import buildingspy.development.regressiontest as u ut = u.Tester() @@ -95,6 +114,7 @@ def _runOpenModelicaUnitTests(): ut.test_OpenModelica(cmpl=True, simulate=True, packages=['Examples'], number=-1) + if __name__ == '__main__': import multiprocessing import platform @@ -103,38 +123,43 @@ def _runOpenModelicaUnitTests(): import sys # Configure the argument parser - parser = argparse.ArgumentParser(description='Run the unit tests or the html validation only.') + parser = argparse.ArgumentParser( + description='Run the unit tests or the html validation only.') unit_test_group = parser.add_argument_group("arguments to run unit tests") unit_test_group.add_argument("-b", "--batch", - action="store_true", - help="Run in batch mode without user interaction") + action="store_true", + help="Run in batch mode without user interaction") unit_test_group.add_argument('-t', "--tool", - metavar="dymola", - default="dymola", - help="Tool for the regression tests. Set to dymola or jmodelica") + metavar="dymola", + default="dymola", + help="Tool for the regression tests. Set to dymola or jmodelica") unit_test_group.add_argument('-s', "--single-package", - metavar="Modelica.Package", - help="Test only the Modelica package Modelica.Package") + metavar="Modelica.Package", + help="Test only the Modelica package Modelica.Package") unit_test_group.add_argument("-p", "--path", - default = ".", - help="Path where top-level package.mo of the library is located") - + default=".", + help="Path where top-level package.mo of the library is located") unit_test_group.add_argument("-n", "--number-of-processors", - type=int, - default = multiprocessing.cpu_count(), - help='Maximum number of processors to be used') + type=int, + default=multiprocessing.cpu_count(), + help='Maximum number of processors to be used') unit_test_group.add_argument("--show-gui", - help='Show the GUI of the simulator', - action="store_true") - - html_group = parser.add_argument_group("arguments to check html syntax only") + help='Show the GUI of the simulator', + action="store_true") + unit_test_group.add_argument("--skip-verification", + help='If specified, do not verify simulation results against reference points', + action="store_true") + + html_group = parser.add_argument_group( + "arguments to check html syntax only") html_group.add_argument("--validate-html-only", - action="store_true") + action="store_true") - experiment_setup_group = parser.add_argument_group("arguments to check validity of .mos and .mo experiment setup only") + experiment_setup_group = parser.add_argument_group( + "arguments to check validity of .mos and .mo experiment setup only") experiment_setup_group.add_argument("--validate-experiment-setup", - action="store_true") + action="store_true") # Set environment variables if platform.system() == "Windows": @@ -152,8 +177,8 @@ def _runOpenModelicaUnitTests(): # The path to buildingspy must be added to sys.path to work on Linux. # If only added to os.environ, the Python interpreter won't find buildingspy - sys.path.append(os.path.join(os.path.abspath('.'), "..", "..", "BuildingsPy")) - + sys.path.append(os.path.join( + os.path.abspath('.'), "..", "..", "BuildingsPy")) # Parse the arguments args = parser.parse_args() @@ -173,12 +198,14 @@ def _runOpenModelicaUnitTests(): else: single_package = None - retVal = _runUnitTests(batch = args.batch, - tool = args.tool, - package = single_package, - path = args.path, - n_pro = args.number_of_processors, - show_gui = args.show_gui) + retVal = _runUnitTests(batch=args.batch, + tool=args.tool, + package=single_package, + path=args.path, + n_pro=args.number_of_processors, + show_gui=args.show_gui, + skip_verification=args.skip_verification + ) exit(retVal) # _runOpenModelicaUnitTests() From 150d3576928563e4ae57643f25e932d12ca964fc Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:43:55 +0100 Subject: [PATCH 08/20] Adjust model path in test script For #669 --- teaser/data/output/modelicatemplate/modelica_test_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teaser/data/output/modelicatemplate/modelica_test_script b/teaser/data/output/modelicatemplate/modelica_test_script index 576fc79be..eb99c9652 100644 --- a/teaser/data/output/modelicatemplate/modelica_test_script +++ b/teaser/data/output/modelicatemplate/modelica_test_script @@ -1,4 +1,4 @@ -simulateModel("${project.name}.${bldg.name}", method="Dassl", tolerance=0.0001, stopTime=${stop_time}}, resultFile="${bldg.name}"); +simulateModel("${project.name}.${bldg.name}.${bldg.name}", method="Dassl", tolerance=0.0001, stopTime=${stop_time}}, resultFile="${bldg.name}"); % for name_variable in names_variables: createPlot(id=${loop.index}, y={${name_variable}}); % endfor From 332b86cec8ff2c3e8199a7fa545cef4d0c506d41 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:47:59 +0100 Subject: [PATCH 09/20] Add missing comma For #669 --- teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone index 71b51ba3b..14f771248 100644 --- a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone +++ b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone @@ -144,7 +144,7 @@ equation __Dymola_experimentSetupOutput(equidistant=${get_true_false(modelica_info.equidistant_output)}, __Dymola_Commands(file= "Resources/Scripts/Dymola/${bldg.name}.mos" - "Simulate and Plot") + "Simulate and Plot"), events=${get_true_false(modelica_info.results_at_events)}), Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={ From 743f861ef6c3cf7fb0b4482c845f156943f8d195 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:50:11 +0100 Subject: [PATCH 10/20] Add missing tolerance For #669 --- teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone | 1 + 1 file changed, 1 insertion(+) diff --git a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone index 14f771248..86391c7c4 100644 --- a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone +++ b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone @@ -140,6 +140,7 @@ equation StartTime=${str(zone.parent.parent.modelica_info.start_time)}, StopTime=${str(zone.parent.parent.modelica_info.stop_time)}, Interval=${modelica_info.interval_output}, + Tolerance=0.0001, __Dymola_Algorithm="${modelica_info.current_solver}"), __Dymola_experimentSetupOutput(equidistant=${get_true_false(modelica_info.equidistant_output)}, __Dymola_Commands(file= From 14cb124df65e85b8f1debbdf33b3067f97143565 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 21:55:17 +0100 Subject: [PATCH 11/20] Fix decoding errors For #669 --- .../weatherdata/DEU_BW_Mannheim_107290_TRY2010_12_Jahr_BBSR.mos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teaser/data/input/inputdata/weatherdata/DEU_BW_Mannheim_107290_TRY2010_12_Jahr_BBSR.mos b/teaser/data/input/inputdata/weatherdata/DEU_BW_Mannheim_107290_TRY2010_12_Jahr_BBSR.mos index 75be83867..ecd954879 100644 --- a/teaser/data/input/inputdata/weatherdata/DEU_BW_Mannheim_107290_TRY2010_12_Jahr_BBSR.mos +++ b/teaser/data/input/inputdata/weatherdata/DEU_BW_Mannheim_107290_TRY2010_12_Jahr_BBSR.mos @@ -5,7 +5,7 @@ double tab1(8760,30) #TYPICAL/EXTREME PERIODS,6,Summer - Week Nearest Max Temperature For Period,Extreme,7/13,7/19,Summer - Week Nearest Average Temperature For Period,Typical,8/ 3,8/ 9,Winter - Week Nearest Min Temperature For Period,Extreme,12/ 8,12/14,Winter - Week Nearest Average Temperature For Period,Typical,12/15,12/21,Autumn - Week Nearest Average Temperature For Period,Typical,10/20,10/26,Spring - Week Nearest Average Temperature For Period,Typical,4/19,4/25 #GROUND TEMPERATURES,3,.5,,,,3.79,3.08,4.35,6.34,11.55,15.57,18.29,19.11,17.71,14.58,10.41,6.54,2,,,,6.44,5.16,5.42,6.48,9.96,13.11,15.64,16.99,16.70,14.93,12.06,9.01,4,,,,8.62,7.31,7.02,7.42,9.39,11.52,13.46,14.82,15.14,14.37,12.68,10.62 #HOLIDAYS/DAYLIGHT SAVINGS,No,0,0,0 -#COMMENTS 1,"Custom/User Format -- WMO#107290; Bundesinstitut für Bau-, Stadt- und Raumforschung im Bundesamt für Bauwesen und Raumordnung. 1) DWD are the original author of the DTRY dataset on which these EPWs are based. 2) The EPWs were converted by Climate.OneBuilding.Org. Neither the DWD nor the BBSR were responsible for the conversion, and they disclaim all liability associated with the use of the converted DTRY EPW data set." +#COMMENTS 1,"Custom/User Format -- WMO#107290; Bundesinstitut fuer Bau-, Stadt- und Raumforschung im Bundesamt fuer Bauwesen und Raumordnung. 1) DWD are the original author of the DTRY dataset on which these EPWs are based. 2) The EPWs were converted by Climate.OneBuilding.Org. Neither the DWD nor the BBSR were responsible for the conversion, and they disclaim all liability associated with the use of the converted DTRY EPW data set." #COMMENTS 2,"Downloaded from Climate.OneBuilding.Org -- Ground temps represent undisturbed earth temperatures - calculated from this weather data." #DATA PERIODS,1,1,Data,Monday, 1/ 1,12/31 #C1 Time in seconds. Beginning of a year is 0s. From 457508a6a94dfcfb46664d77f1486f956ed26ac0 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 22:11:55 +0100 Subject: [PATCH 12/20] Deactivate pedantic mode For #669 --- teaser/data/output/runUnitTests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teaser/data/output/runUnitTests.py b/teaser/data/output/runUnitTests.py index 52189aebd..2124dd863 100755 --- a/teaser/data/output/runUnitTests.py +++ b/teaser/data/output/runUnitTests.py @@ -82,7 +82,7 @@ def _runUnitTests(batch, tool, package, path, n_pro, show_gui, skip_verification if package is not None: ut.setSinglePackage(package) ut.setNumberOfThreads(n_pro) - ut.pedanticModelica(True) + ut.pedanticModelica(False) ut.showGUI(show_gui) # Below are some option that may occassionally be used. # These are currently not exposed as command line arguments. From a25a7792900752246489f0af19e71402b052b223 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Mon, 7 Dec 2020 22:17:23 +0100 Subject: [PATCH 13/20] Adjust annotation For #669 --- teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone index 86391c7c4..696c91306 100644 --- a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone +++ b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone @@ -143,10 +143,10 @@ equation Tolerance=0.0001, __Dymola_Algorithm="${modelica_info.current_solver}"), __Dymola_experimentSetupOutput(equidistant=${get_true_false(modelica_info.equidistant_output)}, + events=${get_true_false(modelica_info.results_at_events)}), __Dymola_Commands(file= "Resources/Scripts/Dymola/${bldg.name}.mos" "Simulate and Plot"), - events=${get_true_false(modelica_info.results_at_events)}), Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={ Line(points={{80,-82}}, color={28,108,200}), From 9fa5b99109eb8a081a340903ca22fc5c1e01a071 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Thu, 10 Dec 2020 15:57:46 +0100 Subject: [PATCH 14/20] Change script location --- teaser/data/output/aixlib_output.py | 5 ++++- teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/teaser/data/output/aixlib_output.py b/teaser/data/output/aixlib_output.py index 3e9493d5a..830b4b766 100644 --- a/teaser/data/output/aixlib_output.py +++ b/teaser/data/output/aixlib_output.py @@ -239,8 +239,11 @@ def _help_test_script(bldg, dir_dymola, test_script_template): Path to the scripts directory """ + dir_building = os.path.join(dir_dymola, bldg.name) + if not os.path.exists(dir_building): + os.mkdir(dir_building) out_file = open(utilities.get_full_path - (os.path.join(dir_dymola, bldg.name + ".mos")), 'w') + (os.path.join(dir_building, bldg.name + ".mos")), 'w') names_variables = [] for i, zone in enumerate(bldg.thermal_zones): names_variables.append(f"multizone.PHeater[{i}]") diff --git a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone index 696c91306..92809a6bd 100644 --- a/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone +++ b/teaser/data/output/modelicatemplate/AixLib/AixLib_Multizone @@ -145,7 +145,7 @@ equation __Dymola_experimentSetupOutput(equidistant=${get_true_false(modelica_info.equidistant_output)}, events=${get_true_false(modelica_info.results_at_events)}), __Dymola_Commands(file= - "Resources/Scripts/Dymola/${bldg.name}.mos" + "Resources/Scripts/Dymola/${bldg.name}/${bldg.name}.mos" "Simulate and Plot"), Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={ From 3bd52b07f0333831514a350d55a488cb1882fb58 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Thu, 10 Dec 2020 16:05:56 +0100 Subject: [PATCH 15/20] Delete stray bracket --- teaser/data/output/modelicatemplate/modelica_test_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teaser/data/output/modelicatemplate/modelica_test_script b/teaser/data/output/modelicatemplate/modelica_test_script index eb99c9652..c5c547fc2 100644 --- a/teaser/data/output/modelicatemplate/modelica_test_script +++ b/teaser/data/output/modelicatemplate/modelica_test_script @@ -1,4 +1,4 @@ -simulateModel("${project.name}.${bldg.name}.${bldg.name}", method="Dassl", tolerance=0.0001, stopTime=${stop_time}}, resultFile="${bldg.name}"); +simulateModel("${project.name}.${bldg.name}.${bldg.name}", method="Dassl", tolerance=0.0001, stopTime=${stop_time}, resultFile="${bldg.name}"); % for name_variable in names_variables: createPlot(id=${loop.index}, y={${name_variable}}); % endfor From 6bea9b728e455105182bfc64221474776560c28e Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Thu, 10 Dec 2020 16:14:52 +0100 Subject: [PATCH 16/20] Add missing quotes --- teaser/data/output/modelicatemplate/modelica_test_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teaser/data/output/modelicatemplate/modelica_test_script b/teaser/data/output/modelicatemplate/modelica_test_script index c5c547fc2..ff6c0ce9b 100644 --- a/teaser/data/output/modelicatemplate/modelica_test_script +++ b/teaser/data/output/modelicatemplate/modelica_test_script @@ -1,5 +1,5 @@ simulateModel("${project.name}.${bldg.name}.${bldg.name}", method="Dassl", tolerance=0.0001, stopTime=${stop_time}, resultFile="${bldg.name}"); % for name_variable in names_variables: -createPlot(id=${loop.index}, y={${name_variable}}); +createPlot(id=${loop.index}, y={"${name_variable}"}); % endfor From 905830bc5ae25a29b593d8d6e39960a06aae91ac Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Thu, 10 Dec 2020 16:48:13 +0100 Subject: [PATCH 17/20] Increase count --- teaser/data/output/aixlib_output.py | 6 +++--- teaser/data/output/modelicatemplate/modelica_test_script | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/teaser/data/output/aixlib_output.py b/teaser/data/output/aixlib_output.py index 830b4b766..a05f65b4d 100644 --- a/teaser/data/output/aixlib_output.py +++ b/teaser/data/output/aixlib_output.py @@ -246,9 +246,9 @@ def _help_test_script(bldg, dir_dymola, test_script_template): (os.path.join(dir_building, bldg.name + ".mos")), 'w') names_variables = [] for i, zone in enumerate(bldg.thermal_zones): - names_variables.append(f"multizone.PHeater[{i}]") - names_variables.append(f"multizone.PCooler[{i}]") - names_variables.append(f"multizone.TAir[{i}]") + names_variables.append(f"multizone.PHeater[{i+1}]") + names_variables.append(f"multizone.PCooler[{i+1}]") + names_variables.append(f"multizone.TAir[{i+1}]") out_file.write(test_script_template.render_unicode( project=bldg.parent, bldg=bldg, diff --git a/teaser/data/output/modelicatemplate/modelica_test_script b/teaser/data/output/modelicatemplate/modelica_test_script index ff6c0ce9b..2c309e153 100644 --- a/teaser/data/output/modelicatemplate/modelica_test_script +++ b/teaser/data/output/modelicatemplate/modelica_test_script @@ -1,5 +1,5 @@ simulateModel("${project.name}.${bldg.name}.${bldg.name}", method="Dassl", tolerance=0.0001, stopTime=${stop_time}, resultFile="${bldg.name}"); % for name_variable in names_variables: -createPlot(id=${loop.index}, y={"${name_variable}"}); +createPlot(id=${loop.index + 1}, y={"${name_variable}"}); % endfor From 8de2806ee578bf51afffff66e5e969a26b7b3226 Mon Sep 17 00:00:00 2001 From: MichaMans Date: Mon, 28 Dec 2020 11:21:40 +0100 Subject: [PATCH 18/20] revised project name of e3, revised and reformatted runUnitTests.py, added pytest simulaiton export --- teaser/data/output/runUnitTests.py | 149 ++++++++++++---------- teaser/examples/e3_export_ibpsa_models.py | 1 + tests/test_simulation_export.py | 31 +++++ 3 files changed, 115 insertions(+), 66 deletions(-) create mode 100644 tests/test_simulation_export.py diff --git a/teaser/data/output/runUnitTests.py b/teaser/data/output/runUnitTests.py index 2124dd863..a9b344d77 100755 --- a/teaser/data/output/runUnitTests.py +++ b/teaser/data/output/runUnitTests.py @@ -39,6 +39,8 @@ def _validate_experiment_setup(path): val = v.Validator() retVal = val.validateExperimentSetup(path) + return retVal + def _validate_html(path): import buildingspy.development.validator as v @@ -49,7 +51,10 @@ def _validate_html(path): for i in range(n_msg): if i == 0: print( - "The following malformed html syntax has been found:\n{}".format(errMsg[i])) + "The following malformed html syntax has been found:\n{}".format( + errMsg[i] + ) + ) else: print(errMsg[i]) @@ -60,10 +65,11 @@ def _validate_html(path): def _setEnvironmentVariables(var, value): - ''' Add to the environment variable `var` the value `value` - ''' + """ Add to the environment variable `var` the value `value` + """ import os import platform + if var in os.environ: if platform.system() == "Windows": os.environ[var] = value + ";" + os.environ[var] @@ -86,11 +92,11 @@ def _runUnitTests(batch, tool, package, path, n_pro, show_gui, skip_verification ut.showGUI(show_gui) # Below are some option that may occassionally be used. # These are currently not exposed as command line arguments. -# ut.setNumberOfThreads(1) -# ut.deleteTemporaryDirectories(False) -# ut.useExistingResults(['/tmp/tmp-Buildings-0-fagmeZ']) + # ut.setNumberOfThreads(1) + # ut.deleteTemporaryDirectories(False) + # ut.useExistingResults(['/tmp/tmp-Buildings-0-fagmeZ']) -# ut.writeOpenModelicaResultDictionary() + # ut.writeOpenModelicaResultDictionary() # Run the regression tests retVal = ut.run() @@ -107,15 +113,7 @@ def _runUnitTests(batch, tool, package, path, n_pro, show_gui, skip_verification return retVal -def _runOpenModelicaUnitTests(): - import buildingspy.development.regressiontest as u - ut = u.Tester() - ut.batchMode(batch) - ut.test_OpenModelica(cmpl=True, simulate=True, - packages=['Examples'], number=-1) - - -if __name__ == '__main__': +if __name__ == "__main__": import multiprocessing import platform import argparse @@ -124,61 +122,79 @@ def _runOpenModelicaUnitTests(): # Configure the argument parser parser = argparse.ArgumentParser( - description='Run the unit tests or the html validation only.') + description="Run the unit tests or the html validation only." + ) unit_test_group = parser.add_argument_group("arguments to run unit tests") - unit_test_group.add_argument("-b", "--batch", - action="store_true", - help="Run in batch mode without user interaction") - unit_test_group.add_argument('-t', "--tool", - metavar="dymola", - default="dymola", - help="Tool for the regression tests. Set to dymola or jmodelica") - unit_test_group.add_argument('-s', "--single-package", - metavar="Modelica.Package", - help="Test only the Modelica package Modelica.Package") - unit_test_group.add_argument("-p", "--path", - default=".", - help="Path where top-level package.mo of the library is located") - unit_test_group.add_argument("-n", "--number-of-processors", - type=int, - default=multiprocessing.cpu_count(), - help='Maximum number of processors to be used') - unit_test_group.add_argument("--show-gui", - help='Show the GUI of the simulator', - action="store_true") - unit_test_group.add_argument("--skip-verification", - help='If specified, do not verify simulation results against reference points', - action="store_true") - - html_group = parser.add_argument_group( - "arguments to check html syntax only") - html_group.add_argument("--validate-html-only", - action="store_true") + unit_test_group.add_argument( + "-b", + "--batch", + action="store_true", + help="Run in batch mode without user interaction", + ) + unit_test_group.add_argument( + "-t", + "--tool", + metavar="dymola", + default="dymola", + help="Tool for the regression tests. Set to dymola or jmodelica", + ) + unit_test_group.add_argument( + "-s", + "--single-package", + metavar="Modelica.Package", + help="Test only the Modelica package Modelica.Package", + ) + unit_test_group.add_argument( + "-p", + "--path", + default=".", + help="Path where top-level package.mo of the library is located", + ) + unit_test_group.add_argument( + "-n", + "--number-of-processors", + type=int, + default=multiprocessing.cpu_count(), + help="Maximum number of processors to be used", + ) + unit_test_group.add_argument( + "--show-gui", help="Show the GUI of the simulator", action="store_true" + ) + unit_test_group.add_argument( + "--skip-verification", + help="If specified, do not verify simulation results against reference points", + action="store_true", + ) + + html_group = parser.add_argument_group("arguments to check html syntax only") + html_group.add_argument("--validate-html-only", action="store_true") experiment_setup_group = parser.add_argument_group( - "arguments to check validity of .mos and .mo experiment setup only") - experiment_setup_group.add_argument("--validate-experiment-setup", - action="store_true") + "arguments to check validity of .mos and .mo experiment setup only" + ) + experiment_setup_group.add_argument( + "--validate-experiment-setup", action="store_true" + ) # Set environment variables if platform.system() == "Windows": - _setEnvironmentVariables("PATH", - os.path.join(os.path.abspath('.'), - "Resources", "Library", "win32")) + _setEnvironmentVariables( + "PATH", os.path.join(os.path.abspath("."), "Resources", "Library", "win32") + ) else: # For https://github.com/lbl-srg/modelica-buildings/issues/559, we add # 32 and 64 bit resources to run the Utilities.IO.Python27 regression tests. - _setEnvironmentVariables("LD_LIBRARY_PATH", - os.path.join(os.path.abspath('.'), - "Resources", "Library", "linux32") + ":" + - os.path.join(os.path.abspath('.'), - "Resources", "Library", "linux64")) + _setEnvironmentVariables( + "LD_LIBRARY_PATH", + os.path.join(os.path.abspath("."), "Resources", "Library", "linux32") + + ":" + + os.path.join(os.path.abspath("."), "Resources", "Library", "linux64"), + ) # The path to buildingspy must be added to sys.path to work on Linux. # If only added to os.environ, the Python interpreter won't find buildingspy - sys.path.append(os.path.join( - os.path.abspath('.'), "..", "..", "BuildingsPy")) + sys.path.append(os.path.join(os.path.abspath("."), "..", "..", "BuildingsPy")) # Parse the arguments args = parser.parse_args() @@ -198,14 +214,15 @@ def _runOpenModelicaUnitTests(): else: single_package = None - retVal = _runUnitTests(batch=args.batch, - tool=args.tool, - package=single_package, - path=args.path, - n_pro=args.number_of_processors, - show_gui=args.show_gui, - skip_verification=args.skip_verification - ) + retVal = _runUnitTests( + batch=args.batch, + tool=args.tool, + package=single_package, + path=args.path, + n_pro=args.number_of_processors, + show_gui=args.show_gui, + skip_verification=args.skip_verification, + ) exit(retVal) # _runOpenModelicaUnitTests() diff --git a/teaser/examples/e3_export_ibpsa_models.py b/teaser/examples/e3_export_ibpsa_models.py index c7cd8b0a1..404ea5d6d 100644 --- a/teaser/examples/e3_export_ibpsa_models.py +++ b/teaser/examples/e3_export_ibpsa_models.py @@ -32,6 +32,7 @@ def example_export_ibpsa(): # file by setting Project().weather_file_path. However we will use default # weather file. + prj.name = "ArchetypeExampleIBPSA" prj.used_library_calc = 'IBPSA' prj.number_of_elements_calc = 4 prj.merge_windows_calc = False diff --git a/tests/test_simulation_export.py b/tests/test_simulation_export.py new file mode 100644 index 000000000..b52f0e49b --- /dev/null +++ b/tests/test_simulation_export.py @@ -0,0 +1,31 @@ +""" +Created August 2019 + +@author: TEASER Development Team +""" + +from teaser.logic import utilities +from teaser.project import Project +import math +import os +import warnings as warnings + +prj = Project(True) + + +class Simulation_export(object): + """Unit Tests for TEASER""" + + global prj + + def export_e2_example_export_aixlib(self): + """Tests the executability of example 2""" + from teaser.examples import e2_export_aixlib_models as e2 + + prj = e2.example_export_aixlib() + + def export_e3_example_export_ibpsa(self): + """Tests the executability of example 2""" + from teaser.examples import e3_export_ibpsa_models as e3 + + prj = e3.example_export_ibpsa() From 2516d1792ea1cfa533d7f49741b7e71cbafb4c1f Mon Sep 17 00:00:00 2001 From: MichaMans Date: Mon, 28 Dec 2020 11:24:59 +0100 Subject: [PATCH 19/20] revised formatting of aixlib_ouput.py --- teaser/data/output/aixlib_output.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teaser/data/output/aixlib_output.py b/teaser/data/output/aixlib_output.py index a05f65b4d..9a65e1414 100644 --- a/teaser/data/output/aixlib_output.py +++ b/teaser/data/output/aixlib_output.py @@ -257,6 +257,7 @@ def _help_test_script(bldg, dir_dymola, test_script_template): )) out_file.close() + def _help_package(path, name, uses=None, within=None): """creates a package.mo file From 57205625b4f2fcaf2c4d068184ecab0a78c264f5 Mon Sep 17 00:00:00 2001 From: MichaMans Date: Mon, 28 Dec 2020 17:04:39 +0100 Subject: [PATCH 20/20] added reference results for e2 and added them to the ref path of that example --- teaser/examples/e2_export_aixlib_models.py | 11 ++++++ ...dingMoisture_InstituteBuildingMoisture.txt | 34 +++++++++++++++++++ ...le_InstituteBuilding_InstituteBuilding.txt | 34 +++++++++++++++++++ ...eExample_OfficeBuilding_OfficeBuilding.txt | 31 +++++++++++++++++ ...laMulti_ResidentialBuildingTabulaMulti.txt | 16 +++++++++ ...ildingTabula_ResidentialBuildingTabula.txt | 16 +++++++++ ...esidentialBuilding_ResidentialBuilding.txt | 16 +++++++++ tests/test_simulation_export.py | 6 ---- 8 files changed, 158 insertions(+), 6 deletions(-) create mode 100644 teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_InstituteBuildingMoisture_InstituteBuildingMoisture.txt create mode 100644 teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_InstituteBuilding_InstituteBuilding.txt create mode 100644 teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_OfficeBuilding_OfficeBuilding.txt create mode 100644 teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuildingTabulaMulti_ResidentialBuildingTabulaMulti.txt create mode 100644 teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuildingTabula_ResidentialBuildingTabula.txt create mode 100644 teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuilding_ResidentialBuilding.txt diff --git a/teaser/examples/e2_export_aixlib_models.py b/teaser/examples/e2_export_aixlib_models.py index d3d260563..cc8315f6d 100644 --- a/teaser/examples/e2_export_aixlib_models.py +++ b/teaser/examples/e2_export_aixlib_models.py @@ -33,6 +33,17 @@ def example_export_aixlib(): # Be careful: Dymola does not like whitespaces in names and filenames, # thus we will delete them anyway in TEASER. + # for CI testing purpose we set the reference result folder + + prj.dir_reference_results = utilities.get_full_path( + os.path.join( + "examples", + "examplefiles", + "ReferenceResults", + "Dymola")) + + print(prj.dir_reference_results) + prj.used_library_calc = 'AixLib' prj.number_of_elements_calc = 2 prj.weather_file_path = utilities.get_full_path( diff --git a/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_InstituteBuildingMoisture_InstituteBuildingMoisture.txt b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_InstituteBuildingMoisture_InstituteBuildingMoisture.txt new file mode 100644 index 000000000..e2d7a2373 --- /dev/null +++ b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_InstituteBuildingMoisture_InstituteBuildingMoisture.txt @@ -0,0 +1,34 @@ +last-generated=2020-12-28 +statistics-initialization= +{ + "linear": "4, 3, 4, 3, 4, 3, 4" +} +statistics-simulation= +{ + "linear": "4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0", + "nonlinear": "1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1", + "number of continuous time states": "63", + "numerical Jacobians": "0" +} +time=[0e+00, 3.1536e+07] +multizone.PHeater[1]=[1e+02, 8.386046875e+03, 1.9581482421875e+04, 1.56381142578125e+04, 1.00174140625e+04, 1.9131234375e+04, 1.19045146484375e+04, 2.85655810546875e+03, 1.23102392578125e+04, 5.45715283203125e+03, 6.26051318359375e+03, 1.49307275390625e+04, 1.50804228515625e+04, 1.11311923828125e+04, 1.42376806640625e+04, 7.093359375e+03, 7.28789208984375e+03, 1.35203837890625e+04, 4.476151123046875e+02, 6.98201025390625e+03, 6.99289599609375e+03, 0e+00, 5.87409130859375e+03, 1.1025888671875e+04, 0e+00, 7.99847412109375e+03, 8.650517578125e+03, 3.243142578125e+03, 1.0590009765625e+04, 6.55458447265625e+03, 5.77266845703125e+03, 6.85764892578125e+03, 1.51819140625e+03, 0e+00, 8.03739111328125e+03, 0e+00, 4.227599182128906e+02, 4.56424560546875e+03, 0e+00, 0e+00, 0e+00, 0e+00, 6.05648193359375e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 6.41338671875e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 7.95119775390625e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 9.5008955078125e+03, 0e+00, 0e+00, 7.68312109375e+03, 0e+00, 4.57622216796875e+03, 6.9943349609375e+03, 0e+00, 8.9741455078125e+03, 9.5002744140625e+03, 4.90904150390625e+03, 1.9624455078125e+04, 9.2351923828125e+03, 5.2811025390625e+03, 1.26924912109375e+04, 1.3395294921875e+04, 8.528501953125e+03, 1.4670609375e+04, 9.826818359375e+03, 1.1074470703125e+04, 2.0101494140625e+04, 1.22675234375e+04, 1.0108923828125e+04, 1.7169837890625e+04, 6.806427734375e+03, 1.2604783203125e+04, 1.25831728515625e+04] +multizone.PCooler[1]=[0e+00, 0e+00] +multizone.TAir[1]=[2.931499938964844e+02, 2.940246276855469e+02, 2.947437744140625e+02, 2.941237487792969e+02, 2.942114868164062e+02, 2.941585388183594e+02, 2.941242980957031e+02, 2.942129211425781e+02, 2.941436767578125e+02, 2.939560852050781e+02, 2.941997680664062e+02, 2.941023864746094e+02, 2.935132141113281e+02, 2.942226257324219e+02, 2.941242980957031e+02, 2.939716796875e+02, 2.943940734863281e+02, 2.941167907714844e+02, 2.940718383789062e+02, 2.942541809082031e+02, 2.940226135253906e+02, 2.944649353027344e+02, 2.94743408203125e+02, 2.940479431152344e+02, 2.945648193359375e+02, 2.941908874511719e+02, 2.9382373046875e+02, 2.943224182128906e+02, 2.941344604492188e+02, 2.939820861816406e+02, 2.942314758300781e+02, 2.940142517089844e+02, 2.936914672851562e+02, 2.954708557128906e+02, 2.941212158203125e+02, 2.964126892089844e+02, 2.941980590820312e+02, 2.93947509765625e+02, 2.963486022949219e+02, 2.949640808105469e+02, 2.950096130371094e+02, 2.959297180175781e+02, 2.950712280273438e+02, 2.977620239257812e+02, 3.008502807617188e+02, 2.970914001464844e+02, 2.965965881347656e+02, 2.9510498046875e+02, 2.941316833496094e+02, 2.96151611328125e+02, 2.963821105957031e+02, 2.947516784667969e+02, 2.959754638671875e+02, 2.967874145507812e+02, 3.010007629394531e+02, 3.004849548339844e+02, 2.985504455566406e+02, 2.949775390625e+02, 3.016115417480469e+02, 2.987602233886719e+02, 2.953989562988281e+02, 2.974825744628906e+02, 2.989003295898438e+02, 2.992334899902344e+02, 3.003338012695312e+02, 2.955590209960938e+02, 2.943482055664062e+02, 2.967406005859375e+02, 2.940433044433594e+02, 2.942065124511719e+02, 2.990029602050781e+02, 2.949752807617188e+02, 2.947103271484375e+02, 2.952021789550781e+02, 2.941387329101562e+02, 2.94777099609375e+02, 2.947566833496094e+02, 2.941370239257812e+02, 2.944359741210938e+02, 2.942498779296875e+02, 2.940823669433594e+02, 2.942919921875e+02, 2.94749755859375e+02, 2.940630798339844e+02, 2.940862121582031e+02, 2.9414697265625e+02, 2.940653686523438e+02, 2.942398681640625e+02, 2.941363830566406e+02, 2.9397607421875e+02, 2.941988830566406e+02, 2.941284484863281e+02, 2.936070251464844e+02, 2.941069641113281e+02, 2.941098327636719e+02, 2.940635070800781e+02, 2.94107666015625e+02, 2.941551208496094e+02, 2.941426086425781e+02, 2.942529907226562e+02, 2.9411572265625e+02] +multizone.PHeater[2]=[1e+02, 1.7611595703125e+04, 2.7303626953125e+04, 1.9886009765625e+04, 2.0309625e+04, 2.45286484375e+04, 1.55193896484375e+04, 1.0994111328125e+04, 1.5765986328125e+04, 6.94789208984375e+03, 1.6198958984375e+04, 1.86043515625e+04, 2.1778275390625e+04, 2.124176953125e+04, 1.814596875e+04, 1.43023916015625e+04, 1.57623134765625e+04, 1.7408552734375e+04, 7.59693408203125e+03, 1.42422109375e+04, 1.07407666015625e+04, 7.87066015625e+03, 1.17416552734375e+04, 1.392100390625e+04, 4.84337353515625e+03, 1.333230078125e+04, 1.1363384765625e+04, 1.231436328125e+04, 1.394442578125e+04, 9.357439453125e+03, 1.50776015625e+04, 9.77064453125e+03, 4.50875244140625e+03, 8.398074951171875e+02, 1.10734091796875e+04, 0e+00, 9.9525166015625e+03, 7.934900390625e+03, 0e+00, 5.309326171875e+03, 0e+00, 0e+00, 6.4716416015625e+03, 0e+00, 0e+00, 0e+00, 0e+00, 5.18576123046875e+03, 1.08610830078125e+04, 0e+00, 0e+00, 6.884430541992188e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.814990966796875e+03, 0e+00, 1.23410654296875e+04, 9.979924774169922e+01, 0e+00, 0e+00, 0e+00, 4.09430224609375e+03, 1.353507421875e+04, 1.037084350585938e+03, 7.274794921875e+03, 1.169414453125e+04, 5.7309990234375e+03, 1.2220380859375e+04, 1.09350517578125e+04, 8.357470703125e+03, 1.5157658203125e+04, 1.24846923828125e+04, 1.42654130859375e+04, 2.528726171875e+04, 1.15185048828125e+04, 1.47371796875e+04, 1.6881353515625e+04, 1.7590392578125e+04, 1.8557564453125e+04, 1.8706197265625e+04, 1.53445712890625e+04, 2.052556640625e+04, 2.5753572265625e+04, 2.2195482421875e+04, 1.792931640625e+04, 2.210223046875e+04, 1.6776189453125e+04, 2.095398046875e+04, 1.605562890625e+04] +multizone.PCooler[2]=[0e+00, 0e+00] +multizone.TAir[2]=[2.931499938964844e+02, 2.939650573730469e+02, 2.944117431640625e+02, 2.941130981445312e+02, 2.941742553710938e+02, 2.941641235351562e+02, 2.94147216796875e+02, 2.943063354492188e+02, 2.941396179199219e+02, 2.939077453613281e+02, 2.940921325683594e+02, 2.940471496582031e+02, 2.939626770019531e+02, 2.940840148925781e+02, 2.94121826171875e+02, 2.940863647460938e+02, 2.942939147949219e+02, 2.941095886230469e+02, 2.941416931152344e+02, 2.941820678710938e+02, 2.939716491699219e+02, 2.943103332519531e+02, 2.944216918945312e+02, 2.940074157714844e+02, 2.942773742675781e+02, 2.941904602050781e+02, 2.9380615234375e+02, 2.9445849609375e+02, 2.941187438964844e+02, 2.940499267578125e+02, 2.941421508789062e+02, 2.939562377929688e+02, 2.938031921386719e+02, 2.944253845214844e+02, 2.94099609375e+02, 2.952083129882812e+02, 2.940990295410156e+02, 2.938907775878906e+02, 2.947516174316406e+02, 2.945103454589844e+02, 2.943243713378906e+02, 2.944143371582031e+02, 2.947392883300781e+02, 2.96780517578125e+02, 2.976405944824219e+02, 2.965375366210938e+02, 2.955616760253906e+02, 2.941791381835938e+02, 2.941275024414062e+02, 2.953094177246094e+02, 2.948056945800781e+02, 2.940343322753906e+02, 2.949234619140625e+02, 2.951353149414062e+02, 3.003990478515625e+02, 2.995075378417969e+02, 2.9680859375e+02, 2.944313659667969e+02, 2.986301574707031e+02, 2.973739318847656e+02, 2.945739135742188e+02, 2.955391540527344e+02, 2.971085510253906e+02, 2.985714721679688e+02, 2.9914501953125e+02, 2.952885131835938e+02, 2.938546142578125e+02, 2.953560180664062e+02, 2.940530395507812e+02, 2.940683288574219e+02, 2.969263305664062e+02, 2.94270263671875e+02, 2.943675537109375e+02, 2.945800170898438e+02, 2.941334838867188e+02, 2.940758666992188e+02, 2.945347290039062e+02, 2.941404113769531e+02, 2.94247802734375e+02, 2.941834716796875e+02, 2.940553894042969e+02, 2.941910400390625e+02, 2.944228820800781e+02, 2.940574645996094e+02, 2.940941162109375e+02, 2.941278381347656e+02, 2.94058349609375e+02, 2.943278503417969e+02, 2.941253051757812e+02, 2.940594787597656e+02, 2.940885009765625e+02, 2.941249389648438e+02, 2.940342102050781e+02, 2.939453430175781e+02, 2.94091064453125e+02, 2.942318420410156e+02, 2.939850769042969e+02, 2.94158447265625e+02, 2.942227783203125e+02, 2.941724853515625e+02, 2.941207885742188e+02] +multizone.PHeater[3]=[1e+02, 3.2491962890625e+04, 5.835840234375e+04, 4.5975546875e+04, 3.597209375e+04, 5.079942578125e+04, 3.68187578125e+04, 1.953615625e+04, 3.57338984375e+04, 1.916524609375e+04, 3.1410943359375e+04, 4.31751640625e+04, 4.069225390625e+04, 3.9713109375e+04, 4.079591796875e+04, 2.4631609375e+04, 3.590379296875e+04, 4.1331703125e+04, 1.33901904296875e+04, 3.510508203125e+04, 2.69371640625e+04, 1.47027080078125e+04, 3.0367421875e+04, 3.4487359375e+04, 8.2796396484375e+03, 3.325020703125e+04, 2.5418966796875e+04, 2.3652478515625e+04, 3.1786185546875e+04, 2.5100572265625e+04, 2.998884375e+04, 1.8967958984375e+04, 8.9252373046875e+03, 4.5308115234375e+03, 2.6524298828125e+04, 0e+00, 2.170729296875e+04, 1.6219931640625e+04, 0e+00, 2.012034765625e+04, 0e+00, 0e+00, 1.916021875e+04, 0e+00, 0e+00, 0e+00, 0e+00, 6.767849609375e+03, 2.3225763671875e+04, 0e+00, 0e+00, 5.23679443359375e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 5.44836181640625e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 7.1309306640625e+03, 0e+00, 2.6352580078125e+04, 8.848853149414062e+02, 0e+00, 0e+00, 0e+00, 1.3699416015625e+04, 3.0116873046875e+04, 2.206215209960938e+02, 2.3914662109375e+04, 2.6384908203125e+04, 9.1536611328125e+03, 3.81424375e+04, 2.6133708984375e+04, 1.31902099609375e+04, 4.1237703125e+04, 3.05879765625e+04, 2.6520900390625e+04, 5.1688265625e+04, 3.22591015625e+04, 2.5723154296875e+04, 3.791328515625e+04, 4.09734453125e+04, 3.56219921875e+04, 4.194186328125e+04, 3.391150390625e+04, 4.28207734375e+04, 5.2416515625e+04, 3.94762890625e+04, 4.319559765625e+04, 4.590398046875e+04, 2.9702830078125e+04, 4.62486484375e+04, 3.832765234375e+04] +multizone.PCooler[3]=[0e+00, 0e+00] +multizone.TAir[3]=[2.931499938964844e+02, 2.940831909179688e+02, 2.946441345214844e+02, 2.941544189453125e+02, 2.942229919433594e+02, 2.9408740234375e+02, 2.940012817382812e+02, 2.942806091308594e+02, 2.941302185058594e+02, 2.933001098632812e+02, 2.948036804199219e+02, 2.93902587890625e+02, 2.934888610839844e+02, 2.942881469726562e+02, 2.941326293945312e+02, 2.939658508300781e+02, 2.94722412109375e+02, 2.941887817382812e+02, 2.941661071777344e+02, 2.942793884277344e+02, 2.939067687988281e+02, 2.946519775390625e+02, 2.943688354492188e+02, 2.939651489257812e+02, 2.944888610839844e+02, 2.937999572753906e+02, 2.931858825683594e+02, 2.945137634277344e+02, 2.940848083496094e+02, 2.9368212890625e+02, 2.948591613769531e+02, 2.937037353515625e+02, 2.932621765136719e+02, 2.950535888671875e+02, 2.940802001953125e+02, 2.959464111328125e+02, 2.943565368652344e+02, 2.936443786621094e+02, 2.953626708984375e+02, 2.951012573242188e+02, 2.942023315429688e+02, 2.94961669921875e+02, 2.951725158691406e+02, 2.970337524414062e+02, 2.995454406738281e+02, 2.9589453125e+02, 2.954981994628906e+02, 2.940514221191406e+02, 2.94052734375e+02, 2.956248168945312e+02, 2.954857482910156e+02, 2.94014892578125e+02, 2.951034240722656e+02, 2.959368896484375e+02, 3.00720458984375e+02, 2.99989501953125e+02, 2.975935668945312e+02, 2.939525146484375e+02, 3.007504577636719e+02, 2.976180419921875e+02, 2.944902038574219e+02, 2.96392578125e+02, 2.97968505859375e+02, 2.985771179199219e+02, 2.996484680175781e+02, 2.944141845703125e+02, 2.933999633789062e+02, 2.962276000976562e+02, 2.939566650390625e+02, 2.938291625976562e+02, 2.979299011230469e+02, 2.942725219726562e+02, 2.9417431640625e+02, 2.952545776367188e+02, 2.941428833007812e+02, 2.940402526855469e+02, 2.953774719238281e+02, 2.942152404785156e+02, 2.94369873046875e+02, 2.9405419921875e+02, 2.941145935058594e+02, 2.943961181640625e+02, 2.941455688476562e+02, 2.940144958496094e+02, 2.940272521972656e+02, 2.939865112304688e+02, 2.937645263671875e+02, 2.942218627929688e+02, 2.941615905761719e+02, 2.936777648925781e+02, 2.947404174804688e+02, 2.94133544921875e+02, 2.934985656738281e+02, 2.942247314453125e+02, 2.940367736816406e+02, 2.941428833007812e+02, 2.942677612304688e+02, 2.941600341796875e+02, 2.94114013671875e+02, 2.943337707519531e+02, 2.942194519042969e+02] +multizone.PHeater[4]=[1e+02, 5.362880249023438e+02, 3.64031884765625e+03, 3.757800537109375e+03, 1.04993798828125e+03, 4.648595703125e+03, 2.83078564453125e+03, 0e+00, 2.9803251953125e+03, 9.801879272460938e+02, 0e+00, 3.57151025390625e+03, 4.3325302734375e+03, 1.126410766601562e+03, 3.466441650390625e+03, 9.541574096679688e+02, 2.316463623046875e+02, 3.238454345703125e+03, 0e+00, 4.961312255859375e+02, 1.175288208007812e+03, 0e+00, 0e+00, 2.31002783203125e+03, 0e+00, 1.286477661132812e+03, 1.734292236328125e+03, 0e+00, 2.278953125e+03, 1.035943725585938e+03, 0e+00, 1.201489868164062e+03, 2.932907867431641e+01, 0e+00, 1.454365356445312e+03, 0e+00, 0e+00, 4.411642761230469e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 8.772068481445312e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.495709838867188e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.796035522460938e+03, 0e+00, 0e+00, 1.282204833984375e+03, 0e+00, 0e+00, 1.03986474609375e+03, 0e+00, 6.977224731445312e+02, 1.849115966796875e+03, 0e+00, 4.7248515625e+03, 2.026081176757812e+03, 1.463797283172607e+01, 2.860666015625e+03, 3.352849853515625e+03, 4.308256225585938e+02, 3.574892578125e+03, 2.86194189453125e+03, 1.243277709960938e+03, 4.9023681640625e+03, 2.179914306640625e+03, 1.434754028320312e+03, 4.13961962890625e+03, 2.379995574951172e+02, 2.1752158203125e+03, 3.01736181640625e+03] +multizone.PCooler[4]=[0e+00, 0e+00] +multizone.TAir[4]=[2.931499938964844e+02, 2.941214294433594e+02, 2.943389587402344e+02, 2.941412048339844e+02, 2.9421240234375e+02, 2.941520690917969e+02, 2.941431579589844e+02, 2.944978942871094e+02, 2.941510620117188e+02, 2.941305847167969e+02, 2.944091186523438e+02, 2.94158935546875e+02, 2.939401550292969e+02, 2.942118225097656e+02, 2.94146240234375e+02, 2.940780029296875e+02, 2.942764587402344e+02, 2.941382446289062e+02, 2.950509033203125e+02, 2.941872863769531e+02, 2.941200256347656e+02, 2.95615966796875e+02, 2.94378173828125e+02, 2.941216125488281e+02, 2.956992492675781e+02, 2.941506652832031e+02, 2.940665588378906e+02, 2.946063232421875e+02, 2.941464538574219e+02, 2.941346130371094e+02, 2.943668212890625e+02, 2.941122131347656e+02, 2.940933837890625e+02, 2.965957336425781e+02, 2.941396789550781e+02, 2.973796997070312e+02, 2.952050476074219e+02, 2.940950927734375e+02, 2.976529541015625e+02, 2.958745727539062e+02, 2.957137145996094e+02, 2.973501892089844e+02, 2.955343627929688e+02, 2.982882080078125e+02, 3.0171044921875e+02, 2.974666748046875e+02, 2.971329345703125e+02, 2.962670593261719e+02, 2.941522216796875e+02, 2.968504333496094e+02, 2.976470336914062e+02, 2.954847412109375e+02, 2.968162841796875e+02, 2.981128234863281e+02, 3.012295227050781e+02, 3.009176940917969e+02, 2.993881530761719e+02, 2.955393371582031e+02, 3.023968811035156e+02, 2.993400268554688e+02, 2.959934692382812e+02, 2.987315063476562e+02, 2.995608215332031e+02, 2.994927368164062e+02, 3.008226928710938e+02, 2.959324645996094e+02, 2.950148620605469e+02, 2.977501831054688e+02, 2.941054992675781e+02, 2.947326965332031e+02, 2.999708557128906e+02, 2.956546020507812e+02, 2.953089599609375e+02, 2.962952270507812e+02, 2.941431579589844e+02, 2.957256469726562e+02, 2.956531677246094e+02, 2.941411743164062e+02, 2.954951171875e+02, 2.943041687011719e+02, 2.941247253417969e+02, 2.955299682617188e+02, 2.943380126953125e+02, 2.941160888671875e+02, 2.942602233886719e+02, 2.941547241210938e+02, 2.941358947753906e+02, 2.941431579589844e+02, 2.941448364257812e+02, 2.941253967285156e+02, 2.941504516601562e+02, 2.941441345214844e+02, 2.939505004882812e+02, 2.94186767578125e+02, 2.941388244628906e+02, 2.940928039550781e+02, 2.942035217285156e+02, 2.94151123046875e+02, 2.940853576660156e+02, 2.9418798828125e+02, 2.941372985839844e+02] +multizone.PHeater[5]=[1e+02, 3.599444580078125e+03, 4.69536962890625e+03, 4.18269775390625e+03, 3.653354736328125e+03, 5.04676611328125e+03, 3.246576904296875e+03, 1.523548706054688e+03, 3.30585546875e+03, 1.931483032226562e+03, 2.934154541015625e+03, 4.029028076171875e+03, 4.8019287109375e+03, 4.02215283203125e+03, 3.824502197265625e+03, 2.6701181640625e+03, 2.523652587890625e+03, 3.66754541015625e+03, 1.26145361328125e+03, 2.298326904296875e+03, 2.3995634765625e+03, 8.635612182617188e+02, 1.351373901367188e+03, 3.11677734375e+03, 4.30142578125e+02, 2.447340087890625e+03, 2.9697978515625e+03, 1.460098022460938e+03, 2.912657470703125e+03, 2.134140380859375e+03, 2.70534033203125e+03, 2.2803662109375e+03, 1.45369677734375e+03, 0e+00, 2.34326611328125e+03, 0e+00, 1.400025268554688e+03, 1.94052099609375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 2.159228271484375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 3.497440795898438e+02, 0e+00, 2.58147607421875e+03, 1.307779846191406e+02, 0e+00, 0e+00, 0e+00, 0e+00, 2.753843017578125e+03, 0e+00, 1.2133544921875e+02, 2.3383603515625e+03, 5.64778076171875e+02, 1.874793579101562e+03, 2.33564990234375e+03, 1.174891479492188e+03, 2.059864013671875e+03, 2.71806103515625e+03, 2.43629345703125e+03, 5.2114814453125e+03, 2.597119384765625e+03, 2.168721435546875e+03, 3.465242919921875e+03, 3.806049560546875e+03, 3.47165625e+03, 3.9231728515625e+03, 3.325361083984375e+03, 4.12095458984375e+03, 5.367861328125e+03, 3.94322509765625e+03, 3.556095703125e+03, 4.55789599609375e+03, 2.89433935546875e+03, 3.724569091796875e+03, 3.396384521484375e+03] +multizone.PCooler[5]=[0e+00, 0e+00] +multizone.TAir[5]=[2.931499938964844e+02, 2.940958862304688e+02, 2.942705078125e+02, 2.941431579589844e+02, 2.941288146972656e+02, 2.94154052734375e+02, 2.941460571289062e+02, 2.941971435546875e+02, 2.94152099609375e+02, 2.941343688964844e+02, 2.941672973632812e+02, 2.941575622558594e+02, 2.940301208496094e+02, 2.941284790039062e+02, 2.941469116210938e+02, 2.941506042480469e+02, 2.941974487304688e+02, 2.941405639648438e+02, 2.941918029785156e+02, 2.941183471679688e+02, 2.941253662109375e+02, 2.941730041503906e+02, 2.942666015625e+02, 2.941249084472656e+02, 2.94141357421875e+02, 2.941579284667969e+02, 2.940719909667969e+02, 2.942060241699219e+02, 2.941495361328125e+02, 2.941411437988281e+02, 2.941890563964844e+02, 2.94117919921875e+02, 2.940081481933594e+02, 2.946070556640625e+02, 2.94143798828125e+02, 2.956235656738281e+02, 2.941479797363281e+02, 2.941017456054688e+02, 2.952521667480469e+02, 2.943302612304688e+02, 2.945230102539062e+02, 2.9477001953125e+02, 2.944697875976562e+02, 2.9709912109375e+02, 2.984507446289062e+02, 2.968205261230469e+02, 2.959431457519531e+02, 2.941882934570312e+02, 2.941609191894531e+02, 2.955604858398438e+02, 2.952142028808594e+02, 2.942070922851562e+02, 2.952598266601562e+02, 2.955999145507812e+02, 3.006680908203125e+02, 2.999631958007812e+02, 2.974133605957031e+02, 2.946062927246094e+02, 2.997837829589844e+02, 2.980341491699219e+02, 2.948776245117188e+02, 2.960965270996094e+02, 2.978967590332031e+02, 2.989015197753906e+02, 2.99647705078125e+02, 2.954062194824219e+02, 2.940549011230469e+02, 2.957647094726562e+02, 2.941131591796875e+02, 2.940716857910156e+02, 2.975684814453125e+02, 2.944540405273438e+02, 2.943993530273438e+02, 2.944309387207031e+02, 2.941490478515625e+02, 2.942236633300781e+02, 2.942001953125e+02, 2.941477966308594e+02, 2.941697082519531e+02, 2.941505126953125e+02, 2.94132080078125e+02, 2.941576538085938e+02, 2.942730407714844e+02, 2.941220703125e+02, 2.940629272460938e+02, 2.94156005859375e+02, 2.941370849609375e+02, 2.942025756835938e+02, 2.941471252441406e+02, 2.941288452148438e+02, 2.941685485839844e+02, 2.941453552246094e+02, 2.940411682128906e+02, 2.941031494140625e+02, 2.941399841308594e+02, 2.941695251464844e+02, 2.941146850585938e+02, 2.941528930664062e+02, 2.942377319335938e+02, 2.941172790527344e+02, 2.941391296386719e+02] +multizone.PHeater[6]=[1e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00] +multizone.PCooler[6]=[0e+00, 0e+00] +multizone.TAir[6]=[2.931499938964844e+02, 2.984861755371094e+02, 2.981178283691406e+02, 2.989070739746094e+02, 2.986601257324219e+02, 2.985185241699219e+02, 3.015724487304688e+02, 3.036666259765625e+02, 3.008711853027344e+02, 3.018366394042969e+02, 3.028622741699219e+02, 2.991167297363281e+02, 2.984389953613281e+02, 2.985657653808594e+02, 2.992688598632812e+02, 2.986432495117188e+02, 3.011436157226562e+02, 2.994855346679688e+02, 3.029272155761719e+02, 3.010239868164062e+02, 3.001640625e+02, 3.053193054199219e+02, 3.031463928222656e+02, 2.998497924804688e+02, 3.025365600585938e+02, 3.010421447753906e+02, 3.021965942382812e+02, 3.021029357910156e+02, 3.012887878417969e+02, 3.022269592285156e+02, 3.019934387207031e+02, 3.040726013183594e+02, 3.043961486816406e+02, 3.074976501464844e+02, 3.024818725585938e+02, 3.093147583007812e+02, 3.052514343261719e+02, 3.041676330566406e+02, 3.085788879394531e+02, 3.062219848632812e+02, 3.06887451171875e+02, 3.081890869140625e+02, 3.065939025878906e+02, 3.106932678222656e+02, 3.144098815917969e+02, 3.073562316894531e+02, 3.087308654785156e+02, 3.055338134765625e+02, 3.044036254882812e+02, 3.098099060058594e+02, 3.088785095214844e+02, 3.073943176269531e+02, 3.087958984375e+02, 3.098835754394531e+02, 3.154463806152344e+02, 3.142116088867188e+02, 3.121344604492188e+02, 3.058683776855469e+02, 3.154865112304688e+02, 3.108345947265625e+02, 3.080560913085938e+02, 3.101954345703125e+02, 3.117227783203125e+02, 3.120018615722656e+02, 3.136600341796875e+02, 3.064363098144531e+02, 3.05331787109375e+02, 3.103987121582031e+02, 3.040739440917969e+02, 3.064986267089844e+02, 3.124335021972656e+02, 3.076618347167969e+02, 3.070108032226562e+02, 3.06828125e+02, 3.035579528808594e+02, 3.061852722167969e+02, 3.061470031738281e+02, 3.037966003417969e+02, 3.05888671875e+02, 3.013460693359375e+02, 3.018476867675781e+02, 3.054540710449219e+02, 3.01427001953125e+02, 3.030161743164062e+02, 3.0242529296875e+02, 2.98333984375e+02, 3.011407775878906e+02, 3.0284619140625e+02, 2.99544677734375e+02, 2.993017272949219e+02, 3.016160278320312e+02, 2.9930810546875e+02, 2.995695495605469e+02, 2.991571350097656e+02, 2.981929321289062e+02, 2.985147399902344e+02, 2.996888122558594e+02, 2.988979187011719e+02, 3.021361083984375e+02, 2.986479797363281e+02, 3.008480834960938e+02] +multizone.PHeater[7]=[2e+02, 5.644876953125e+03, 2.7344365234375e+04, 1.44201640625e+04, 1.564953125e+04, 1.8821328125e+04, 1.9694271484375e+04, 1.929510620117188e+03, 2.0797576171875e+04, 3.713583251953125e+03, 1.26872314453125e+04, 1.36533662109375e+04, 2.1396380859375e+04, 8.9348779296875e+03, 2.256397265625e+04, 4.3657421875e+03, 1.5298978515625e+04, 1.26490458984375e+04, 6.725380859375e+03, 8.2707216796875e+03, 1.61975869140625e+04, 0e+00, 1.577466015625e+04, 8.9882685546875e+03, 4.9697490234375e+03, 9.72380859375e+03, 1.7087216796875e+04, 2.332328857421875e+03, 1.9101529296875e+04, 3.892494384765625e+03, 1.20638603515625e+04, 8.103171875e+03, 9.7390859375e+03, 0e+00, 1.6953404296875e+04, 0e+00, 1.21931337890625e+04, 6.906927734375e+03, 6.095343399047852e+01, 2.708331298828125e+03, 1.27766953125e+04, 0e+00, 1.3381740234375e+04, 0e+00, 0e+00, 1.308480834960938e+03, 3.694156005859375e+03, 5.879886474609375e+02, 1.65086484375e+04, 0e+00, 0e+00, 3.011000244140625e+03, 2.05298095703125e+03, 0e+00, 0e+00, 0e+00, 0e+00, 5.04843798828125e+03, 0e+00, 0e+00, 1.26346298828125e+04, 0e+00, 1.77198779296875e+03, 0e+00, 0e+00, 4.5907958984375e+03, 1.406387890625e+04, 0e+00, 1.7955e+04, 4.770840454101562e+02, 0e+00, 1.660641723632812e+03, 3.60809228515625e+03, 0e+00, 1.9002125e+04, 6.709874267578125e+02, 8.99993359375e+03, 1.017259765625e+04, 5.102490234375e+03, 9.16527734375e+03, 1.604753125e+04, 1.822310668945312e+03, 1.78416328125e+04, 1.29231201171875e+04, 9.79584375e+03, 2.3746775390625e+04, 1.4094873046875e+04, 9.0774580078125e+03, 1.79340390625e+04, 1.7200693359375e+04, 1.10346611328125e+04, 2.054462890625e+04, 1.1158330078125e+04, 1.52062060546875e+04, 2.30717890625e+04, 1.720171875e+04, 1.2986912109375e+04, 2.3719279296875e+04, 7.21408642578125e+03, 2.0100904296875e+04, 1.489993359375e+04] +multizone.PCooler[7]=[0e+00, 0e+00] +multizone.TAir[7]=[2.931499938964844e+02, 2.951907958984375e+02, 2.954685668945312e+02, 2.951205139160156e+02, 2.954013061523438e+02, 2.9520654296875e+02, 2.950528259277344e+02, 2.952258911132812e+02, 2.951278381347656e+02, 2.94931640625e+02, 2.952652282714844e+02, 2.951077880859375e+02, 2.946100463867188e+02, 2.954173889160156e+02, 2.951166076660156e+02, 2.9497705078125e+02, 2.955367736816406e+02, 2.951294555664062e+02, 2.94991455078125e+02, 2.953919982910156e+02, 2.950143432617188e+02, 2.954677429199219e+02, 2.9559375e+02, 2.950164794921875e+02, 2.954918823242188e+02, 2.951959228515625e+02, 2.94815185546875e+02, 2.952799377441406e+02, 2.951241149902344e+02, 2.949356384277344e+02, 2.952558288574219e+02, 2.950218505859375e+02, 2.944835815429688e+02, 2.958867797851562e+02, 2.951170959472656e+02, 2.958859252929688e+02, 2.95376953125e+02, 2.949714050292969e+02, 2.950943603515625e+02, 2.955946960449219e+02, 2.950164489746094e+02, 2.958505859375e+02, 2.9585986328125e+02, 2.955329895019531e+02, 2.977090454101562e+02, 2.951077575683594e+02, 2.948674621582031e+02, 2.951486206054688e+02, 2.951289367675781e+02, 2.9548388671875e+02, 2.952369079589844e+02, 2.950461730957031e+02, 2.946246337890625e+02, 2.963381652832031e+02, 2.960144348144531e+02, 2.965108947753906e+02, 2.963868713378906e+02, 2.949407348632812e+02, 2.971665649414062e+02, 2.959039306640625e+02, 2.951104125976562e+02, 2.964297485351562e+02, 2.958030395507812e+02, 2.957001342773438e+02, 2.970046691894531e+02, 2.949973449707031e+02, 2.947565002441406e+02, 2.961198425292969e+02, 2.950731201171875e+02, 2.950213317871094e+02, 2.963291320800781e+02, 2.946070251464844e+02, 2.945081481933594e+02, 2.953927917480469e+02, 2.951363830566406e+02, 2.949290161132812e+02, 2.957919921875e+02, 2.94456787109375e+02, 2.951990966796875e+02, 2.947893371582031e+02, 2.952311706542969e+02, 2.948403625488281e+02, 2.960153198242188e+02, 2.945585021972656e+02, 2.956610412597656e+02, 2.947355651855469e+02, 2.954804992675781e+02, 2.948546142578125e+02, 2.955447692871094e+02, 2.945852661132812e+02, 2.955942077636719e+02, 2.948691711425781e+02, 2.950910949707031e+02, 2.950506286621094e+02, 2.954170837402344e+02, 2.948065490722656e+02, 2.955256958007812e+02, 2.949698181152344e+02, 2.953526306152344e+02, 2.952456970214844e+02, 2.953434448242188e+02] diff --git a/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_InstituteBuilding_InstituteBuilding.txt b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_InstituteBuilding_InstituteBuilding.txt new file mode 100644 index 000000000..7bb68fc26 --- /dev/null +++ b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_InstituteBuilding_InstituteBuilding.txt @@ -0,0 +1,34 @@ +last-generated=2020-12-28 +statistics-initialization= +{ + "linear": "4, 4, 4, 4, 4, 4, 4" +} +statistics-simulation= +{ + "linear": "0, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0", + "nonlinear": "1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1", + "number of continuous time states": "49", + "numerical Jacobians": "0" +} +time=[0e+00, 3.1536e+07] +multizone.PHeater[1]=[1e+02, 1.42446982421875e+04, 2.4408541015625e+04, 1.9520166015625e+04, 1.45551552734375e+04, 2.375341796875e+04, 1.4922900390625e+04, 5.1568330078125e+03, 1.50721064453125e+04, 9.0324453125e+03, 8.7157763671875e+03, 1.806140234375e+04, 1.9974896484375e+04, 1.5472904296875e+04, 1.7647794921875e+04, 1.3412666015625e+04, 1.1212123046875e+04, 1.68066640625e+04, 4.1400263671875e+03, 1.05930146484375e+04, 1.15054716796875e+04, 1.167955688476562e+03, 9.051404296875e+03, 1.49071513671875e+04, 2.703955810546875e+03, 1.20912392578125e+04, 1.17088232421875e+04, 6.54167626953125e+03, 1.357015234375e+04, 9.845654296875e+03, 8.4334384765625e+03, 8.9206298828125e+03, 3.168873291015625e+03, 0e+00, 1.05890302734375e+04, 0e+00, 3.479050048828125e+03, 6.65848681640625e+03, 0e+00, 0e+00, 0e+00, 0e+00, 1.856337036132812e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 8.9713310546875e+03, 0e+00, 0e+00, 8.566010743379593e-02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 2.171761779785156e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 3.273178466796875e+03, 0e+00, 1.01618330078125e+04, 5.690327758789062e+02, 0e+00, 0e+00, 0e+00, 0e+00, 1.21068837890625e+04, 0e+00, 1.083226684570312e+03, 1.09564248046875e+04, 0e+00, 8.45123046875e+03, 1.21215751953125e+04, 1.881467163085938e+03, 1.17457724609375e+04, 1.1700537109375e+04, 7.742087890625e+03, 2.5025390625e+04, 1.20654052734375e+04, 7.803140625e+03, 1.6981638671875e+04, 1.70974375e+04, 1.1244650390625e+04, 1.806633984375e+04, 1.39991298828125e+04, 1.4580025390625e+04, 2.59606171875e+04, 1.7592052734375e+04, 1.343979296875e+04, 2.1450328125e+04, 9.366462890625e+03, 1.710143359375e+04, 1.55375595703125e+04] +multizone.PCooler[1]=[0e+00, 0e+00] +multizone.TAir[1]=[2.931499938964844e+02, 2.939974365234375e+02, 2.947203674316406e+02, 2.941243896484375e+02, 2.942171936035156e+02, 2.94166259765625e+02, 2.941362609863281e+02, 2.941986694335938e+02, 2.941446533203125e+02, 2.939617919921875e+02, 2.94206298828125e+02, 2.94091796875e+02, 2.935353698730469e+02, 2.942249145507812e+02, 2.941269836425781e+02, 2.939802856445312e+02, 2.944332275390625e+02, 2.941127624511719e+02, 2.94038330078125e+02, 2.942426147460938e+02, 2.940231018066406e+02, 2.943085327148438e+02, 2.947286071777344e+02, 2.940445556640625e+02, 2.942670288085938e+02, 2.94181396484375e+02, 2.938400268554688e+02, 2.942955322265625e+02, 2.941343078613281e+02, 2.940085144042969e+02, 2.942557983398438e+02, 2.940186767578125e+02, 2.935600280761719e+02, 2.953059387207031e+02, 2.941131896972656e+02, 2.96305419921875e+02, 2.942200927734375e+02, 2.939472961425781e+02, 2.959954833984375e+02, 2.945478515625e+02, 2.944615173339844e+02, 2.955994873046875e+02, 2.950382690429688e+02, 2.975297546386719e+02, 3.008138122558594e+02, 2.966191711425781e+02, 2.959499816894531e+02, 2.942093811035156e+02, 2.941474609375e+02, 2.960380554199219e+02, 2.96137939453125e+02, 2.941494445800781e+02, 2.955867309570312e+02, 2.966872253417969e+02, 3.010678405761719e+02, 3.002397155761719e+02, 2.979864196777344e+02, 2.940279541015625e+02, 3.016375122070312e+02, 2.982665710449219e+02, 2.944267272949219e+02, 2.971819763183594e+02, 2.989015502929688e+02, 2.987680358886719e+02, 3.000941772460938e+02, 2.946025085449219e+02, 2.938114013671875e+02, 2.966201477050781e+02, 2.940357666015625e+02, 2.939457092285156e+02, 2.988995361328125e+02, 2.942806091308594e+02, 2.943299255371094e+02, 2.950254516601562e+02, 2.94137939453125e+02, 2.943942260742188e+02, 2.945648193359375e+02, 2.941449890136719e+02, 2.941552124023438e+02, 2.942876892089844e+02, 2.940912780761719e+02, 2.942173461914062e+02, 2.94725830078125e+02, 2.940619201660156e+02, 2.940682067871094e+02, 2.941487731933594e+02, 2.940704650878906e+02, 2.942238159179688e+02, 2.941365966796875e+02, 2.93992431640625e+02, 2.942158813476562e+02, 2.941264038085938e+02, 2.936065979003906e+02, 2.941210327148438e+02, 2.941088256835938e+02, 2.940703430175781e+02, 2.941229858398438e+02, 2.941625366210938e+02, 2.941372985839844e+02, 2.942375793457031e+02, 2.941163024902344e+02] +multizone.PHeater[2]=[1e+02, 2.52027109375e+04, 3.334687109375e+04, 2.461635546875e+04, 2.5710296875e+04, 3.0061494140625e+04, 1.920886328125e+04, 1.3861892578125e+04, 1.9127548828125e+04, 1.1030533203125e+04, 1.878901953125e+04, 2.2220310546875e+04, 2.7259015625e+04, 2.6440443359375e+04, 2.230758203125e+04, 2.2088087890625e+04, 2.037571875e+04, 2.1315228515625e+04, 1.250118359375e+04, 1.815628125e+04, 1.4571982421875e+04, 1.06966865234375e+04, 1.49432236328125e+04, 1.8463109375e+04, 1.10413623046875e+04, 1.6997396484375e+04, 1.4197767578125e+04, 1.6324498046875e+04, 1.7234974609375e+04, 1.2731548828125e+04, 1.8446974609375e+04, 1.18142490234375e+04, 6.38794677734375e+03, 2.68465576171875e+03, 1.34598525390625e+04, 0e+00, 1.180334765625e+04, 9.670806640625e+03, 0e+00, 7.478591796875e+03, 3.065191650390625e+02, 9.32111083984375e+02, 7.67759326171875e+03, 0e+00, 0e+00, 0e+00, 0e+00, 8.6367841796875e+03, 1.24202763671875e+04, 0e+00, 0e+00, 3.13215283203125e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.020493041992188e+03, 0e+00, 0e+00, 9.735859985351562e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 6.34005078125e+03, 0e+00, 1.3855173828125e+04, 1.287514770507812e+03, 0e+00, 7.032590942382812e+02, 7.448845672607422e+01, 6.0406025390625e+03, 1.59439033203125e+04, 3.642893798828125e+03, 9.867345703125e+03, 1.482648828125e+04, 7.62405029296875e+03, 1.5621296875e+04, 1.5387119140625e+04, 1.10473994140625e+04, 1.7865201171875e+04, 1.4853009765625e+04, 1.7405140625e+04, 3.14613046875e+04, 1.50722275390625e+04, 1.7502015625e+04, 2.1592384765625e+04, 2.1840900390625e+04, 2.188741796875e+04, 2.2820765625e+04, 1.999787890625e+04, 2.4746091796875e+04, 3.254503125e+04, 2.8309689453125e+04, 2.197353515625e+04, 2.7261087890625e+04, 1.962767578125e+04, 2.6211673828125e+04, 1.971103125e+04] +multizone.PCooler[2]=[0e+00, 0e+00] +multizone.TAir[2]=[2.931499938964844e+02, 2.939562377929688e+02, 2.9440625e+02, 2.941155395507812e+02, 2.941707153320312e+02, 2.941705322265625e+02, 2.941517944335938e+02, 2.943029174804688e+02, 2.941404724121094e+02, 2.939336547851562e+02, 2.941053771972656e+02, 2.940340576171875e+02, 2.939548034667969e+02, 2.940862426757812e+02, 2.941250305175781e+02, 2.941084289550781e+02, 2.943096923828125e+02, 2.941059875488281e+02, 2.941535949707031e+02, 2.941737670898438e+02, 2.939771118164062e+02, 2.94305419921875e+02, 2.944196166992188e+02, 2.940138854980469e+02, 2.942666015625e+02, 2.941787109375e+02, 2.938224487304688e+02, 2.944382934570312e+02, 2.941190185546875e+02, 2.940481872558594e+02, 2.941620483398438e+02, 2.939745788574219e+02, 2.937766418457031e+02, 2.943986206054688e+02, 2.940947875976562e+02, 2.950216674804688e+02, 2.941036376953125e+02, 2.939008483886719e+02, 2.945365295410156e+02, 2.945013732910156e+02, 2.940625915527344e+02, 2.943212280273438e+02, 2.94736572265625e+02, 2.966350402832031e+02, 2.975233764648438e+02, 2.96332763671875e+02, 2.952009582519531e+02, 2.941968688964844e+02, 2.941309814453125e+02, 2.951824035644531e+02, 2.946309509277344e+02, 2.939949645996094e+02, 2.947183837890625e+02, 2.950569152832031e+02, 3.004452819824219e+02, 2.992158508300781e+02, 2.963370361328125e+02, 2.939473876953125e+02, 2.985164489746094e+02, 2.9708154296875e+02, 2.941103515625e+02, 2.953367614746094e+02, 2.970884094238281e+02, 2.98248779296875e+02, 2.987406311035156e+02, 2.94660400390625e+02, 2.937574462890625e+02, 2.952113342285156e+02, 2.940445556640625e+02, 2.938987731933594e+02, 2.967009887695312e+02, 2.939938659667969e+02, 2.940747375488281e+02, 2.945478820800781e+02, 2.941324157714844e+02, 2.940586242675781e+02, 2.945074157714844e+02, 2.941479797363281e+02, 2.942245178222656e+02, 2.941931457519531e+02, 2.94068603515625e+02, 2.941903686523438e+02, 2.944073486328125e+02, 2.940595703125e+02, 2.940784606933594e+02, 2.941290893554688e+02, 2.940621643066406e+02, 2.943282165527344e+02, 2.941268310546875e+02, 2.940487365722656e+02, 2.941145629882812e+02, 2.941229553222656e+02, 2.940191955566406e+02, 2.939607238769531e+02, 2.940947265625e+02, 2.942366638183594e+02, 2.939940795898438e+02, 2.941678466796875e+02, 2.942327880859375e+02, 2.941633605957031e+02, 2.941227722167969e+02] +multizone.PHeater[3]=[1e+02, 4.558031640625e+04, 7.0179859375e+04, 5.509639453125e+04, 4.655307421875e+04, 6.2142421875e+04, 4.382242578125e+04, 2.3961015625e+04, 4.207964453125e+04, 2.6427072265625e+04, 3.573844921875e+04, 5.013428515625e+04, 5.190148828125e+04, 4.956401171875e+04, 4.86938046875e+04, 3.94458203125e+04, 4.450275390625e+04, 4.849775e+04, 2.1061015625e+04, 4.27417109375e+04, 3.5227703125e+04, 1.9095341796875e+04, 3.71594296875e+04, 4.36457421875e+04, 1.8502431640625e+04, 4.132126171875e+04, 3.16326015625e+04, 3.0359693359375e+04, 3.849321484375e+04, 3.157276953125e+04, 3.518386328125e+04, 2.3242140625e+04, 1.155740625e+04, 6.49674658203125e+03, 3.1440974609375e+04, 0e+00, 2.616872265625e+04, 1.966558203125e+04, 0e+00, 2.396603125e+04, 2.71672998046875e+03, 0e+00, 2.128475390625e+04, 0e+00, 0e+00, 0e+00, 0e+00, 1.48540087890625e+04, 2.7551400390625e+04, 0e+00, 0e+00, 4.694640625e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 7.1262265625e+03, 0e+00, 0e+00, 5.344642578125e+03, 0e+00, 0e+00, 0e+00, 0e+00, 2.421742919921875e+03, 1.355688671875e+04, 0e+00, 3.0242453125e+04, 2.329827392578125e+03, 0e+00, 1.147390991210938e+03, 3.291321411132812e+02, 1.55916513671875e+04, 3.54515625e+04, 2.384105712890625e+03, 2.7746111328125e+04, 3.3372796875e+04, 1.147366796875e+04, 4.482225390625e+04, 3.567554296875e+04, 1.8045326171875e+04, 4.657225390625e+04, 3.528530859375e+04, 3.261141796875e+04, 6.499795703125e+04, 3.850838671875e+04, 3.1031861328125e+04, 4.7754484375e+04, 4.926601171875e+04, 4.1282765625e+04, 4.973781640625e+04, 4.284916015625e+04, 5.022513671875e+04, 6.693584375e+04, 5.196232421875e+04, 4.98918203125e+04, 5.6480796875e+04, 3.510691796875e+04, 5.63509609375e+04, 4.4848046875e+04] +multizone.PCooler[3]=[0e+00, 0e+00] +multizone.TAir[3]=[2.931499938964844e+02, 2.939857788085938e+02, 2.946850891113281e+02, 2.941791076660156e+02, 2.942235107421875e+02, 2.941045532226562e+02, 2.940285339355469e+02, 2.942432250976562e+02, 2.941279296875e+02, 2.932959289550781e+02, 2.948184814453125e+02, 2.9387109375e+02, 2.934495849609375e+02, 2.942691040039062e+02, 2.941266174316406e+02, 2.939337158203125e+02, 2.948034973144531e+02, 2.941627807617188e+02, 2.940849304199219e+02, 2.943161010742188e+02, 2.938883361816406e+02, 2.946597900390625e+02, 2.944291076660156e+02, 2.939878845214844e+02, 2.944680786132812e+02, 2.937728271484375e+02, 2.931894836425781e+02, 2.944719848632812e+02, 2.9408154296875e+02, 2.936733703613281e+02, 2.948857727050781e+02, 2.937122802734375e+02, 2.931591796875e+02, 2.950263366699219e+02, 2.940558166503906e+02, 2.958734436035156e+02, 2.943880615234375e+02, 2.936176147460938e+02, 2.951213989257812e+02, 2.9516357421875e+02, 2.939343566894531e+02, 2.947642211914062e+02, 2.952563171386719e+02, 2.9689111328125e+02, 2.997938842773438e+02, 2.955519409179688e+02, 2.951776733398438e+02, 2.940351257324219e+02, 2.940673522949219e+02, 2.955667114257812e+02, 2.953250732421875e+02, 2.938507080078125e+02, 2.948786926269531e+02, 2.959258117675781e+02, 3.008387756347656e+02, 2.997306518554688e+02, 2.972007446289062e+02, 2.935776062011719e+02, 3.009570007324219e+02, 2.972458801269531e+02, 2.940658874511719e+02, 2.962853698730469e+02, 2.981026611328125e+02, 2.981784057617188e+02, 2.993782653808594e+02, 2.937221374511719e+02, 2.932364196777344e+02, 2.961937255859375e+02, 2.9393994140625e+02, 2.936466064453125e+02, 2.978731994628906e+02, 2.938820495605469e+02, 2.939009399414062e+02, 2.952788696289062e+02, 2.941381225585938e+02, 2.938493347167969e+02, 2.954041442871094e+02, 2.942244873046875e+02, 2.9430322265625e+02, 2.941859436035156e+02, 2.941214904785156e+02, 2.9440234375e+02, 2.941889343261719e+02, 2.940393981933594e+02, 2.940196228027344e+02, 2.939905090332031e+02, 2.937734985351562e+02, 2.942034606933594e+02, 2.941502990722656e+02, 2.936705627441406e+02, 2.947726440429688e+02, 2.941189880371094e+02, 2.934525146484375e+02, 2.942144470214844e+02, 2.940411987304688e+02, 2.941513977050781e+02, 2.942976684570312e+02, 2.941860656738281e+02, 2.940950317382812e+02, 2.943436279296875e+02, 2.942145385742188e+02] +multizone.PHeater[4]=[1e+02, 2.089731689453125e+03, 4.99892626953125e+03, 4.76627197265625e+03, 2.25651220703125e+03, 5.848921875e+03, 3.605121337890625e+03, 1.635129699707031e+02, 3.700138916015625e+03, 2.010191772460938e+03, 4.407129211425781e+02, 4.47821630859375e+03, 5.47910986328125e+03, 2.298071044921875e+03, 4.3395673828125e+03, 2.618862060546875e+03, 1.40605615234375e+03, 4.1190947265625e+03, 0e+00, 1.71828564453125e+03, 2.49781884765625e+03, 0e+00, 9.622633666992188e+02, 3.630165771484375e+03, 0e+00, 2.589490234375e+03, 2.788757080078125e+03, 3.859476623535156e+02, 3.227603271484375e+03, 2.249331787109375e+03, 4.538051452636719e+02, 1.912471435546875e+03, 7.172757568359375e+02, 0e+00, 2.30520849609375e+03, 0e+00, 0e+00, 1.265131958007812e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.78750732421875e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 2.020956878662109e+02, 0e+00, 2.219113037109375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 2.725759521484375e+03, 0e+00, 0e+00, 2.461e+03, 0e+00, 9.315287475585938e+02, 2.61471484375e+03, 0e+00, 1.63457666015625e+03, 2.70787548828125e+03, 6.829099731445312e+02, 6.16906494140625e+03, 2.93333154296875e+03, 7.994349975585938e+02, 4.095822021484375e+03, 4.27524755859375e+03, 1.186374755859375e+03, 4.449337890625e+03, 3.901892578125e+03, 2.17408740234375e+03, 6.41162109375e+03, 3.562967529296875e+03, 2.303953125e+03, 5.24097705078125e+03, 9.838473510742188e+02, 3.3790283203125e+03, 3.8010537109375e+03] +multizone.PCooler[4]=[0e+00, 0e+00] +multizone.TAir[4]=[2.931499938964844e+02, 2.941171264648438e+02, 2.943013305664062e+02, 2.941414184570312e+02, 2.942118530273438e+02, 2.941538696289062e+02, 2.941436157226562e+02, 2.941324768066406e+02, 2.941511535644531e+02, 2.941327209472656e+02, 2.941437377929688e+02, 2.941567687988281e+02, 2.939878234863281e+02, 2.942100219726562e+02, 2.941470947265625e+02, 2.940807495117188e+02, 2.942840576171875e+02, 2.941364440917969e+02, 2.942976989746094e+02, 2.941919555664062e+02, 2.941203002929688e+02, 2.951921691894531e+02, 2.942962036132812e+02, 2.941227722167969e+02, 2.947628479003906e+02, 2.941517028808594e+02, 2.940723266601562e+02, 2.941386413574219e+02, 2.941476745605469e+02, 2.941387634277344e+02, 2.941721496582031e+02, 2.941140747070312e+02, 2.939508666992188e+02, 2.964014587402344e+02, 2.941393127441406e+02, 2.972077941894531e+02, 2.946370239257812e+02, 2.940992736816406e+02, 2.97212890625e+02, 2.953551025390625e+02, 2.950575561523438e+02, 2.969158935546875e+02, 2.952082824707031e+02, 2.979562377929688e+02, 3.016320190429688e+02, 2.96920166015625e+02, 2.964974060058594e+02, 2.953465881347656e+02, 2.941596984863281e+02, 2.966262817382812e+02, 2.973105163574219e+02, 2.947391052246094e+02, 2.962795104980469e+02, 2.978545837402344e+02, 3.012276000976562e+02, 3.00709228515625e+02, 2.989779052734375e+02, 2.945405883789062e+02, 3.023902587890625e+02, 2.98976318359375e+02, 2.950211791992188e+02, 2.984747924804688e+02, 2.994979248046875e+02, 2.99082763671875e+02, 3.00638916015625e+02, 2.949736633300781e+02, 2.9405810546875e+02, 2.975371704101562e+02, 2.941072692871094e+02, 2.942990112304688e+02, 2.998714294433594e+02, 2.947875366210938e+02, 2.948157348632812e+02, 2.961055603027344e+02, 2.941447143554688e+02, 2.9531689453125e+02, 2.952380981445312e+02, 2.941455993652344e+02, 2.951712951660156e+02, 2.942301330566406e+02, 2.941295166015625e+02, 2.95045654296875e+02, 2.94302490234375e+02, 2.941182250976562e+02, 2.941524047851562e+02, 2.941544189453125e+02, 2.941365051269531e+02, 2.941397399902344e+02, 2.941463012695312e+02, 2.941250305175781e+02, 2.941507568359375e+02, 2.941435852050781e+02, 2.93989501953125e+02, 2.941889953613281e+02, 2.94138427734375e+02, 2.940946960449219e+02, 2.942075500488281e+02, 2.941534729003906e+02, 2.940833740234375e+02, 2.941907043457031e+02, 2.941382141113281e+02] +multizone.PHeater[5]=[1e+02, 5.10558544921875e+03, 6.0186220703125e+03, 5.1647626953125e+03, 4.79549560546875e+03, 6.20291357421875e+03, 4.00575244140625e+03, 2.142137451171875e+03, 4.003238037109375e+03, 2.7442392578125e+03, 3.45980322265625e+03, 4.80586083984375e+03, 5.94208349609375e+03, 5.0947021484375e+03, 4.68209716796875e+03, 4.2304765625e+03, 3.490007080078125e+03, 4.482892578125e+03, 2.20846826171875e+03, 3.18283056640625e+03, 3.30575e+03, 1.467760131835938e+03, 2.1230068359375e+03, 4.04908642578125e+03, 1.681256103515625e+03, 3.3372060546875e+03, 3.49682421875e+03, 2.36499267578125e+03, 3.617502685546875e+03, 2.835266357421875e+03, 3.34866552734375e+03, 2.670159423828125e+03, 1.871818725585938e+03, 0e+00, 2.87387548828125e+03, 0e+00, 1.901452514648438e+03, 2.29441064453125e+03, 0e+00, 3.186651916503906e+02, 2.083000838756561e-01, 0e+00, 1.813616371154785e+01, 0e+00, 0e+00, 0e+00, 0e+00, 9.925116577148438e+02, 2.589754150390625e+03, 0e+00, 0e+00, 5.824555053710938e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 4.024127502441406e+02, 0e+00, 0e+00, 5.037885665893555e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.733521240234375e+03, 0e+00, 2.973091796875e+03, 6.651229858398438e+02, 0e+00, 2.108435211181641e+02, 5.306554794311523e+01, 3.157617950439453e+01, 3.304080810546875e+03, 4.452749633789062e+02, 8.120294799804688e+02, 3.03598046875e+03, 9.943509521484375e+02, 2.63141796875e+03, 3.304648681640625e+03, 1.74471142578125e+03, 2.750622314453125e+03, 3.213071044921875e+03, 3.144923828125e+03, 6.53223583984375e+03, 3.309665771484375e+03, 2.80315673828125e+03, 4.47953759765625e+03, 4.7008720703125e+03, 4.1103134765625e+03, 4.78075732421875e+03, 4.3174482421875e+03, 4.94349853515625e+03, 6.8073466796875e+03, 5.2498134765625e+03, 4.35319873046875e+03, 5.6326357421875e+03, 3.493280517578125e+03, 4.864953125e+03, 4.1530029296875e+03] +multizone.PCooler[5]=[0e+00, 0e+00] +multizone.TAir[5]=[2.931499938964844e+02, 2.940983276367188e+02, 2.942425537109375e+02, 2.941434020996094e+02, 2.941313781738281e+02, 2.94155517578125e+02, 2.941467895507812e+02, 2.941808776855469e+02, 2.941521911621094e+02, 2.941360473632812e+02, 2.941608276367188e+02, 2.941546020507812e+02, 2.94052978515625e+02, 2.941299743652344e+02, 2.941478271484375e+02, 2.941533813476562e+02, 2.942034301757812e+02, 2.941387939453125e+02, 2.941861572265625e+02, 2.941252136230469e+02, 2.941242980957031e+02, 2.941709899902344e+02, 2.942406921386719e+02, 2.941242980957031e+02, 2.9414892578125e+02, 2.94156494140625e+02, 2.940758972167969e+02, 2.941871643066406e+02, 2.941492919921875e+02, 2.941417236328125e+02, 2.941874389648438e+02, 2.941188354492188e+02, 2.940288391113281e+02, 2.944030456542969e+02, 2.941419372558594e+02, 2.954486694335938e+02, 2.941523132324219e+02, 2.941042175292969e+02, 2.949722900390625e+02, 2.942020874023438e+02, 2.941485900878906e+02, 2.945491333007812e+02, 2.94328369140625e+02, 2.969429321289062e+02, 2.98345947265625e+02, 2.965424499511719e+02, 2.954682006835938e+02, 2.941696166992188e+02, 2.941636352539062e+02, 2.954354248046875e+02, 2.950054626464844e+02, 2.941136169433594e+02, 2.949893798828125e+02, 2.955151977539062e+02, 3.007539978027344e+02, 2.996916198730469e+02, 2.968775024414062e+02, 2.940775146484375e+02, 2.996711730957031e+02, 2.976595458984375e+02, 2.941503601074219e+02, 2.958417663574219e+02, 2.979057006835938e+02, 2.985335388183594e+02, 2.99322509765625e+02, 2.946395568847656e+02, 2.940658874511719e+02, 2.95636474609375e+02, 2.941131286621094e+02, 2.940636291503906e+02, 2.973753662109375e+02, 2.94095703125e+02, 2.940876159667969e+02, 2.942305908203125e+02, 2.941483154296875e+02, 2.941349182128906e+02, 2.9419384765625e+02, 2.941492919921875e+02, 2.941610412597656e+02, 2.941637878417969e+02, 2.94133544921875e+02, 2.941565246582031e+02, 2.942456665039062e+02, 2.941220092773438e+02, 2.940698547363281e+02, 2.941553039550781e+02, 2.941373596191406e+02, 2.941854248046875e+02, 2.941475524902344e+02, 2.941278991699219e+02, 2.941664123535156e+02, 2.941448669433594e+02, 2.940569458007812e+02, 2.941080017089844e+02, 2.941397094726562e+02, 2.941692199707031e+02, 2.941217346191406e+02, 2.941549682617188e+02, 2.942288513183594e+02, 2.941239929199219e+02, 2.941400451660156e+02] +multizone.PHeater[6]=[1e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00] +multizone.PCooler[6]=[0e+00, 0e+00] +multizone.TAir[6]=[2.931499938964844e+02, 2.983203735351562e+02, 2.979636535644531e+02, 2.987513732910156e+02, 2.985120849609375e+02, 2.983451538085938e+02, 3.009564819335938e+02, 3.032155456542969e+02, 3.001387023925781e+02, 3.011337585449219e+02, 3.021213073730469e+02, 2.989288635253906e+02, 2.9828173828125e+02, 2.984269104003906e+02, 2.9911279296875e+02, 2.984533996582031e+02, 3.005063781738281e+02, 2.992878723144531e+02, 3.022211608886719e+02, 3.002396545410156e+02, 2.996014404296875e+02, 3.0473828125e+02, 3.023624572753906e+02, 2.992105407714844e+02, 3.018367614746094e+02, 3.00245849609375e+02, 3.014063110351562e+02, 3.012998962402344e+02, 3.004979248046875e+02, 3.014714050292969e+02, 3.012226867675781e+02, 3.035738220214844e+02, 3.038729858398438e+02, 3.070978698730469e+02, 3.017279357910156e+02, 3.090392761230469e+02, 3.046031494140625e+02, 3.036026611328125e+02, 3.080926818847656e+02, 3.0564208984375e+02, 3.063345031738281e+02, 3.076806335449219e+02, 3.061412048339844e+02, 3.102765502929688e+02, 3.142317504882812e+02, 3.067998657226562e+02, 3.08263427734375e+02, 3.047677307128906e+02, 3.037043762207031e+02, 3.095095520019531e+02, 3.084006652832031e+02, 3.068410034179688e+02, 3.083431091308594e+02, 3.09568603515625e+02, 3.152333068847656e+02, 3.136939697265625e+02, 3.116979370117188e+02, 3.051015319824219e+02, 3.153463439941406e+02, 3.102557067871094e+02, 3.073818664550781e+02, 3.097589111328125e+02, 3.115173034667969e+02, 3.114208374023438e+02, 3.131697692871094e+02, 3.056864013671875e+02, 3.045968322753906e+02, 3.100220031738281e+02, 3.033706665039062e+02, 3.059839782714844e+02, 3.121608581542969e+02, 3.070586853027344e+02, 3.064541625976562e+02, 3.063313598632812e+02, 3.02736572265625e+02, 3.056256103515625e+02, 3.055282592773438e+02, 3.028868713378906e+02, 3.053465881347656e+02, 3.004598083496094e+02, 3.007763977050781e+02, 3.048058776855469e+02, 3.006155090332031e+02, 3.022978515625e+02, 3.016015625e+02, 2.981315002441406e+02, 3.004910583496094e+02, 3.022424011230469e+02, 2.991788635253906e+02, 2.990908508300781e+02, 3.008822326660156e+02, 2.991188049316406e+02, 2.992202453613281e+02, 2.990048828125e+02, 2.980043640136719e+02, 2.983472900390625e+02, 2.993057861328125e+02, 2.986488037109375e+02, 3.014852294921875e+02, 2.98477783203125e+02, 3.001356811523438e+02] +multizone.PHeater[7]=[2e+02, 1.08411943359375e+04, 3.2646466796875e+04, 1.8354458984375e+04, 1.9729556640625e+04, 2.3311962890625e+04, 2.249081640625e+04, 4.24107861328125e+03, 2.316798046875e+04, 6.1872158203125e+03, 1.46759150390625e+04, 1.6676013671875e+04, 2.5826146484375e+04, 1.29839677734375e+04, 2.5543814453125e+04, 1.0455568359375e+04, 1.8654560546875e+04, 1.59713564453125e+04, 1.00438935546875e+04, 1.17055400390625e+04, 1.9449826171875e+04, 3.848880310058594e+02, 1.84110234375e+04, 1.302355859375e+04, 9.0175595703125e+03, 1.28609013671875e+04, 1.9268603515625e+04, 5.71531591796875e+03, 2.1716279296875e+04, 7.029091796875e+03, 1.4379626953125e+04, 9.5663720703125e+03, 1.10438115234375e+04, 0e+00, 1.8925275390625e+04, 0e+00, 1.349640234375e+04, 8.17874169921875e+03, 6.402554931640625e+02, 4.564986328125e+03, 1.38290927734375e+04, 0e+00, 1.389946875e+04, 0e+00, 0e+00, 2.063194091796875e+03, 4.50452392578125e+03, 2.80887841796875e+03, 1.8008775390625e+04, 0e+00, 1.531645202636719e+02, 4.38015966796875e+03, 2.669361083984375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 6.81816015625e+03, 0e+00, 0e+00, 1.3632064453125e+04, 0e+00, 1.649924072265625e+03, 0e+00, 0e+00, 6.1662470703125e+03, 1.5422482421875e+04, 0e+00, 1.927787109375e+04, 1.3326279296875e+03, 0e+00, 3.340600830078125e+03, 4.93858837890625e+03, 2.53084774017334e+01, 2.0853134765625e+04, 1.33410986328125e+03, 1.0738244140625e+04, 1.3431251953125e+04, 6.282595703125e+03, 1.2473259765625e+04, 1.960690625e+04, 3.761872802734375e+03, 1.9986017578125e+04, 1.54742197265625e+04, 1.21869404296875e+04, 2.9145365234375e+04, 1.6607486328125e+04, 1.190540234375e+04, 2.16223046875e+04, 2.106369921875e+04, 1.336555859375e+04, 2.390395703125e+04, 1.484221875e+04, 1.8470556640625e+04, 2.835276171875e+04, 2.24276484375e+04, 1.57036240234375e+04, 2.7896345703125e+04, 9.501525390625e+03, 2.4230080078125e+04, 1.7570091796875e+04] +multizone.PCooler[7]=[0e+00, 0e+00] +multizone.TAir[7]=[2.931499938964844e+02, 2.951428833007812e+02, 2.95577880859375e+02, 2.951190795898438e+02, 2.95414794921875e+02, 2.95203369140625e+02, 2.950762023925781e+02, 2.952080383300781e+02, 2.951324462890625e+02, 2.948678894042969e+02, 2.952344665527344e+02, 2.950858764648438e+02, 2.946264038085938e+02, 2.954013061523438e+02, 2.951220703125e+02, 2.949599914550781e+02, 2.955707702636719e+02, 2.951237487792969e+02, 2.949587097167969e+02, 2.953907165527344e+02, 2.950130615234375e+02, 2.953384704589844e+02, 2.955946960449219e+02, 2.950159606933594e+02, 2.954991760253906e+02, 2.951782836914062e+02, 2.948353881835938e+02, 2.952664794921875e+02, 2.95125244140625e+02, 2.949184875488281e+02, 2.952327270507812e+02, 2.95022705078125e+02, 2.944856872558594e+02, 2.95813232421875e+02, 2.951105651855469e+02, 2.958058166503906e+02, 2.953876647949219e+02, 2.949647521972656e+02, 2.949900817871094e+02, 2.955998229980469e+02, 2.950250854492188e+02, 2.957726135253906e+02, 2.958467407226562e+02, 2.954781799316406e+02, 2.977763061523438e+02, 2.951040344238281e+02, 2.94860107421875e+02, 2.951342163085938e+02, 2.951350402832031e+02, 2.954300842285156e+02, 2.951135559082031e+02, 2.950462646484375e+02, 2.945686950683594e+02, 2.963275756835938e+02, 2.96086669921875e+02, 2.964953002929688e+02, 2.963806762695312e+02, 2.949381713867188e+02, 2.972178039550781e+02, 2.958446350097656e+02, 2.9511962890625e+02, 2.9637646484375e+02, 2.958200378417969e+02, 2.956548156738281e+02, 2.969716186523438e+02, 2.950044860839844e+02, 2.947783203125e+02, 2.960664672851562e+02, 2.950658569335938e+02, 2.949558715820312e+02, 2.962308349609375e+02, 2.945488586425781e+02, 2.944610595703125e+02, 2.95296630859375e+02, 2.951353454589844e+02, 2.947774353027344e+02, 2.957937927246094e+02, 2.944601440429688e+02, 2.951651306152344e+02, 2.948335876464844e+02, 2.952358093261719e+02, 2.947776184082031e+02, 2.960143737792969e+02, 2.945857543945312e+02, 2.956691589355469e+02, 2.947637023925781e+02, 2.954878234863281e+02, 2.948775024414062e+02, 2.955365295410156e+02, 2.946238708496094e+02, 2.955647583007812e+02, 2.948935852050781e+02, 2.950699157714844e+02, 2.950735778808594e+02, 2.954038696289062e+02, 2.948345031738281e+02, 2.955221862792969e+02, 2.950045776367188e+02, 2.953203430175781e+02, 2.952630615234375e+02, 2.953330688476562e+02] diff --git a/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_OfficeBuilding_OfficeBuilding.txt b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_OfficeBuilding_OfficeBuilding.txt new file mode 100644 index 000000000..1d3b47755 --- /dev/null +++ b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_OfficeBuilding_OfficeBuilding.txt @@ -0,0 +1,31 @@ +last-generated=2020-12-28 +statistics-initialization= +{ + "linear": "4, 4, 4, 4, 4, 4" +} +statistics-simulation= +{ + "linear": "0, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0, 0, 4, 0", + "nonlinear": "1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1", + "number of continuous time states": "42", + "numerical Jacobians": "0" +} +time=[0e+00, 3.1536e+07] +multizone.PHeater[1]=[1e+02, 9.210697265625e+03, 5.72849765625e+04, 3.370573046875e+04, 1.80767265625e+04, 5.108465625e+04, 2.2082365234375e+04, 0e+00, 3.155922265625e+04, 9.08328369140625e+02, 3.306829833984375e+03, 3.543530859375e+04, 2.5043189453125e+04, 2.79935234375e+04, 3.511640234375e+04, 3.5423583984375e+01, 1.4775400390625e+04, 3.275054296875e+04, 0e+00, 1.3323908203125e+04, 2.178454895019531e+02, 0e+00, 7.25505029296875e+03, 1.27463837890625e+04, 0e+00, 0e+00, 2.962993408203125e+03, 0e+00, 1.995867578125e+04, 1.442372436523438e+03, 7.33279052734375e+03, 1.97342724609375e+03, 0e+00, 0e+00, 9.136380859375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 7.44944677734375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.40366044921875e+04, 0e+00, 0e+00, 5.3054111328125e+03, 0e+00, 7.25119140625e+02, 0e+00, 0e+00, 2.2867361328125e+04, 1.2702892578125e+04, 2.7587236328125e+03, 4.842145703125e+04, 1.1305978515625e+04, 5.5979501953125e+03, 2.595305859375e+04, 2.1625416015625e+04, 1.59246962890625e+04, 3.789946484375e+04, 9.43067578125e+03, 2.55005078125e+04, 4.73553046875e+04, 1.925925390625e+04, 2.5313962890625e+04, 4.202286328125e+04, 7.61296533203125e+03, 3.801890625e+04, 2.79565234375e+04] +multizone.PCooler[1]=[0e+00, 0e+00] +multizone.TAir[1]=[2.931499938964844e+02, 2.943168334960938e+02, 2.951327514648438e+02, 2.937537231445312e+02, 2.944615173339844e+02, 2.941216125488281e+02, 2.937423706054688e+02, 2.945111999511719e+02, 2.940673217773438e+02, 2.940014343261719e+02, 2.943489379882812e+02, 2.937838745117188e+02, 2.929755249023438e+02, 2.9468408203125e+02, 2.939873657226562e+02, 2.941084899902344e+02, 2.949876098632812e+02, 2.939320068359375e+02, 2.950868225097656e+02, 2.94755859375e+02, 2.940615539550781e+02, 2.954789428710938e+02, 2.950769958496094e+02, 2.93709228515625e+02, 2.960755310058594e+02, 2.941733703613281e+02, 2.936568298339844e+02, 2.947684020996094e+02, 2.939830627441406e+02, 2.939752807617188e+02, 2.945303649902344e+02, 2.939061889648438e+02, 2.943402404785156e+02, 2.964946594238281e+02, 2.939571838378906e+02, 2.975354309082031e+02, 2.9548779296875e+02, 2.944660034179688e+02, 2.979107666015625e+02, 2.964329223632812e+02, 2.964152221679688e+02, 2.974959106445312e+02, 2.959739074707031e+02, 2.988816528320312e+02, 3.0210107421875e+02, 2.982571716308594e+02, 2.979343566894531e+02, 2.968170166015625e+02, 2.943518676757812e+02, 2.973875732421875e+02, 2.978930358886719e+02, 2.962076416015625e+02, 2.974423828125e+02, 2.984314880371094e+02, 3.015785217285156e+02, 3.011336364746094e+02, 2.99740234375e+02, 2.962872924804688e+02, 3.02734619140625e+02, 2.995539855957031e+02, 2.966410827636719e+02, 2.989205932617188e+02, 2.999277648925781e+02, 2.997757873535156e+02, 3.01029296875e+02, 2.967288513183594e+02, 2.957450866699219e+02, 2.980995178222656e+02, 2.938568725585938e+02, 2.949699401855469e+02, 3.002379760742188e+02, 2.964176940917969e+02, 2.956923522949219e+02, 2.962057189941406e+02, 2.939769287109375e+02, 2.957002563476562e+02, 2.95689208984375e+02, 2.940115661621094e+02, 2.9524072265625e+02, 2.946557006835938e+02, 2.944238586425781e+02, 2.952952270507812e+02, 2.950751037597656e+02, 2.937811584472656e+02, 2.94275390625e+02, 2.939952087402344e+02, 2.936991271972656e+02, 2.943973999023438e+02, 2.940033569335938e+02, 2.933754577636719e+02, 2.943943176269531e+02, 2.940228576660156e+02, 2.9311474609375e+02, 2.943713989257812e+02, 2.938522033691406e+02, 2.940208129882812e+02, 2.944729309082031e+02, 2.939773254394531e+02, 2.941627197265625e+02, 2.948152160644531e+02, 2.938750305175781e+02] +multizone.PHeater[2]=[1e+02, 1.53383056640625e+04, 3.1455384765625e+04, 2.1719037109375e+04, 2.1105890625e+04, 2.802348046875e+04, 1.6749537109375e+04, 9.6577900390625e+03, 1.77160703125e+04, 2.37906103515625e+03, 1.6586970703125e+04, 2.11387890625e+04, 2.3425333984375e+04, 2.29290390625e+04, 2.010700390625e+04, 8.7773876953125e+03, 1.55035556640625e+04, 1.963256640625e+04, 2.380544677734375e+03, 1.441621875e+04, 5.13694580078125e+03, 5.72094384765625e+03, 1.17987177734375e+04, 1.22917607421875e+04, 0e+00, 1.0157505859375e+04, 9.151759765625e+03, 1.0490572265625e+04, 1.46050947265625e+04, 7.1022041015625e+03, 1.4422806640625e+04, 5.80950439453125e+03, 1.1138330078125e+03, 0e+00, 1.04147353515625e+04, 0e+00, 4.6148251953125e+03, 3.13268017578125e+03, 0e+00, 4.096911010742188e+02, 0e+00, 0e+00, 2.7415732421875e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 9.3193505859375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.23519482421875e+04, 0e+00, 0e+00, 0e+00, 0e+00, 9.907110595703125e+02, 1.4558923828125e+04, 0e+00, 4.71763232421875e+03, 1.11790576171875e+04, 3.526688720703125e+03, 1.07867373046875e+04, 6.01161474609375e+03, 6.0743515625e+03, 1.6754634765625e+04, 1.28359580078125e+04, 1.4037548828125e+04, 2.7938666015625e+04, 1.04819775390625e+04, 1.4869521484375e+04, 1.7446443359375e+04, 1.8810384765625e+04, 1.9520150390625e+04, 2.1233564453125e+04, 1.470737109375e+04, 2.217444921875e+04, 2.767745703125e+04, 2.2802544921875e+04, 1.9187890625e+04, 2.45238203125e+04, 1.7760517578125e+04, 2.353559765625e+04, 1.7509208984375e+04] +multizone.PCooler[2]=[0e+00, 0e+00] +multizone.TAir[2]=[2.931499938964844e+02, 2.939989318847656e+02, 2.94483154296875e+02, 2.940782165527344e+02, 2.942052612304688e+02, 2.941618957519531e+02, 2.941302795410156e+02, 2.943164672851562e+02, 2.941300659179688e+02, 2.939444885253906e+02, 2.940747375488281e+02, 2.939942626953125e+02, 2.939029235839844e+02, 2.941089782714844e+02, 2.941063232421875e+02, 2.940592346191406e+02, 2.943857421875e+02, 2.9409423828125e+02, 2.941539611816406e+02, 2.942507629394531e+02, 2.939017639160156e+02, 2.944053039550781e+02, 2.944887084960938e+02, 2.939249572753906e+02, 2.945400085449219e+02, 2.94142333984375e+02, 2.936960754394531e+02, 2.945241394042969e+02, 2.940897216796875e+02, 2.93994873046875e+02, 2.941593627929688e+02, 2.938931274414062e+02, 2.938692321777344e+02, 2.948094177246094e+02, 2.940519714355469e+02, 2.957673950195312e+02, 2.940941162109375e+02, 2.93885498046875e+02, 2.955825500488281e+02, 2.946392211914062e+02, 2.95208984375e+02, 2.950172119140625e+02, 2.948235473632812e+02, 2.977004089355469e+02, 2.988677062988281e+02, 2.979235534667969e+02, 2.971360778808594e+02, 2.9524853515625e+02, 2.940791320800781e+02, 2.959128112792969e+02, 2.954554748535156e+02, 2.94906005859375e+02, 2.958536376953125e+02, 2.957906188964844e+02, 3.010066833496094e+02, 3.002584228515625e+02, 2.980556335449219e+02, 2.957368774414062e+02, 3.00443115234375e+02, 2.987509155273438e+02, 2.958586120605469e+02, 2.966162414550781e+02, 2.984240112304688e+02, 2.995334777832031e+02, 3.000641174316406e+02, 2.965574951171875e+02, 2.95079345703125e+02, 2.958114929199219e+02, 2.940014343261719e+02, 2.94474609375e+02, 2.97928955078125e+02, 2.952769470214844e+02, 2.948175964355469e+02, 2.947544860839844e+02, 2.941062622070312e+02, 2.944434204101562e+02, 2.946589050292969e+02, 2.941138000488281e+02, 2.943147888183594e+02, 2.942531127929688e+02, 2.939873352050781e+02, 2.942261657714844e+02, 2.944824523925781e+02, 2.940021667480469e+02, 2.941064453125e+02, 2.940986633300781e+02, 2.940049133300781e+02, 2.943119201660156e+02, 2.940959167480469e+02, 2.940090026855469e+02, 2.940693054199219e+02, 2.941138305664062e+02, 2.939643859863281e+02, 2.939346313476562e+02, 2.940422058105469e+02, 2.942396545410156e+02, 2.940075073242188e+02, 2.941393127441406e+02, 2.942122802734375e+02, 2.942456970214844e+02, 2.940991821289062e+02] +multizone.PHeater[3]=[1e+02, 7.0945859375e+03, 1.74903671875e+04, 1.5286767578125e+04, 8.9737451171875e+03, 1.6300955078125e+04, 1.23951083984375e+04, 2.9707666015625e+03, 1.17132626953125e+04, 7.2742685546875e+03, 6.6541962890625e+03, 1.56572138671875e+04, 1.35392548828125e+04, 1.0429251953125e+04, 1.30880498046875e+04, 4.07551025390625e+03, 7.28163623046875e+03, 1.32701640625e+04, 1.135919952392578e+02, 8.4448515625e+03, 6.2845244140625e+03, 0e+00, 7.73357568359375e+03, 1.14699619140625e+04, 0e+00, 8.496658203125e+03, 9.8274833984375e+03, 2.340195068359375e+03, 9.9291279296875e+03, 8.3370234375e+03, 5.69858642578125e+03, 5.26178466796875e+03, 2.323927001953125e+03, 0e+00, 7.85591259765625e+03, 0e+00, 1.92031494140625e+03, 3.645264892578125e+03, 0e+00, 0e+00, 0e+00, 0e+00, 9.571234130859375e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 5.878876953125e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 7.53666943359375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 9.0064638671875e+03, 0e+00, 1.533646392822266e+02, 6.71876123046875e+03, 0e+00, 1.060536328125e+04, 4.9532216796875e+03, 1.024253158569336e+02, 1.304851953125e+04, 1.0419296875e+04, 6.27413134765625e+03, 1.644818359375e+04, 1.15117041015625e+04, 5.5038388671875e+03, 1.12176494140625e+04, 1.48657109375e+04, 8.7977900390625e+03, 1.37097060546875e+04, 1.1400359375e+04, 1.22803447265625e+04, 1.63826376953125e+04, 1.03432109375e+04, 1.2918484375e+04, 1.44180732421875e+04, 7.9898564453125e+03, 1.30405712890625e+04, 1.1976466796875e+04] +multizone.PCooler[3]=[0e+00, 0e+00] +multizone.TAir[3]=[2.931499938964844e+02, 2.940072937011719e+02, 2.946284790039062e+02, 2.942683715820312e+02, 2.941426391601562e+02, 2.940979919433594e+02, 2.941120300292969e+02, 2.940884094238281e+02, 2.941427001953125e+02, 2.939048156738281e+02, 2.946012573242188e+02, 2.94124755859375e+02, 2.935860595703125e+02, 2.941524353027344e+02, 2.941199951171875e+02, 2.940190124511719e+02, 2.945205383300781e+02, 2.941330261230469e+02, 2.940693054199219e+02, 2.942325439453125e+02, 2.941021118164062e+02, 2.94427734375e+02, 2.94462158203125e+02, 2.94224853515625e+02, 2.95015869140625e+02, 2.938809204101562e+02, 2.936688537597656e+02, 2.941619262695312e+02, 2.941372985839844e+02, 2.939688720703125e+02, 2.946047973632812e+02, 2.939963073730469e+02, 2.936578369140625e+02, 2.95468017578125e+02, 2.941224670410156e+02, 2.967162170410156e+02, 2.942828063964844e+02, 2.939438781738281e+02, 2.964021606445312e+02, 2.948679504394531e+02, 2.952400512695312e+02, 2.958686218261719e+02, 2.950615844726562e+02, 2.980384826660156e+02, 3.011253051757812e+02, 2.970011291503906e+02, 2.968342590332031e+02, 2.95032958984375e+02, 2.941333618164062e+02, 2.963752746582031e+02, 2.964483337402344e+02, 2.9501904296875e+02, 2.961155090332031e+02, 2.968462524414062e+02, 3.012305297851562e+02, 3.006803894042969e+02, 2.98863037109375e+02, 2.951703186035156e+02, 3.018780822753906e+02, 2.987313842773438e+02, 2.956442565917969e+02, 2.975253295898438e+02, 2.991664733886719e+02, 2.994563903808594e+02, 3.004404602050781e+02, 2.955521545410156e+02, 2.942813415527344e+02, 2.969399108886719e+02, 2.940285949707031e+02, 2.942903747558594e+02, 2.991677856445312e+02, 2.953104553222656e+02, 2.947787475585938e+02, 2.951851806640625e+02, 2.941445617675781e+02, 2.947076721191406e+02, 2.948582458496094e+02, 2.941543273925781e+02, 2.943359680175781e+02, 2.943133239746094e+02, 2.941507263183594e+02, 2.942560729980469e+02, 2.943643188476562e+02, 2.941889953613281e+02, 2.940025329589844e+02, 2.9407470703125e+02, 2.940265502929688e+02, 2.940591430664062e+02, 2.941522216796875e+02, 2.939532775878906e+02, 2.945691528320312e+02, 2.941290893554688e+02, 2.936556701660156e+02, 2.941427612304688e+02, 2.94107666015625e+02, 2.941188049316406e+02, 2.942890625e+02, 2.941548767089844e+02, 2.940778503417969e+02, 2.942234802246094e+02, 2.94163818359375e+02] +multizone.PHeater[4]=[1e+02, 0e+00, 2.34821240234375e+03, 2.584739501953125e+03, 0e+00, 3.579085205078125e+03, 1.6167783203125e+03, 0e+00, 1.995404174804688e+03, 0e+00, 0e+00, 2.407510498046875e+03, 3.29299267578125e+03, 0e+00, 2.4792001953125e+03, 0e+00, 0e+00, 2.09116015625e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 5.752402496337891e+01, 0e+00, 0e+00, 0e+00, 0e+00, 8.250380859375e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 6.112037658691406e+01, 0e+00, 3.2543349609375e+03, 4.74822021484375e+02, 0e+00, 1.436131713867188e+03, 2.024390014648438e+03, 0e+00, 2.640118896484375e+03, 1.338903564453125e+03, 0e+00, 3.336139892578125e+03, 3.068966369628906e+02, 0e+00, 2.996169921875e+03, 0e+00, 8.059421997070312e+02, 1.800903076171875e+03] +multizone.PCooler[4]=[0e+00, 0e+00] +multizone.TAir[4]=[2.931499938964844e+02, 2.9516845703125e+02, 2.943734130859375e+02, 2.941365356445312e+02, 2.947057189941406e+02, 2.941488342285156e+02, 2.941354370117188e+02, 2.955317077636719e+02, 2.941475524902344e+02, 2.947080383300781e+02, 2.959569396972656e+02, 2.941588134765625e+02, 2.939030151367188e+02, 2.945374450683594e+02, 2.941427307128906e+02, 2.953055114746094e+02, 2.954814147949219e+02, 2.941323547363281e+02, 2.965810546875e+02, 2.952216796875e+02, 2.949329833984375e+02, 2.972930297851562e+02, 2.959900512695312e+02, 2.941128234863281e+02, 2.96938720703125e+02, 2.949547424316406e+02, 2.945887145996094e+02, 2.961475219726562e+02, 2.941402282714844e+02, 2.951966552734375e+02, 2.95736328125e+02, 2.946507263183594e+02, 2.953630676269531e+02, 2.980872192382812e+02, 2.944168090820312e+02, 2.98748046875e+02, 2.968873901367188e+02, 2.953833923339844e+02, 2.989901733398438e+02, 2.9780078125e+02, 2.970521850585938e+02, 2.988355102539062e+02, 2.97171142578125e+02, 2.993419799804688e+02, 3.028668212890625e+02, 2.985662841796875e+02, 2.983394470214844e+02, 2.979219055175781e+02, 2.953860473632812e+02, 2.983232727050781e+02, 2.990016479492188e+02, 2.968262634277344e+02, 2.981056518554688e+02, 2.993741149902344e+02, 3.017712097167969e+02, 3.016927185058594e+02, 3.003717651367188e+02, 2.96695068359375e+02, 3.034897155761719e+02, 2.998675231933594e+02, 2.971247253417969e+02, 2.9967333984375e+02, 3.002860717773438e+02, 2.999353637695312e+02, 3.016332397460938e+02, 2.970497741699219e+02, 2.963213806152344e+02, 2.992418823242188e+02, 2.945049133300781e+02, 2.95867919921875e+02, 3.010931701660156e+02, 2.970008239746094e+02, 2.966599731445312e+02, 2.978728942871094e+02, 2.943656005859375e+02, 2.970598449707031e+02, 2.97005126953125e+02, 2.948749389648438e+02, 2.967670288085938e+02, 2.961009216308594e+02, 2.955480651855469e+02, 2.972723999023438e+02, 2.948811950683594e+02, 2.941091613769531e+02, 2.956173095703125e+02, 2.941502380371094e+02, 2.941275024414062e+02, 2.953109130859375e+02, 2.941397094726562e+02, 2.94119384765625e+02, 2.950016784667969e+02, 2.941409606933594e+02, 2.939026489257812e+02, 2.944080505371094e+02, 2.941322937011719e+02, 2.940696105957031e+02, 2.942545166015625e+02, 2.941470031738281e+02, 2.950836791992188e+02, 2.94202392578125e+02, 2.941307678222656e+02] +multizone.PHeater[5]=[1e+02, 2.248740966796875e+03, 3.678655517578125e+03, 3.5439296875e+03, 2.56196826171875e+03, 4.3379736328125e+03, 2.69637353515625e+03, 6.37590087890625e+02, 2.836973876953125e+03, 8.12920166015625e+02, 2.036403564453125e+03, 3.611096435546875e+03, 4.093347900390625e+03, 3.045251220703125e+03, 3.254122802734375e+03, 1.1155556640625e+03, 1.28919677734375e+03, 3.170261962890625e+03, 0e+00, 1.18408837890625e+03, 1.015738891601562e+03, 0e+00, 3.380397644042969e+02, 2.355346923828125e+03, 0e+00, 1.10353466796875e+03, 2.122860595703125e+03, 2.584768981933594e+02, 2.321584228515625e+03, 1.37017822265625e+03, 1.712128784179688e+03, 1.226576171875e+03, 3.508222045898438e+02, 0e+00, 1.680976196289062e+03, 0e+00, 0e+00, 5.406100463867188e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.098134521484375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.873924438476562e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 2.175270751953125e+03, 0e+00, 0e+00, 1.618802368164062e+03, 0e+00, 5.275628051757812e+02, 8.611998291015625e+02, 1.119941635131836e+02, 1.1604599609375e+03, 2.2051015625e+03, 1.486840942382812e+03, 4.36763818359375e+03, 2.009683715820312e+03, 1.334401245117188e+03, 2.676972412109375e+03, 3.244434814453125e+03, 2.62679443359375e+03, 3.39905615234375e+03, 2.60152294921875e+03, 3.265216552734375e+03, 4.4485205078125e+03, 2.780670654296875e+03, 2.679492431640625e+03, 3.848436279296875e+03, 2.114081787109375e+03, 2.760599365234375e+03, 2.858002685546875e+03] +multizone.PCooler[5]=[0e+00, 0e+00] +multizone.TAir[5]=[2.931499938964844e+02, 2.940862731933594e+02, 2.942916259765625e+02, 2.941424255371094e+02, 2.941275024414062e+02, 2.941534423828125e+02, 2.941434936523438e+02, 2.941932067871094e+02, 2.941522521972656e+02, 2.941282348632812e+02, 2.94166259765625e+02, 2.94162353515625e+02, 2.940064697265625e+02, 2.941274719238281e+02, 2.941463317871094e+02, 2.941464538574219e+02, 2.942060241699219e+02, 2.941394958496094e+02, 2.942107849121094e+02, 2.941195678710938e+02, 2.941171264648438e+02, 2.94291748046875e+02, 2.942861328125e+02, 2.941222534179688e+02, 2.948543395996094e+02, 2.941531372070312e+02, 2.940629577636719e+02, 2.942040405273438e+02, 2.94149169921875e+02, 2.941380920410156e+02, 2.94193115234375e+02, 2.941103210449219e+02, 2.940225830078125e+02, 2.952546691894531e+02, 2.94141845703125e+02, 2.963777770996094e+02, 2.943244323730469e+02, 2.94091064453125e+02, 2.963495788574219e+02, 2.952045593261719e+02, 2.956040649414062e+02, 2.957769775390625e+02, 2.951249694824219e+02, 2.982112426757812e+02, 3.005166625976562e+02, 2.981357116699219e+02, 2.975050048828125e+02, 2.958905334472656e+02, 2.941581726074219e+02, 2.963225708007812e+02, 2.961663513183594e+02, 2.953309936523438e+02, 2.964144592285156e+02, 2.966280517578125e+02, 3.013020629882812e+02, 3.006563720703125e+02, 2.987451477050781e+02, 2.95986572265625e+02, 3.015058898925781e+02, 2.992484741210938e+02, 2.961484985351562e+02, 2.974467163085938e+02, 2.993717346191406e+02, 2.996341857910156e+02, 3.004163513183594e+02, 2.966166687011719e+02, 2.953390808105469e+02, 2.96526611328125e+02, 2.941084594726562e+02, 2.945155029296875e+02, 2.987544555664062e+02, 2.956846008300781e+02, 2.950125732421875e+02, 2.950440368652344e+02, 2.941475219726562e+02, 2.948488464355469e+02, 2.947483520507812e+02, 2.941451721191406e+02, 2.943307495117188e+02, 2.941627502441406e+02, 2.94123779296875e+02, 2.941521606445312e+02, 2.942955627441406e+02, 2.941184387207031e+02, 2.940588684082031e+02, 2.941557922363281e+02, 2.941355895996094e+02, 2.941972961425781e+02, 2.941461486816406e+02, 2.941271362304688e+02, 2.941690979003906e+02, 2.941452026367188e+02, 2.94014892578125e+02, 2.941014709472656e+02, 2.941380310058594e+02, 2.941689147949219e+02, 2.941138000488281e+02, 2.941518859863281e+02, 2.9423583984375e+02, 2.941192932128906e+02, 2.941375427246094e+02] +multizone.PHeater[6]=[1e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00] +multizone.PCooler[6]=[0e+00, 0e+00] +multizone.TAir[6]=[2.931499938964844e+02, 3.016368103027344e+02, 2.989111328125e+02, 3.032000122070312e+02, 3.034853210449219e+02, 3.029756469726562e+02, 3.0678466796875e+02, 3.087173156738281e+02, 3.060287475585938e+02, 3.069900207519531e+02, 3.08076904296875e+02, 3.02770751953125e+02, 3.027400817871094e+02, 3.031545104980469e+02, 3.044131774902344e+02, 3.0337451171875e+02, 3.063709411621094e+02, 3.044501953125e+02, 3.082672119140625e+02, 3.06604736328125e+02, 3.055289611816406e+02, 3.104084167480469e+02, 3.084172973632812e+02, 3.052470703125e+02, 3.084953918457031e+02, 3.064249267578125e+02, 3.069869995117188e+02, 3.076576232910156e+02, 3.06607666015625e+02, 3.075325012207031e+02, 3.073718566894531e+02, 3.088078918457031e+02, 3.088726196289062e+02, 3.122983093261719e+02, 3.074062194824219e+02, 3.141342468261719e+02, 3.098008422851562e+02, 3.086250305175781e+02, 3.130507507324219e+02, 3.112255859375e+02, 3.113036499023438e+02, 3.126400756835938e+02, 3.113046569824219e+02, 3.151065063476562e+02, 3.189272766113281e+02, 3.118668212890625e+02, 3.132029418945312e+02, 3.101763610839844e+02, 3.091954650878906e+02, 3.142238159179688e+02, 3.133634338378906e+02, 3.117396240234375e+02, 3.131551513671875e+02, 3.143623046875e+02, 3.19821044921875e+02, 3.187472534179688e+02, 3.166190490722656e+02, 3.102936096191406e+02, 3.199834899902344e+02, 3.15367919921875e+02, 3.124227905273438e+02, 3.147786560058594e+02, 3.162318725585938e+02, 3.164453430175781e+02, 3.182452392578125e+02, 3.10899169921875e+02, 3.097409973144531e+02, 3.148945922851562e+02, 3.086363830566406e+02, 3.110312194824219e+02, 3.170087585449219e+02, 3.120398559570312e+02, 3.114922790527344e+02, 3.116671142578125e+02, 3.083599243164062e+02, 3.108623962402344e+02, 3.110584106445312e+02, 3.087374267578125e+02, 3.106222839355469e+02, 3.067850341796875e+02, 3.075429992675781e+02, 3.107520751953125e+02, 3.065049743652344e+02, 3.079838562011719e+02, 3.077995910644531e+02, 3.022258911132812e+02, 3.06353759765625e+02, 3.08064697265625e+02, 3.04913330078125e+02, 3.046523742675781e+02, 3.069072265625e+02, 3.045928039550781e+02, 3.04902099609375e+02, 3.045531311035156e+02, 3.0110107421875e+02, 3.02208251953125e+02, 3.048111572265625e+02, 3.039209594726562e+02, 3.07160888671875e+02, 3.029252014160156e+02, 3.060420837402344e+02] diff --git a/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuildingTabulaMulti_ResidentialBuildingTabulaMulti.txt b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuildingTabulaMulti_ResidentialBuildingTabulaMulti.txt new file mode 100644 index 000000000..07f5b1a34 --- /dev/null +++ b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuildingTabulaMulti_ResidentialBuildingTabulaMulti.txt @@ -0,0 +1,16 @@ +last-generated=2020-12-28 +statistics-initialization= +{ + "linear": "4" +} +statistics-simulation= +{ + "linear": "0, 4, 0", + "nonlinear": "0, 1, 0, 1, 0, 1", + "number of continuous time states": "7", + "numerical Jacobians": "0" +} +time=[0e+00, 3.1536e+07] +multizone.PHeater[1]=[1e+02, 3.466923095703125e+03, 1.01184228515625e+04, 9.812837890625e+03, 3.801811767578125e+03, 8.9068955078125e+03, 7.0581142578125e+03, 1.108831420898438e+03, 1.10702568359375e+04, 4.79801123046875e+03, 1.959134765625e+03, 1.26604482421875e+04, 6.11798486328125e+03, 4.8084150390625e+03, 1.11085673828125e+04, 1.563703460693359e+02, 1.066820068359375e+03, 1.26604482421875e+04, 0e+00, 3.178488525390625e+03, 6.934626953125e+03, 0e+00, 5.29049609375e+03, 7.524859375e+03, 0e+00, 8.688400390625e+03, 5.2929697265625e+03, 0e+00, 9.860193359375e+03, 3.235479248046875e+03, 6.393383178710938e+02, 4.11072216796875e+03, 7.580407104492188e+02, 0e+00, 8.41329296875e+03, 0e+00, 0e+00, 2.379198974609375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 3.598443359375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 7.34684375e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 8.7357939453125e+03, 0e+00, 0e+00, 6.28271630859375e+03, 0e+00, 4.25444775390625e+03, 3.655798828125e+03, 0e+00, 1.115835546875e+04, 7.95489208984375e+03, 2.401925537109375e+03, 9.054751953125e+03, 7.95885888671875e+03, 3.00062158203125e+03, 1.10716923828125e+04, 8.5875068359375e+03, 3.514698486328125e+03, 1.1890859375e+04, 6.662337890625e+03, 5.29915869140625e+03, 9.55251171875e+03, 4.48772900390625e+03, 5.7819609375e+03, 8.4009140625e+03, 3.125276123046875e+03, 7.20480908203125e+03, 9.8369365234375e+03] +multizone.PCooler[1]=[0e+00, 0e+00] +multizone.TAir[1]=[2.931499938964844e+02, 2.94056640625e+02, 2.944435119628906e+02, 2.940682983398438e+02, 2.941714477539062e+02, 2.941483459472656e+02, 2.940296936035156e+02, 2.94081298828125e+02, 2.941351623535156e+02, 2.939469909667969e+02, 2.941412658691406e+02, 2.933776245117188e+02, 2.939266052246094e+02, 2.941763000488281e+02, 2.9409326171875e+02, 2.940877685546875e+02, 2.944278564453125e+02, 2.9404931640625e+02, 2.944402160644531e+02, 2.944149169921875e+02, 2.939154357910156e+02, 2.947320556640625e+02, 2.945196533203125e+02, 2.939523620605469e+02, 2.955085754394531e+02, 2.942497863769531e+02, 2.936143798828125e+02, 2.942721252441406e+02, 2.941383361816406e+02, 2.940029602050781e+02, 2.941717224121094e+02, 2.939831848144531e+02, 2.939364624023438e+02, 2.955259399414062e+02, 2.940990905761719e+02, 2.963341674804688e+02, 2.945153198242188e+02, 2.939222717285156e+02, 2.964259033203125e+02, 2.957108764648438e+02, 2.954263305664062e+02, 2.961323547363281e+02, 2.951771545410156e+02, 2.979957275390625e+02, 3.004150085449219e+02, 2.975819091796875e+02, 2.978973999023438e+02, 2.96130859375e+02, 2.941138610839844e+02, 2.964907836914062e+02, 2.96347900390625e+02, 2.9532177734375e+02, 2.966252136230469e+02, 2.9677197265625e+02, 3.011120910644531e+02, 3.007285766601562e+02, 2.991670837402344e+02, 2.957938232421875e+02, 3.015155944824219e+02, 2.992958984375e+02, 2.965816955566406e+02, 2.977373046875e+02, 2.991528625488281e+02, 2.995721740722656e+02, 3.00389404296875e+02, 2.963534851074219e+02, 2.952516479492188e+02, 2.966152038574219e+02, 2.940210876464844e+02, 2.946044921875e+02, 2.981876525878906e+02, 2.9538330078125e+02, 2.950161743164062e+02, 2.952445678710938e+02, 2.941419677734375e+02, 2.94518798828125e+02, 2.949424438476562e+02, 2.941319580078125e+02, 2.945099487304688e+02, 2.947291259765625e+02, 2.940360107421875e+02, 2.945507507324219e+02, 2.945558166503906e+02, 2.939536743164062e+02, 2.941912841796875e+02, 2.941564331054688e+02, 2.939171447753906e+02, 2.940648498535156e+02, 2.942085876464844e+02, 2.9397607421875e+02, 2.941446533203125e+02, 2.941288146972656e+02, 2.938313293457031e+02, 2.942008056640625e+02, 2.941187744140625e+02, 2.9409228515625e+02, 2.942802734375e+02, 2.941236572265625e+02, 2.940320739746094e+02, 2.9436376953125e+02, 2.940067443847656e+02] diff --git a/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuildingTabula_ResidentialBuildingTabula.txt b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuildingTabula_ResidentialBuildingTabula.txt new file mode 100644 index 000000000..a4c6c46cc --- /dev/null +++ b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuildingTabula_ResidentialBuildingTabula.txt @@ -0,0 +1,16 @@ +last-generated=2020-12-28 +statistics-initialization= +{ + "linear": "4" +} +statistics-simulation= +{ + "linear": "0, 4, 0", + "nonlinear": "0, 1, 0, 1, 0, 1", + "number of continuous time states": "7", + "numerical Jacobians": "0" +} +time=[0e+00, 3.1536e+07] +multizone.PHeater[1]=[1e+02, 8.6575341796875e+03, 1.33576279296875e+04, 1.132526953125e+04, 8.5665e+03, 1.19146611328125e+04, 8.14199755859375e+03, 3.406088134765625e+03, 1.001233984375e+04, 6.0491083984375e+03, 5.15764111328125e+03, 1.4804013671875e+04, 1.05012021484375e+04, 9.4354208984375e+03, 1.11212802734375e+04, 7.27977490234375e+03, 6.271904296875e+03, 1.19836083984375e+04, 2.0838818359375e+03, 7.1237978515625e+03, 9.6080947265625e+03, 7.064845581054688e+02, 7.50741064453125e+03, 9.8445576171875e+03, 7.10501708984375e+02, 1.09567919921875e+04, 7.520623046875e+03, 3.700921142578125e+03, 9.8512216796875e+03, 6.43785986328125e+03, 4.1928134765625e+03, 4.71130419921875e+03, 1.593420776367188e+03, 0e+00, 8.2085634765625e+03, 0e+00, 3.826472900390625e+03, 3.723998779296875e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 1.911102172851562e+03, 6.63539111328125e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 8.234000854492188e+02, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 3.2071279296875e+03, 0e+00, 7.37506494140625e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 8.60675e+03, 7.940450286865234e+01, 9.776784057617188e+02, 7.77633544921875e+03, 1.01426830291748e+01, 7.03880224609375e+03, 8.43660546875e+03, 1.513714111328125e+03, 1.0225337890625e+04, 7.6114423828125e+03, 5.2302548828125e+03, 1.34367705078125e+04, 8.14801318359375e+03, 5.39834912109375e+03, 1.1997216796875e+04, 1.02793193359375e+04, 6.40329931640625e+03, 1.1643091796875e+04, 9.19640625e+03, 8.630044921875e+03, 1.40361748046875e+04, 9.91954296875e+03, 8.1321767578125e+03, 1.08806669921875e+04, 5.76684521484375e+03, 1.0572603515625e+04, 9.6693037109375e+03] +multizone.PCooler[1]=[0e+00, 0e+00] +multizone.TAir[1]=[2.931499938964844e+02, 2.94033203125e+02, 2.943142395019531e+02, 2.941126708984375e+02, 2.941722106933594e+02, 2.941630554199219e+02, 2.940847473144531e+02, 2.941233520507812e+02, 2.941449279785156e+02, 2.940216064453125e+02, 2.941399536132812e+02, 2.941575012207031e+02, 2.940272521972656e+02, 2.941596069335938e+02, 2.941241149902344e+02, 2.940468444824219e+02, 2.943848571777344e+02, 2.941090087890625e+02, 2.940085754394531e+02, 2.942796020507812e+02, 2.940026245117188e+02, 2.942675170898438e+02, 2.943846740722656e+02, 2.94026611328125e+02, 2.942300109863281e+02, 2.941998901367188e+02, 2.937952880859375e+02, 2.941632385253906e+02, 2.941486511230469e+02, 2.940731811523438e+02, 2.941975708007812e+02, 2.940205383300781e+02, 2.93917724609375e+02, 2.951478881835938e+02, 2.941003723144531e+02, 2.964219970703125e+02, 2.942316589355469e+02, 2.939555053710938e+02, 2.954800415039062e+02, 2.947214965820312e+02, 2.945752258300781e+02, 2.949997863769531e+02, 2.947052917480469e+02, 2.982052917480469e+02, 2.999659729003906e+02, 2.969647216796875e+02, 2.968999633789062e+02, 2.940688171386719e+02, 2.941590576171875e+02, 2.967655944824219e+02, 2.956038208007812e+02, 2.942501831054688e+02, 2.962274475097656e+02, 2.960502319335938e+02, 3.018351440429688e+02, 3.002860717773438e+02, 2.973734741210938e+02, 2.939591064453125e+02, 3.016444091796875e+02, 2.980275268554688e+02, 2.942789306640625e+02, 2.967112121582031e+02, 2.993411865234375e+02, 2.992125244140625e+02, 2.997469177246094e+02, 2.9442041015625e+02, 2.938382873535156e+02, 2.961131896972656e+02, 2.940359497070312e+02, 2.946819763183594e+02, 2.98025634765625e+02, 2.943230285644531e+02, 2.95063720703125e+02, 2.94856689453125e+02, 2.941456604003906e+02, 2.940836791992188e+02, 2.943645629882812e+02, 2.941535034179688e+02, 2.941290588378906e+02, 2.945419616699219e+02, 2.940758056640625e+02, 2.941758422851562e+02, 2.944412841796875e+02, 2.940251159667969e+02, 2.941583251953125e+02, 2.941631164550781e+02, 2.939994812011719e+02, 2.9411572265625e+02, 2.941745300292969e+02, 2.940423278808594e+02, 2.941622619628906e+02, 2.941314697265625e+02, 2.939640808105469e+02, 2.941682739257812e+02, 2.941233520507812e+02, 2.941183776855469e+02, 2.942051391601562e+02, 2.941484375e+02, 2.940541687011719e+02, 2.942393493652344e+02, 2.940620422363281e+02] diff --git a/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuilding_ResidentialBuilding.txt b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuilding_ResidentialBuilding.txt new file mode 100644 index 000000000..72850db79 --- /dev/null +++ b/teaser/examples/examplefiles/ReferenceResults/Dymola/ArchetypeExample_ResidentialBuilding_ResidentialBuilding.txt @@ -0,0 +1,16 @@ +last-generated=2020-12-28 +statistics-initialization= +{ + "linear": "4" +} +statistics-simulation= +{ + "linear": "0, 4, 0", + "nonlinear": "0, 1, 0, 1, 0, 1", + "number of continuous time states": "7", + "numerical Jacobians": "0" +} +time=[0e+00, 3.1536e+07] +multizone.PHeater[1]=[1e+02, 5.837548828125e+03, 8.6076376953125e+03, 7.48322705078125e+03, 5.9122939453125e+03, 7.85309521484375e+03, 5.8231787109375e+03, 3.068011962890625e+03, 6.863033203125e+03, 4.72740673828125e+03, 3.43483251953125e+03, 9.5234140625e+03, 7.06010986328125e+03, 6.24994091796875e+03, 7.46167578125e+03, 4.9066806640625e+03, 3.98367578125e+03, 7.874013671875e+03, 1.938365600585938e+03, 4.4601806640625e+03, 6.43075146484375e+03, 9.338873901367188e+02, 4.50545068359375e+03, 6.2612998046875e+03, 8.925325927734375e+02, 6.3764091796875e+03, 5.12906884765625e+03, 2.688965087890625e+03, 6.35441845703125e+03, 4.1915302734375e+03, 2.998763427734375e+03, 3.87101318359375e+03, 1.979489868164062e+03, 0e+00, 5.16443798828125e+03, 0e+00, 1.568837280273438e+03, 2.860285888671875e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 4.1242900390625e+03, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 0e+00, 7.618522338867188e+02, 0e+00, 4.74965966796875e+03, 1.466049861907959e+01, 0e+00, 0e+00, 0e+00, 0e+00, 5.42339453125e+03, 6.520242309570312e+02, 4.120696716308594e+02, 4.82222607421875e+03, 5.554049682617188e+02, 3.9714755859375e+03, 5.17198681640625e+03, 1.504346313476562e+03, 6.235896484375e+03, 5.30514697265625e+03, 3.71017724609375e+03, 8.2276943359375e+03, 5.7319365234375e+03, 4.06977880859375e+03, 7.3254794921875e+03, 6.8343134765625e+03, 4.41931689453125e+03, 7.70217626953125e+03, 6.30690673828125e+03, 5.68326171875e+03, 8.6731875e+03, 6.7892470703125e+03, 5.5727890625e+03, 7.33410107421875e+03, 4.1628955078125e+03, 6.565318359375e+03, 6.80211572265625e+03] +multizone.PCooler[1]=[0e+00, 0e+00] +multizone.TAir[1]=[2.931499938964844e+02, 2.940860595703125e+02, 2.942623901367188e+02, 2.941320495605469e+02, 2.941648254394531e+02, 2.941555786132812e+02, 2.94099365234375e+02, 2.941364135742188e+02, 2.941513061523438e+02, 2.941030578613281e+02, 2.9412646484375e+02, 2.941903991699219e+02, 2.9407470703125e+02, 2.941542358398438e+02, 2.941387939453125e+02, 2.940956420898438e+02, 2.942732238769531e+02, 2.941255187988281e+02, 2.940630493164062e+02, 2.942260437011719e+02, 2.940857849121094e+02, 2.94202880859375e+02, 2.943092346191406e+02, 2.940903930664062e+02, 2.941941223144531e+02, 2.941840209960938e+02, 2.939102783203125e+02, 2.941488647460938e+02, 2.94154296875e+02, 2.941196899414062e+02, 2.941596374511719e+02, 2.940877990722656e+02, 2.940142822265625e+02, 2.948589172363281e+02, 2.941278381347656e+02, 2.957046508789062e+02, 2.942000427246094e+02, 2.940511474609375e+02, 2.955669555664062e+02, 2.947687683105469e+02, 2.946338195800781e+02, 2.950477294921875e+02, 2.945350341796875e+02, 2.976086730957031e+02, 2.991759948730469e+02, 2.969783935546875e+02, 2.970798950195312e+02, 2.945870056152344e+02, 2.941599426269531e+02, 2.960394897460938e+02, 2.955128173828125e+02, 2.944027709960938e+02, 2.959061279296875e+02, 2.95853515625e+02, 3.010486145019531e+02, 3.002670288085938e+02, 2.977368774414062e+02, 2.944126892089844e+02, 3.007781677246094e+02, 2.983176574707031e+02, 2.950347595214844e+02, 2.965157470703125e+02, 2.984030151367188e+02, 2.990641784667969e+02, 2.998330078125e+02, 2.951142883300781e+02, 2.939609680175781e+02, 2.957509460449219e+02, 2.9407373046875e+02, 2.941134033203125e+02, 2.976092529296875e+02, 2.943722839355469e+02, 2.944902038574219e+02, 2.945709838867188e+02, 2.941499633789062e+02, 2.940568237304688e+02, 2.942462768554688e+02, 2.941498413085938e+02, 2.940962219238281e+02, 2.943907470703125e+02, 2.941038513183594e+02, 2.941595458984375e+02, 2.943617858886719e+02, 2.940703735351562e+02, 2.941656494140625e+02, 2.941629943847656e+02, 2.940546569824219e+02, 2.941284484863281e+02, 2.9416552734375e+02, 2.940852661132812e+02, 2.941377868652344e+02, 2.941412353515625e+02, 2.940384826660156e+02, 2.941595458984375e+02, 2.941355285644531e+02, 2.941261596679688e+02, 2.941864624023438e+02, 2.941489562988281e+02, 2.9407763671875e+02, 2.941971130371094e+02, 2.940895690917969e+02] diff --git a/tests/test_simulation_export.py b/tests/test_simulation_export.py index b52f0e49b..a23069c7b 100644 --- a/tests/test_simulation_export.py +++ b/tests/test_simulation_export.py @@ -23,9 +23,3 @@ def export_e2_example_export_aixlib(self): from teaser.examples import e2_export_aixlib_models as e2 prj = e2.example_export_aixlib() - - def export_e3_example_export_ibpsa(self): - """Tests the executability of example 2""" - from teaser.examples import e3_export_ibpsa_models as e3 - - prj = e3.example_export_ibpsa()