Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001339/0.001339, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001555/0.001555, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9111/0.9111, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6055 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.808e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.132/0.132, allocations: 148.9 MB / 0.9329 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005122/0.1371, allocations: 3.7 MB / 0.9366 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005865/0.1377, allocations: 51.62 kB / 0.9366 GB, free: 3.082 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.1383, allocations: 317.8 kB / 0.9369 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.1402, allocations: 1.379 MB / 0.9383 GB, free: 1.383 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.000699/0.1409, allocations: 0.5636 MB / 0.9388 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002307/0.1432, allocations: 3.315 MB / 0.942 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007475/0.144, allocations: 0.8328 MB / 0.9429 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.1458, allocations: 1.719 MB / 0.9445 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009549/0.1467, allocations: 1.052 MB / 0.9456 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.1469, allocations: 128 kB / 0.9457 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.1473, allocations: 375.2 kB / 0.946 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.1477, allocations: 0.5649 MB / 0.9466 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.1481, allocations: 0.538 MB / 0.9471 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1491, allocations: 1.301 MB / 0.9484 GB, free: 7 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1491, allocations: 0 / 0.9484 GB, free: 7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1491, allocations: 0 / 0.9484 GB, free: 7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.1491, allocations: 0 / 0.9484 GB, free: 7 MB / 0.9011 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.001952/0.1511, allocations: 1.699 MB / 0.9501 GB, free: 5.258 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1511, allocations: 12.02 kB / 0.9501 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009684/0.1521, allocations: 435.3 kB / 0.9505 GB, free: 4.82 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.1527, allocations: 0.7448 MB / 0.9512 GB, free: 4.043 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.1528, allocations: 74.02 kB / 0.9513 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1529, allocations: 108 kB / 0.9514 GB, free: 3.863 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.1536, allocations: 0.7794 MB / 0.9521 GB, free: 3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1536, allocations: 3.953 kB / 0.9521 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.1537, allocations: 43.98 kB / 0.9522 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/0.1537, allocations: 62.06 kB / 0.9522 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.1542, allocations: 406.6 kB / 0.9526 GB, free: 2.473 MB / 0.9011 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.002685/0.1569, allocations: 2.577 MB / 0.9552 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.1574, allocations: 452.9 kB / 0.9556 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.1576, allocations: 212.5 kB / 0.9558 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.1576, allocations: 32.64 kB / 0.9558 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.1579, allocations: 475.5 kB / 0.9563 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 2.024e-06/0.1579, allocations: 0 / 0.9563 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.0006369/0.1586, allocations: 0.5482 MB / 0.9568 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.1586, allocations: 67.94 kB / 0.9569 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.1589, allocations: 0.5062 MB / 0.9574 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.1589, allocations: 41.7 kB / 0.9574 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.1591, allocations: 0.5188 MB / 0.9579 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.1593, allocations: 289.5 kB / 0.9582 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1594, allocations: 148.2 kB / 0.9583 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1595, allocations: 0.5624 MB / 0.9589 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1596, allocations: 93.92 kB / 0.959 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1598, allocations: 262.7 kB / 0.9592 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.1602, allocations: 405.1 kB / 0.9596 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1602, allocations: 4 kB / 0.9596 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004796/0.1606, allocations: 0.497 MB / 0.9601 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1607, allocations: 12.03 kB / 0.9601 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1607, allocations: 4 kB / 0.9601 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1607, allocations: 4 kB / 0.9601 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.161, allocations: 159.7 kB / 0.9603 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.161, allocations: 7.938 kB / 0.9603 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.1613, allocations: 51.62 kB / 0.9603 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1613, allocations: 24 kB / 0.9603 GB, free: 10.28 MB / 0.9167 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.0001566/0.1614, allocations: 196.3 kB / 0.9605 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.1615, allocations: 103.5 kB / 0.9606 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.569e-05/0.1616, allocations: 103.2 kB / 0.9607 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1616, allocations: 8 kB / 0.9607 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1616, allocations: 7.922 kB / 0.9607 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004265/0.1621, allocations: 0.6674 MB / 0.9614 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1633, allocations: 1.276 MB / 0.9626 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1633, allocations: 0 / 0.9626 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.1637, allocations: 171.8 kB / 0.9628 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1637, allocations: 15.91 kB / 0.9628 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1638, allocations: 16 kB / 0.9628 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1638, allocations: 4 kB / 0.9628 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1638, allocations: 0 / 0.9628 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.1644, allocations: 0.7536 MB / 0.9636 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.1646, allocations: 163.2 kB / 0.9637 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.1646, allocations: 15.98 kB / 0.9637 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.1649, allocations: 16 kB / 0.9638 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1649, allocations: 48.56 kB / 0.9638 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.1649, allocations: 27.98 kB / 0.9638 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000157/0.1651, allocations: 314.7 kB / 0.9641 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1651, allocations: 0 / 0.9641 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004432/0.1655, allocations: 371.2 kB / 0.9645 GB, free: 5.859 MB / 0.9167 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.000136/0.1657, allocations: 127.1 kB / 0.9646 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.166, allocations: 387.2 kB / 0.965 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1661, allocations: 0 / 0.965 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.1662, allocations: 224.5 kB / 0.9652 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.1673, allocations: 0.5299 MB / 0.9657 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.1691, allocations: 1.77 MB / 0.9674 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.1693, allocations: 257.4 kB / 0.9677 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003541/0.1696, allocations: 154.7 kB / 0.9678 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/0.1703, allocations: 437.9 kB / 0.9683 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.1703, allocations: 4 kB / 0.9683 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of Templates: time 0.01952/0.1898, allocations: 19.35 MB / 0.9872 GB, free: 15.04 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.990718952845782]