Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.778/1.778, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009705/0.0009705, allocations: 185.2 kB / 490.8 MB, free: 1.949 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.147/1.147, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 99.06 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.442e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2013, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.152/3.354, allocations: 1.922 GB / 3.134 GB, free: 393.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/3.354, allocations: 79.95 kB / 3.134 GB, free: 393.9 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.423/4.777, allocations: 0.6158 GB / 3.75 GB, free: 200.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.98e-05/4.777, allocations: 28 kB / 3.75 GB, free: 200.2 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.003922/4.781, allocations: 1.578 MB / 3.751 GB, free: 198.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/4.781, allocations: 8.031 kB / 3.751 GB, free: 198.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/4.783, allocations: 366 kB / 3.752 GB, free: 198.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/4.784, allocations: 0.8808 MB / 3.752 GB, free: 197.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/4.784, allocations: 35.98 kB / 3.752 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/4.785, allocations: 59.94 kB / 3.752 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001412/4.786, allocations: 1.015 MB / 3.753 GB, free: 196.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/4.787, allocations: 0.9763 MB / 3.754 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/4.787, allocations: 4 kB / 3.754 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/4.787, allocations: 0 / 3.754 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/4.788, allocations: 65.97 kB / 3.755 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/4.793, allocations: 5.523 MB / 3.76 GB, free: 189.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/4.794, allocations: 0.85 MB / 3.761 GB, free: 188.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/4.794, allocations: 0.5465 MB / 3.761 GB, free: 187.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/4.794, allocations: 14.67 kB / 3.761 GB, free: 187.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/4.795, allocations: 482.9 kB / 3.762 GB, free: 187.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 1.914e-06/4.795, allocations: 4 kB / 3.762 GB, free: 187.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001304/4.796, allocations: 0.831 MB / 3.763 GB, free: 186.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/4.796, allocations: 60.06 kB / 3.763 GB, free: 186.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/4.797, allocations: 422.3 kB / 3.763 GB, free: 186 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/4.797, allocations: 29.7 kB / 3.763 GB, free: 185.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/4.797, allocations: 379.5 kB / 3.763 GB, free: 185.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/4.797, allocations: 264 kB / 3.764 GB, free: 185.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/4.797, allocations: 4 kB / 3.764 GB, free: 185.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/4.797, allocations: 378.8 kB / 3.764 GB, free: 184.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/4.797, allocations: 337.3 kB / 3.764 GB, free: 184.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/4.798, allocations: 433.2 kB / 3.765 GB, free: 184.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/4.798, allocations: 399 kB / 3.765 GB, free: 183.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/4.798, allocations: 4 kB / 3.765 GB, free: 183.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001027/4.799, allocations: 0.8894 MB / 3.766 GB, free: 182.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/4.799, allocations: 8 kB / 3.766 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/4.799, allocations: 0 / 3.766 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/4.799, allocations: 8 kB / 3.766 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/4.8, allocations: 156.2 kB / 3.766 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/4.8, allocations: 19.83 kB / 3.766 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00093/4.801, allocations: 135.3 kB / 3.766 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/4.801, allocations: 28 kB / 3.766 GB, free: 182.5 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.0001148/4.801, allocations: 116.8 kB / 3.766 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.746e-05/4.801, allocations: 75.16 kB / 3.767 GB, free: 182.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/4.801, allocations: 99.23 kB / 3.767 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/4.801, allocations: 8 kB / 3.767 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/4.801, allocations: 3.906 kB / 3.767 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00088/4.802, allocations: 1.077 MB / 3.768 GB, free: 181 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/4.804, allocations: 1.882 MB / 3.77 GB, free: 179.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/4.804, allocations: 8.031 kB / 3.77 GB, free: 179.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/4.805, allocations: 179.8 kB / 3.77 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/4.805, allocations: 0 / 3.77 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/4.805, allocations: 11.98 kB / 3.77 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/4.805, allocations: 0 / 3.77 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/4.805, allocations: 0 / 3.77 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001297/4.807, allocations: 1.332 MB / 3.771 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/4.807, allocations: 248 kB / 3.771 GB, free: 177.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/4.807, allocations: 7.984 kB / 3.771 GB, free: 177.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/4.808, allocations: 83.77 kB / 3.771 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/4.808, allocations: 40.59 kB / 3.771 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/4.808, allocations: 23.98 kB / 3.771 GB, free: 177.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002659/4.808, allocations: 330.9 kB / 3.772 GB, free: 176.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009356/4.809, allocations: 462.9 kB / 3.772 GB, free: 176.4 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.001654/4.811, allocations: 1.82 MB / 3.774 GB, free: 174.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008335/4.812, allocations: 0.7917 MB / 3.775 GB, free: 173.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/4.812, allocations: 0 / 3.775 GB, free: 173.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/4.812, allocations: 430.3 kB / 3.775 GB, free: 173.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/4.814, allocations: 478.3 kB / 3.776 GB, free: 173 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/4.817, allocations: 1.804 MB / 3.777 GB, free: 171.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/4.817, allocations: 1.244 MB / 3.779 GB, free: 169.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.3e-07/4.817, allocations: 0 / 3.779 GB, free: 169.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03025/4.848, allocations: 26.88 MB / 3.805 GB, free: 143.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches