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.0009209/0.0009209, allocations: 80.81 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.0009652/0.0009652, allocations: 177 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 1.001/1.001, 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.351/2.351, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] 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.222e-06/1.222e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/1.997e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1299/0.1299, allocations: 151.1 MB / 0.9862 GB, free: 6.512 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005657/0.1355, allocations: 3.813 MB / 0.9899 GB, free: 2.691 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.1363, allocations: 51.62 kB / 0.99 GB, free: 2.641 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.137, allocations: 305.9 kB / 0.9902 GB, free: 2.34 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.1392, allocations: 1.387 MB / 0.9916 GB, free: 0.9453 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.0008794/0.1401, allocations: 0.5531 MB / 0.9921 GB, free: 404 kB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002903/0.143, allocations: 3.312 MB / 0.9954 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.1444, allocations: 0.8938 MB / 0.9962 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.1466, allocations: 1.703 MB / 0.9979 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.1478, allocations: 0.9699 MB / 0.9989 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.1479, allocations: 128 kB / 0.999 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006696/0.1486, allocations: 383.2 kB / 0.9993 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.149, allocations: 0.5688 MB / 0.9999 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.1495, allocations: 0.5341 MB / 1 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1507, allocations: 1.293 MB / 1.002 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1508, allocations: 0 / 1.002 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.02e-07/0.1508, allocations: 4 kB / 1.002 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.1508, allocations: 0 / 1.002 GB, free: 6.613 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.001984/0.1528, allocations: 1.546 MB / 1.003 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1528, allocations: 12.62 kB / 1.003 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.1539, allocations: 423.9 kB / 1.004 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.1546, allocations: 0.6083 MB / 1.004 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.1547, allocations: 82 kB / 1.004 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1548, allocations: 112 kB / 1.004 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.1555, allocations: 0.8368 MB / 1.005 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1555, allocations: 3.984 kB / 1.005 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.1556, allocations: 44 kB / 1.005 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.1556, allocations: 58.06 kB / 1.005 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/0.1561, allocations: 342.8 kB / 1.006 GB, free: 2.398 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.002725/0.1588, allocations: 2.145 MB / 1.008 GB, free: 220 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.1593, allocations: 410 kB / 1.008 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.1595, allocations: 189.5 kB / 1.008 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.1596, allocations: 20.64 kB / 1.008 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.1599, allocations: 461.8 kB / 1.009 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=76): time 3.927e-06/0.1599, allocations: 0 / 1.009 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76): time 0.0006169/0.1606, allocations: 437.8 kB / 1.009 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1606, allocations: 60.06 kB / 1.009 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1608, allocations: 447.1 kB / 1.01 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.1609, allocations: 37.7 kB / 1.01 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.161, allocations: 405.8 kB / 1.01 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.1613, allocations: 285.4 kB / 1.01 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1614, allocations: 122.6 kB / 1.01 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1615, allocations: 382.6 kB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1616, allocations: 88.78 kB / 1.011 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1618, allocations: 192.8 kB / 1.011 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.1621, allocations: 352.7 kB / 1.011 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1621, allocations: 0 / 1.011 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000421/0.1625, allocations: 399.9 kB / 1.012 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1625, allocations: 9.875 kB / 1.012 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1625, allocations: 0 / 1.012 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1626, allocations: 8 kB / 1.012 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.163, allocations: 164.1 kB / 1.012 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.163, allocations: 15.92 kB / 1.012 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.1633, allocations: 55.62 kB / 1.012 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.1633, allocations: 20 kB / 1.012 GB, free: 11.52 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.000164/0.1635, allocations: 156.4 kB / 1.012 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.1635, allocations: 75.92 kB / 1.012 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1636, allocations: 103.2 kB / 1.012 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1636, allocations: 8 kB / 1.012 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1636, allocations: 0 / 1.012 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003775/0.164, allocations: 0.5815 MB / 1.013 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.1652, allocations: 1.019 MB / 1.014 GB, free: 9.457 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1652, allocations: 0 / 1.014 GB, free: 9.457 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.1658, allocations: 218.5 kB / 1.014 GB, free: 9.242 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1658, allocations: 7.969 kB / 1.014 GB, free: 9.234 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.1659, allocations: 23.98 kB / 1.014 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1659, allocations: 0 / 1.014 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1659, allocations: 4 kB / 1.014 GB, free: 9.207 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.1664, allocations: 0.5924 MB / 1.015 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.1666, allocations: 127.2 kB / 1.015 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.1667, allocations: 16 kB / 1.015 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.1669, allocations: 27.94 kB / 1.015 GB, free: 8.422 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.167, allocations: 48.56 kB / 1.015 GB, free: 8.371 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.167, allocations: 15.98 kB / 1.015 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001365/0.1671, allocations: 204.4 kB / 1.015 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1671, allocations: 0 / 1.015 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004974/0.1676, allocations: 367.3 kB / 1.016 GB, free: 7.797 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.0001602/0.1678, allocations: 115.3 kB / 1.016 GB, free: 7.68 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.1682, allocations: 336.8 kB / 1.016 GB, free: 7.352 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1682, allocations: 4 kB / 1.016 GB, free: 7.348 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.1684, allocations: 189.8 kB / 1.016 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.1695, allocations: 0.5616 MB / 1.017 GB, free: 6.605 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1714, allocations: 1.671 MB / 1.018 GB, free: 4.895 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.1716, allocations: 245.4 kB / 1.019 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004399/0.172, allocations: 146.8 kB / 1.019 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/0.1727, allocations: 379.1 kB / 1.019 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of SimCode: time 1.253e-06/0.1727, allocations: 0 / 1.019 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of Templates: time 0.02219/0.1949, allocations: 19.53 MB / 1.038 GB, free: 1.039 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 -s gbode -gbm=radauIIA3 -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.654953178949654]