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.0009972/0.0009972, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009518/0.0009518, allocations: 161 kB / 23.82 MB, free: 0.75 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.869/0.869, allocations: 177.2 MB / 204.2 MB, free: 5.602 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.735/1.735, allocations: 359 MB / 0.6052 GB, free: 10.96 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 2.014e-06/2.014e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.753e-05, allocations: 5.781 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1325/0.1325, allocations: 151.7 MB / 0.9352 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006014/0.1385, allocations: 3.734 MB / 0.9389 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.1399, allocations: 47.62 kB / 0.9389 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008449/0.1407, allocations: 313.8 kB / 0.9392 GB, free: 188 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.1434, allocations: 1.379 MB / 0.9406 GB, free: 14.8 MB / 0.9011 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.001061/0.1445, allocations: 0.552 MB / 0.9411 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003407/0.1479, allocations: 3.322 MB / 0.9444 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.1491, allocations: 0.8405 MB / 0.9452 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.1522, allocations: 1.721 MB / 0.9469 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.1537, allocations: 1.044 MB / 0.9479 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.154, allocations: 128 kB / 0.948 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009832/0.1549, allocations: 379.1 kB / 0.9484 GB, free: 6.82 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005037/0.1554, allocations: 0.561 MB / 0.9489 GB, free: 6.258 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0008054/0.1563, allocations: 0.5342 MB / 0.9494 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.1583, allocations: 1.297 MB / 0.9507 GB, free: 4.422 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1583, allocations: 0 / 0.9507 GB, free: 4.422 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1583, allocations: 4 kB / 0.9507 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.456e-05/0.1583, allocations: 0 / 0.9507 GB, free: 4.418 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.002755/0.1611, allocations: 1.703 MB / 0.9524 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1611, allocations: 12.03 kB / 0.9524 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.1623, allocations: 439.3 kB / 0.9528 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.1633, allocations: 0.7644 MB / 0.9535 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.1634, allocations: 81.98 kB / 0.9536 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.1635, allocations: 108 kB / 0.9537 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.1646, allocations: 0.8575 MB / 0.9546 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.1646, allocations: 3.953 kB / 0.9546 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.1646, allocations: 47.98 kB / 0.9546 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.1647, allocations: 58.06 kB / 0.9547 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.1655, allocations: 0.5001 MB / 0.9552 GB, free: 15.69 MB / 0.9167 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.003471/0.169, allocations: 2.597 MB / 0.9577 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.1697, allocations: 496.2 kB / 0.9582 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.17, allocations: 244.5 kB / 0.9584 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/0.1701, allocations: 24.64 kB / 0.9584 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.1705, allocations: 495.6 kB / 0.9589 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 3.797e-06/0.1705, allocations: 0 / 0.9589 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.0009782/0.1715, allocations: 0.638 MB / 0.9595 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1715, allocations: 64 kB / 0.9596 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.172, allocations: 0.5143 MB / 0.9601 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.172, allocations: 41.7 kB / 0.9601 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.1722, allocations: 0.5151 MB / 0.9606 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.1724, allocations: 289.5 kB / 0.9609 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1725, allocations: 136.3 kB / 0.961 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1727, allocations: 0.5625 MB / 0.9616 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.1729, allocations: 125.9 kB / 0.9617 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.1731, allocations: 290.7 kB / 0.962 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.1736, allocations: 453.2 kB / 0.9624 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1736, allocations: 0 / 0.9624 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006657/0.1743, allocations: 0.5708 MB / 0.963 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1743, allocations: 4 kB / 0.963 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1743, allocations: 4 kB / 0.963 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1743, allocations: 8 kB / 0.963 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.1749, allocations: 155.7 kB / 0.9631 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1749, allocations: 12.28 kB / 0.9631 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.1752, allocations: 59.62 kB / 0.9632 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.1752, allocations: 24 kB / 0.9632 GB, free: 7.129 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.0002105/0.1754, allocations: 204.3 kB / 0.9634 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1755, allocations: 107.5 kB / 0.9635 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1756, allocations: 99.23 kB / 0.9636 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1757, allocations: 8 kB / 0.9636 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1757, allocations: 3.938 kB / 0.9636 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005732/0.1762, allocations: 0.726 MB / 0.9643 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.1779, allocations: 1.494 MB / 0.9658 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1779, allocations: 3.938 kB / 0.9658 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.1784, allocations: 171.8 kB / 0.966 GB, free: 4.164 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1784, allocations: 4 kB / 0.966 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.1784, allocations: 19.98 kB / 0.966 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.1784, allocations: 4 kB / 0.966 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1784, allocations: 0 / 0.966 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008563/0.1793, allocations: 0.8357 MB / 0.9668 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.1795, allocations: 175.2 kB / 0.967 GB, free: 3.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.1796, allocations: 20 kB / 0.967 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.1799, allocations: 21.98 kB / 0.967 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.1799, allocations: 52.56 kB / 0.9671 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.1799, allocations: 20 kB / 0.9671 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002432/0.1802, allocations: 342.8 kB / 0.9674 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1802, allocations: 0 / 0.9674 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006095/0.1808, allocations: 367.2 kB / 0.9678 GB, free: 2.301 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.0001857/0.181, allocations: 127.1 kB / 0.9679 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.1816, allocations: 435 kB / 0.9683 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1816, allocations: 4 kB / 0.9683 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.1818, allocations: 244.6 kB / 0.9685 GB, free: 1.492 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.183, allocations: 0.5405 MB / 0.9691 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.1856, allocations: 1.782 MB / 0.9708 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.1858, allocations: 261.4 kB / 0.971 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005426/0.1863, allocations: 222.6 kB / 0.9713 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.1865, allocations: 68.48 kB / 0.9713 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of SimCode: time 3.407e-06/0.1865, allocations: 0 / 0.9713 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of Templates: time 0.02155/0.208, allocations: 18.77 MB / 0.9896 GB, free: 12.23 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: 5.259785556700081]