Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 249.4 MB / 256.7 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 185.2 kB / 316 MB, free: 3.621 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.2 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009768/0.0009766, allocations: 86.48 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.615e-06/7.644e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2205, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6768/0.8974, allocations: 131.6 MB / 1.013 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.8977, allocations: 78.44 kB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002283/0.9, allocations: 0.5256 MB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.9, allocations: 0 / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002985/0.9003, allocations: 334.3 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9004, allocations: 8.031 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.9004, allocations: 7.562 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.9006, allocations: 167 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.9006, allocations: 0 / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.9006, allocations: 3.906 kB / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.496e-05/0.9007, allocations: 4 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.896e-05/0.9007, allocations: 29.7 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.9008, allocations: 0 / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.9008, allocations: 7.125 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9008, allocations: 0 / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.9009, allocations: 133.5 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.901, allocations: 22.55 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.901, allocations: 8.922 kB / 1.014 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.9017, allocations: 0.6086 MB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.9018, allocations: 30.56 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9018, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.9019, allocations: 37.61 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.902, allocations: 51.41 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.9021, allocations: 95.3 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.9021, allocations: 29.73 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.9022, allocations: 84.12 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.9022, allocations: 7.844 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.9022, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9023, allocations: 314.3 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.9024, allocations: 4 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-06/0.9024, allocations: 3.938 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.9024, allocations: 4 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9024, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.542e-05/0.9025, allocations: 41.75 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.9025, allocations: 11.91 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9025, allocations: 192 / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.9025, allocations: 0 / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.9026, allocations: 4 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.9026, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.9026, allocations: 3.984 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.9027, allocations: 0 / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/0.9027, allocations: 104.2 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.9028, allocations: 11.94 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.9029, allocations: 48.89 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.9029, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.9029, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.9029, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.703e-05/0.903, allocations: 136.7 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.903, allocations: 3.938 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.903, allocations: 7.938 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.903, allocations: 3.906 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.9031, allocations: 4.031 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.9031, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9031, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.654e-05/0.9032, allocations: 64.88 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.9032, allocations: 81.02 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.9032, allocations: 0.875 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.9033, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.9033, allocations: 7.922 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.9033, allocations: 4.031 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.607e-05/0.9033, allocations: 82.84 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002036/0.9035, allocations: 16 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.9037, allocations: 111.2 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.491e-05/0.9038, allocations: 8 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9038, allocations: 0 / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.9038, allocations: 4 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.904, allocations: 11.06 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.9042, allocations: 59.77 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.9044, allocations: 0.6841 MB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9045, allocations: 0 / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.00253/0.907, allocations: 0.5912 MB / 1.018 GB, free: 2.18 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches