Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow") [: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 9.1.1-maint.9.1.x/package.mo): time 1.82/1.82, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 188.3 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 87.52 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.402e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.262/3.463, allocations: 1.921 GB / 3.127 GB, free: 386 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/3.463, allocations: 87.89 kB / 3.127 GB, free: 385.9 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd: time 1.521/4.985, allocations: 0.6158 GB / 3.742 GB, free: 197.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.666e-05/4.985, allocations: 25.09 kB / 3.743 GB, free: 197.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004477/4.989, allocations: 1.58 MB / 3.744 GB, free: 196.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/4.989, allocations: 9.031 kB / 3.744 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/4.992, allocations: 354.2 kB / 3.744 GB, free: 195.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/4.993, allocations: 0.8798 MB / 3.745 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/4.993, allocations: 39.94 kB / 3.745 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/4.993, allocations: 60 kB / 3.745 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001356/4.994, allocations: 1.019 MB / 3.746 GB, free: 193.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/4.996, allocations: 0.9724 MB / 3.747 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/4.996, allocations: 4 kB / 3.747 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/4.996, allocations: 3.906 kB / 3.747 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/4.996, allocations: 66.05 kB / 3.747 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/5.001, allocations: 5.526 MB / 3.753 GB, free: 186.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/5.002, allocations: 0.861 MB / 3.754 GB, free: 185.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/5.003, allocations: 0.5424 MB / 3.754 GB, free: 185.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/5.003, allocations: 24.55 kB / 3.754 GB, free: 185.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005246/5.003, allocations: 474.9 kB / 3.755 GB, free: 184.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/5.003, allocations: 0 / 3.755 GB, free: 184.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001401/5.005, allocations: 0.831 MB / 3.755 GB, free: 184 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/5.005, allocations: 67.98 kB / 3.755 GB, free: 183.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/5.005, allocations: 430.2 kB / 3.756 GB, free: 183.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/5.005, allocations: 25.7 kB / 3.756 GB, free: 183.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/5.005, allocations: 383.4 kB / 3.756 GB, free: 183 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/5.005, allocations: 256.2 kB / 3.757 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/5.006, allocations: 0 / 3.757 GB, free: 182.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.285e-05/5.006, allocations: 378.8 kB / 3.757 GB, free: 182.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/5.006, allocations: 333.4 kB / 3.757 GB, free: 182.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/5.006, allocations: 433.1 kB / 3.758 GB, free: 181.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/5.007, allocations: 395 kB / 3.758 GB, free: 181.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/5.007, allocations: 7.938 kB / 3.758 GB, free: 181.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001007/5.008, allocations: 0.8855 MB / 3.759 GB, free: 180.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/5.008, allocations: 12.33 kB / 3.759 GB, free: 180.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/5.008, allocations: 4 kB / 3.759 GB, free: 180.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/5.008, allocations: 11.91 kB / 3.759 GB, free: 180.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/5.009, allocations: 155.8 kB / 3.759 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/5.009, allocations: 11.88 kB / 3.759 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/5.01, allocations: 143.2 kB / 3.759 GB, free: 180 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/5.01, allocations: 27.98 kB / 3.759 GB, free: 180 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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 0.0001181/5.01, allocations: 112.9 kB / 3.759 GB, free: 179.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/5.01, allocations: 75.16 kB / 3.759 GB, free: 179.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/5.01, allocations: 99.23 kB / 3.76 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/5.01, allocations: 11.91 kB / 3.76 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/5.01, allocations: 0 / 3.76 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009069/5.011, allocations: 1.081 MB / 3.761 GB, free: 178.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/5.013, allocations: 1.876 MB / 3.762 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/5.013, allocations: 0 / 3.762 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/5.014, allocations: 179.8 kB / 3.763 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/5.014, allocations: 4 kB / 3.763 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/5.014, allocations: 4 kB / 3.763 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/5.014, allocations: 11.94 kB / 3.763 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/5.014, allocations: 0 / 3.763 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001327/5.015, allocations: 1.328 MB / 3.764 GB, free: 175.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/5.016, allocations: 252 kB / 3.764 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/5.016, allocations: 7.938 kB / 3.764 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/5.017, allocations: 79.81 kB / 3.764 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/5.017, allocations: 48.59 kB / 3.764 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/5.017, allocations: 23.98 kB / 3.764 GB, free: 174.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002875/5.017, allocations: 322.9 kB / 3.765 GB, free: 174.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001085/5.018, allocations: 462.9 kB / 3.765 GB, free: 173.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.001657/5.02, allocations: 1.821 MB / 3.767 GB, free: 172 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008948/5.021, allocations: 0.7878 MB / 3.768 GB, free: 171.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/5.021, allocations: 4.688 kB / 3.768 GB, free: 171.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/5.021, allocations: 430.3 kB / 3.768 GB, free: 170.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/5.023, allocations: 474.9 kB / 3.768 GB, free: 170.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/5.026, allocations: 1.804 MB / 3.77 GB, free: 168.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/5.027, allocations: 1.248 MB / 3.771 GB, free: 167.2 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/5.027, allocations: 0 / 3.771 GB, free: 167.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03381/5.061, allocations: 26.87 MB / 3.798 GB, free: 140.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches