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.0009358/0.0009358, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009399/0.0009399, allocations: 181 kB / 23.36 MB, free: 1.133 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.8983/0.8983, allocations: 177.1 MB / 203.8 MB, free: 5.488 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 2.264/2.264, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.132e-06/1.132e-06, allocations: 0 / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.251e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1327/0.1327, allocations: 151.1 MB / 0.9861 GB, free: 6.633 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.1369, allocations: 3.822 MB / 0.9898 GB, free: 2.809 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.1372, allocations: 51.62 kB / 0.9899 GB, free: 2.758 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.1378, allocations: 313.8 kB / 0.9902 GB, free: 2.449 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.1393, allocations: 1.383 MB / 0.9915 GB, free: 1.059 MB / 0.948 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.0005917/0.1399, allocations: 0.5647 MB / 0.9921 GB, free: 0.4961 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.1419, allocations: 3.304 MB / 0.9953 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.1425, allocations: 0.8599 MB / 0.9961 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.1444, allocations: 1.715 MB / 0.9978 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000751/0.1451, allocations: 0.9699 MB / 0.9988 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1452, allocations: 124 kB / 0.9989 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.1456, allocations: 375.2 kB / 0.9992 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.146, allocations: 0.5688 MB / 0.9998 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.1464, allocations: 0.5341 MB / 1 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009314/0.1473, allocations: 1.301 MB / 1.002 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1473, allocations: 0 / 1.002 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.41e-07/0.1473, allocations: 4 kB / 1.002 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.1473, allocations: 0 / 1.002 GB, free: 6.734 MB / 0.9636 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.001818/0.1491, allocations: 1.538 MB / 1.003 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.1492, allocations: 8.625 kB / 1.003 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/0.1502, allocations: 427.9 kB / 1.003 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.1509, allocations: 0.616 MB / 1.004 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.1509, allocations: 78 kB / 1.004 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.151, allocations: 108 kB / 1.004 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.1518, allocations: 0.8407 MB / 1.005 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1518, allocations: 0 / 1.005 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.1519, allocations: 43.94 kB / 1.005 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.1519, allocations: 62.06 kB / 1.005 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.1524, allocations: 342.8 kB / 1.006 GB, free: 2.523 MB / 0.9636 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.002573/0.1549, allocations: 2.153 MB / 1.008 GB, free: 340 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.1554, allocations: 395.2 kB / 1.008 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1556, allocations: 189.6 kB / 1.008 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.1556, allocations: 20.64 kB / 1.008 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.1559, allocations: 457.8 kB / 1.009 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=76): time 2.164e-06/0.1559, allocations: 0 / 1.009 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76): time 0.0005566/0.1565, allocations: 433.8 kB / 1.009 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.1565, allocations: 60.06 kB / 1.009 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1568, allocations: 451.1 kB / 1.01 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.1568, allocations: 41.7 kB / 1.01 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.1572, allocations: 401.8 kB / 1.01 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1573, allocations: 289.4 kB / 1.01 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.1575, allocations: 118.6 kB / 1.01 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1576, allocations: 382.6 kB / 1.011 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1577, allocations: 88.8 kB / 1.011 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1579, allocations: 200.8 kB / 1.011 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1582, allocations: 356.7 kB / 1.011 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1582, allocations: 0 / 1.011 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004092/0.1586, allocations: 403.8 kB / 1.012 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1586, allocations: 4 kB / 1.012 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1586, allocations: 4 kB / 1.012 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1586, allocations: 4 kB / 1.012 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.159, allocations: 147.8 kB / 1.012 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.159, allocations: 24.2 kB / 1.012 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.1593, allocations: 55.62 kB / 1.012 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1593, allocations: 20 kB / 1.012 GB, free: 11.66 MB / 0.9792 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.000149/0.1594, allocations: 148.5 kB / 1.012 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.1595, allocations: 79.92 kB / 1.012 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-05/0.1596, allocations: 99.23 kB / 1.012 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1596, allocations: 8 kB / 1.012 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1596, allocations: 0 / 1.012 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003522/0.16, allocations: 0.5853 MB / 1.013 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.161, allocations: 1.011 MB / 1.014 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.161, allocations: 0 / 1.014 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.1614, allocations: 167.8 kB / 1.014 GB, free: 9.438 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1614, allocations: 7.938 kB / 1.014 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.1614, allocations: 19.98 kB / 1.014 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1614, allocations: 4 kB / 1.014 GB, free: 9.406 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1614, allocations: 0 / 1.014 GB, free: 9.406 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.1619, allocations: 0.5857 MB / 1.015 GB, free: 8.797 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.1621, allocations: 135.3 kB / 1.015 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.1622, allocations: 19.94 kB / 1.015 GB, free: 8.645 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1624, allocations: 19.94 kB / 1.015 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1625, allocations: 44.58 kB / 1.015 GB, free: 8.578 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.1625, allocations: 19.98 kB / 1.015 GB, free: 8.559 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001282/0.1626, allocations: 196.4 kB / 1.015 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1626, allocations: 4 kB / 1.015 GB, free: 8.363 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004196/0.163, allocations: 367.3 kB / 1.015 GB, free: 8.004 MB / 0.9792 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.0001373/0.1632, allocations: 112.3 kB / 1.015 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.1635, allocations: 336.2 kB / 1.016 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.1635, allocations: 4 kB / 1.016 GB, free: 7.555 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1637, allocations: 193.7 kB / 1.016 GB, free: 7.363 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.1648, allocations: 0.56 MB / 1.017 GB, free: 6.812 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1666, allocations: 1.682 MB / 1.018 GB, free: 5.09 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.1668, allocations: 245.4 kB / 1.018 GB, free: 4.832 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000332/0.1671, allocations: 142.7 kB / 1.019 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/0.1678, allocations: 367.1 kB / 1.019 GB, free: 4.32 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.1678, allocations: 0 / 1.019 GB, free: 4.32 MB / 0.9792 GB Notification: Performance of Templates: time 0.01947/0.1872, allocations: 19.44 MB / 1.038 GB, free: 1.336 MB / 0.9948 GB " [Timeout remaining time 300] 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.457785162143409]