Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 249.4 MB / 256.7 MB, free: 15.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 188.3 kB / 316 MB, free: 7.137 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.67/1.67, allocations: 205.1 MB / 0.5667 GB, free: 23.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.000904/0.0009041, allocations: 102.4 kB / 0.671 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.292e-05, allocations: 4 kB / 0.7807 GB, free: 392 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6222/0.6222, allocations: 106.3 MB / 0.8845 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.739/6.362, allocations: 2.193 GB / 3.078 GB, free: 329 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/6.362, allocations: 83.45 kB / 3.078 GB, free: 329 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.795/8.157, allocations: 0.5901 GB / 3.668 GB, free: 57.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.199e-05/8.157, allocations: 23.98 kB / 3.668 GB, free: 57.66 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004621/8.162, allocations: 1.574 MB / 3.67 GB, free: 56.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/8.162, allocations: 12.03 kB / 3.67 GB, free: 56.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/8.165, allocations: 358.1 kB / 3.67 GB, free: 55.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/8.166, allocations: 0.8746 MB / 3.671 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/8.166, allocations: 35.91 kB / 3.671 GB, free: 54.72 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/8.167, allocations: 60 kB / 3.671 GB, free: 54.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/8.168, allocations: 1.023 MB / 3.672 GB, free: 53.64 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/8.17, allocations: 0.9845 MB / 3.673 GB, free: 52.62 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/8.17, allocations: 0 / 3.673 GB, free: 52.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/8.17, allocations: 4 kB / 3.673 GB, free: 52.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/8.17, allocations: 66.09 kB / 3.673 GB, free: 52.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/8.176, allocations: 5.182 MB / 3.678 GB, free: 46.95 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/8.177, allocations: 0.8541 MB / 3.679 GB, free: 46.09 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/8.178, allocations: 0.5379 MB / 3.679 GB, free: 45.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.898e-05/8.178, allocations: 20.62 kB / 3.679 GB, free: 45.53 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006379/8.179, allocations: 483 kB / 3.68 GB, free: 45.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 4.148e-06/8.179, allocations: 0 / 3.68 GB, free: 45.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001596/8.18, allocations: 0.8309 MB / 3.681 GB, free: 44.21 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/8.18, allocations: 60.06 kB / 3.681 GB, free: 44.14 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/8.181, allocations: 418.4 kB / 3.681 GB, free: 43.72 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/8.181, allocations: 29.7 kB / 3.681 GB, free: 43.69 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/8.181, allocations: 391.4 kB / 3.682 GB, free: 43.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/8.181, allocations: 264 kB / 3.682 GB, free: 43.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/8.181, allocations: 3.938 kB / 3.682 GB, free: 43.03 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001222/8.181, allocations: 378.8 kB / 3.682 GB, free: 42.65 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/8.182, allocations: 321.5 kB / 3.682 GB, free: 42.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/8.182, allocations: 438.8 kB / 3.683 GB, free: 41.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/8.183, allocations: 403 kB / 3.683 GB, free: 41.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/8.183, allocations: 0 / 3.683 GB, free: 41.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001102/8.184, allocations: 0.8777 MB / 3.684 GB, free: 40.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/8.184, allocations: 4 kB / 3.684 GB, free: 40.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/8.184, allocations: 4.344 kB / 3.684 GB, free: 40.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/8.184, allocations: 11.98 kB / 3.684 GB, free: 40.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/8.185, allocations: 151.8 kB / 3.684 GB, free: 40.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/8.185, allocations: 11.94 kB / 3.684 GB, free: 40.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/8.186, allocations: 119.3 kB / 3.684 GB, free: 40.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/8.186, allocations: 28 kB / 3.684 GB, free: 40.26 MB / 0.8698 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.0001583/8.186, allocations: 112.8 kB / 3.685 GB, free: 40.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/8.186, allocations: 75.16 kB / 3.685 GB, free: 40.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/8.186, allocations: 107.2 kB / 3.685 GB, free: 39.96 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/8.186, allocations: 4 kB / 3.685 GB, free: 39.96 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/8.186, allocations: 4 kB / 3.685 GB, free: 39.95 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009987/8.187, allocations: 1.068 MB / 3.686 GB, free: 38.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/8.19, allocations: 1.881 MB / 3.688 GB, free: 36.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/8.19, allocations: 0 / 3.688 GB, free: 36.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009662/8.191, allocations: 179.9 kB / 3.688 GB, free: 36.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/8.191, allocations: 4 kB / 3.688 GB, free: 36.69 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/8.191, allocations: 11.98 kB / 3.688 GB, free: 36.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/8.191, allocations: 11.88 kB / 3.688 GB, free: 36.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/8.191, allocations: 0 / 3.688 GB, free: 36.67 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001617/8.193, allocations: 1.484 MB / 3.689 GB, free: 35.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/8.193, allocations: 271.9 kB / 3.69 GB, free: 34.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/8.194, allocations: 4 kB / 3.69 GB, free: 34.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/8.194, allocations: 83.81 kB / 3.69 GB, free: 34.79 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/8.195, allocations: 40.59 kB / 3.69 GB, free: 34.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/8.195, allocations: 27.98 kB / 3.69 GB, free: 34.72 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003953/8.195, allocations: 330.9 kB / 3.69 GB, free: 34.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001425/8.196, allocations: 466.9 kB / 3.69 GB, free: 33.94 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.002366/8.199, allocations: 1.816 MB / 3.692 GB, free: 32.05 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001085/8.2, allocations: 0.7878 MB / 3.693 GB, free: 31.26 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/8.2, allocations: 0 / 3.693 GB, free: 31.26 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/8.2, allocations: 422.3 kB / 3.693 GB, free: 30.85 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/8.203, allocations: 480.3 kB / 3.694 GB, free: 30.39 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/8.206, allocations: 1.795 MB / 3.696 GB, free: 28.55 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008899/8.207, allocations: 1.26 MB / 3.697 GB, free: 27.27 MB / 0.8698 GB Notification: Performance of SimCode: time 1.814e-06/8.207, allocations: 0 / 3.697 GB, free: 27.27 MB / 0.8698 GB Notification: Performance of Templates: time 0.04219/8.249, allocations: 27.03 MB / 3.723 GB, free: 400 kB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches