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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009145/0.0009145, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8936/0.8936, allocations: 177.1 MB / 203.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.973/1.973, allocations: 429.5 MB / 0.6736 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.[0-9,]+.|rooB.Xi.[0-9,]+.|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=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.[0-9,]+.|rooB.Xi.[0-9,]+.|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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.866e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5166/0.5166, allocations: 201.9 MB / 1.075 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006715/0.5233, allocations: 6.528 MB / 1.082 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007004/0.524, allocations: 47.03 kB / 1.082 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.5253, allocations: 0.6982 MB / 1.082 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.5292, allocations: 2.877 MB / 1.085 GB, free: 47.46 MB / 1.01 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.0009973/0.5302, allocations: 0.7393 MB / 1.086 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.5325, allocations: 3.397 MB / 1.089 GB, free: 47.01 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000835/0.5333, allocations: 0.8471 MB / 1.09 GB, free: 46.93 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.5353, allocations: 1.837 MB / 1.092 GB, free: 46.77 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.5368, allocations: 1.073 MB / 1.093 GB, free: 46.66 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.5369, allocations: 126 kB / 1.093 GB, free: 46.66 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.5393, allocations: 1.937 MB / 1.095 GB, free: 46.45 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.5396, allocations: 0.5682 MB / 1.095 GB, free: 46.38 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.5401, allocations: 0.5492 MB / 1.096 GB, free: 46.33 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.5425, allocations: 2.168 MB / 1.098 GB, free: 46.11 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.5425, allocations: 0 / 1.098 GB, free: 46.11 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5425, allocations: 1.938 kB / 1.098 GB, free: 46.11 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.5425, allocations: 0 / 1.098 GB, free: 46.11 MB / 1.01 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.002514/0.545, allocations: 1.849 MB / 1.1 GB, free: 45.23 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.545, allocations: 10.69 kB / 1.1 GB, free: 45.23 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.5464, allocations: 464.9 kB / 1.1 GB, free: 45.13 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.5473, allocations: 0.8159 MB / 1.101 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.5473, allocations: 76.17 kB / 1.101 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5475, allocations: 109.1 kB / 1.101 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.5484, allocations: 0.8608 MB / 1.102 GB, free: 44.51 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5484, allocations: 1.062 kB / 1.102 GB, free: 44.51 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.5485, allocations: 40.59 kB / 1.102 GB, free: 44.51 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/0.5485, allocations: 60.55 kB / 1.102 GB, free: 44.5 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.5493, allocations: 0.4992 MB / 1.103 GB, free: 44.48 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.5523, allocations: 2.597 MB / 1.105 GB, free: 43.97 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.553, allocations: 0.4945 MB / 1.106 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.5533, allocations: 244.9 kB / 1.106 GB, free: 43.91 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.5534, allocations: 21.33 kB / 1.106 GB, free: 43.91 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.5538, allocations: 0.4915 MB / 1.107 GB, free: 43.59 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 2.324e-06/0.5538, allocations: 0 / 1.107 GB, free: 43.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.0009702/0.5548, allocations: 0.637 MB / 1.107 GB, free: 43.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.5548, allocations: 64.03 kB / 1.107 GB, free: 43.44 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.5552, allocations: 0.5153 MB / 1.108 GB, free: 43.26 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.5552, allocations: 40.86 kB / 1.108 GB, free: 43.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.5554, allocations: 0.5178 MB / 1.108 GB, free: 42.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.5556, allocations: 288.9 kB / 1.109 GB, free: 42.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.5557, allocations: 139.4 kB / 1.109 GB, free: 42.72 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5558, allocations: 0.5602 MB / 1.109 GB, free: 42.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.556, allocations: 126.2 kB / 1.109 GB, free: 42.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.5563, allocations: 284.8 kB / 1.11 GB, free: 42.07 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.5568, allocations: 455.6 kB / 1.11 GB, free: 41.93 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5568, allocations: 1.125 kB / 1.11 GB, free: 41.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007207/0.5575, allocations: 0.5669 MB / 1.111 GB, free: 41.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5576, allocations: 10.12 kB / 1.111 GB, free: 41.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5576, allocations: 3.344 kB / 1.111 GB, free: 41.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5576, allocations: 6.391 kB / 1.111 GB, free: 41.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.558, allocations: 154.6 kB / 1.111 GB, free: 41.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.558, allocations: 10.86 kB / 1.111 GB, free: 41.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.5583, allocations: 54.88 kB / 1.111 GB, free: 41.81 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.5583, allocations: 24.84 kB / 1.111 GB, free: 41.81 MB / 1.01 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.5585, allocations: 201.1 kB / 1.111 GB, free: 41.64 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.5586, allocations: 102.4 kB / 1.111 GB, free: 41.61 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.5587, allocations: 105 kB / 1.111 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5588, allocations: 8.062 kB / 1.111 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5588, allocations: 0.875 kB / 1.111 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006113/0.5594, allocations: 0.7291 MB / 1.112 GB, free: 41.13 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.5611, allocations: 1.505 MB / 1.113 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5611, allocations: 0.9688 kB / 1.113 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.5616, allocations: 172.4 kB / 1.114 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5616, allocations: 3.281 kB / 1.114 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.5616, allocations: 17.75 kB / 1.114 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5616, allocations: 4.078 kB / 1.114 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5616, allocations: 3.125 kB / 1.114 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.5625, allocations: 0.8428 MB / 1.114 GB, free: 40.48 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.5627, allocations: 165.7 kB / 1.115 GB, free: 40.43 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.5628, allocations: 17.27 kB / 1.115 GB, free: 40.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.5631, allocations: 25.12 kB / 1.115 GB, free: 40.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.5632, allocations: 45.23 kB / 1.115 GB, free: 40.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.5632, allocations: 27.06 kB / 1.115 GB, free: 40.43 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002383/0.5634, allocations: 338.9 kB / 1.115 GB, free: 40.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5634, allocations: 0 / 1.115 GB, free: 40.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005708/0.564, allocations: 381.5 kB / 1.115 GB, free: 40.25 MB / 1.01 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002016/0.5642, allocations: 175.8 kB / 1.116 GB, free: 40.16 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005883/0.5648, allocations: 441.6 kB / 1.116 GB, free: 40.13 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5648, allocations: 2.5 kB / 1.116 GB, free: 40.13 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.5651, allocations: 247.8 kB / 1.116 GB, free: 40.11 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.5664, allocations: 0.5447 MB / 1.117 GB, free: 40.06 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.5686, allocations: 1.777 MB / 1.119 GB, free: 39.28 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5688, allocations: 260.4 kB / 1.119 GB, free: 39.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005559/0.5694, allocations: 218.9 kB / 1.119 GB, free: 39.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5696, allocations: 74.23 kB / 1.119 GB, free: 39.17 MB / 1.01 GB Notification: Performance of SimCode: time 9.21e-07/0.5696, allocations: 0 / 1.119 GB, free: 39.17 MB / 1.01 GB Notification: Performance of Templates: time 0.02163/0.5912, allocations: 18.48 MB / 1.137 GB, free: 37.11 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.814322215039283]