Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001002/0.001002, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001715/0.001715, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.9942/0.9942, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.851/1.851, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.8128 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.465e-05, allocations: 8.922 kB / 0.8128 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1214/0.1214, allocations: 149 MB / 0.9582 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00445/0.1259, allocations: 3.715 MB / 0.9618 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004113/0.1263, allocations: 47.62 kB / 0.9619 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.1269, allocations: 309.9 kB / 0.9622 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.1285, allocations: 1.379 MB / 0.9635 GB, free: 6.609 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.0006159/0.1291, allocations: 0.5653 MB / 0.9641 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.1314, allocations: 3.312 MB / 0.9673 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007029/0.1321, allocations: 0.8405 MB / 0.9681 GB, free: 1.855 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.1339, allocations: 1.715 MB / 0.9698 GB, free: 180 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008361/0.1347, allocations: 1.032 MB / 0.9708 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.1348, allocations: 124 kB / 0.9709 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.1353, allocations: 379.2 kB / 0.9713 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.1356, allocations: 0.561 MB / 0.9719 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.136, allocations: 0.538 MB / 0.9724 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.137, allocations: 1.305 MB / 0.9737 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.137, allocations: 0 / 0.9737 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.72e-07/0.137, allocations: 0 / 0.9737 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.1371, allocations: 0 / 0.9737 GB, free: 12.24 MB / 0.9323 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.002063/0.1391, allocations: 1.695 MB / 0.9753 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.1391, allocations: 12.03 kB / 0.9753 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.1402, allocations: 439.3 kB / 0.9757 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.1411, allocations: 0.7448 MB / 0.9765 GB, free: 9.285 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.1411, allocations: 74.02 kB / 0.9765 GB, free: 9.211 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1412, allocations: 108 kB / 0.9766 GB, free: 9.105 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.1419, allocations: 0.7794 MB / 0.9774 GB, free: 8.242 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.1419, allocations: 11.95 kB / 0.9774 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/0.142, allocations: 43.98 kB / 0.9775 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.1421, allocations: 58.08 kB / 0.9775 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.1426, allocations: 402.6 kB / 0.9779 GB, free: 7.715 MB / 0.9323 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.002968/0.1455, allocations: 2.569 MB / 0.9804 GB, free: 5.098 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.1461, allocations: 462.9 kB / 0.9808 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.1463, allocations: 216.4 kB / 0.9811 GB, free: 4.426 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.1463, allocations: 32.52 kB / 0.9811 GB, free: 4.395 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.1466, allocations: 467.6 kB / 0.9815 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 2.044e-06/0.1466, allocations: 0 / 0.9815 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.0006901/0.1473, allocations: 0.5482 MB / 0.9821 GB, free: 3.316 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.1474, allocations: 64 kB / 0.9821 GB, free: 3.242 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.1477, allocations: 0.5101 MB / 0.9826 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.1477, allocations: 45.7 kB / 0.9827 GB, free: 2.664 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.1479, allocations: 0.5226 MB / 0.9832 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.1481, allocations: 289.5 kB / 0.9835 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1482, allocations: 144.2 kB / 0.9836 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1484, allocations: 0.5663 MB / 0.9841 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1485, allocations: 93.92 kB / 0.9842 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1487, allocations: 258.7 kB / 0.9845 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.149, allocations: 397.1 kB / 0.9849 GB, free: 292 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.149, allocations: 4 kB / 0.9849 GB, free: 288 kB / 0.9323 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005298/0.1496, allocations: 0.5009 MB / 0.9854 GB, free: 15.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1496, allocations: 8 kB / 0.9854 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1496, allocations: 4 kB / 0.9854 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1496, allocations: 4 kB / 0.9854 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.15, allocations: 151.8 kB / 0.9855 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.15, allocations: 11.75 kB / 0.9855 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.1503, allocations: 51.62 kB / 0.9856 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.1503, allocations: 27.98 kB / 0.9856 GB, free: 15.52 MB / 0.948 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.0001682/0.1505, allocations: 196.6 kB / 0.9858 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1506, allocations: 103.5 kB / 0.9859 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1507, allocations: 99.23 kB / 0.986 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1507, allocations: 8 kB / 0.986 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1507, allocations: 3.938 kB / 0.986 GB, free: 15.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007028/0.1514, allocations: 0.6713 MB / 0.9866 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.1526, allocations: 1.276 MB / 0.9879 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1526, allocations: 0 / 0.9879 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.1531, allocations: 179.8 kB / 0.9881 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1531, allocations: 4 kB / 0.9881 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.1531, allocations: 19.98 kB / 0.9881 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1531, allocations: 4 kB / 0.9881 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1531, allocations: 0 / 0.9881 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.1539, allocations: 0.7575 MB / 0.9888 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.1541, allocations: 159.3 kB / 0.989 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.1542, allocations: 12 kB / 0.989 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.1545, allocations: 26.42 kB / 0.989 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1545, allocations: 44.64 kB / 0.9891 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.1546, allocations: 27.98 kB / 0.9891 GB, free: 11.78 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001756/0.1547, allocations: 314.7 kB / 0.9894 GB, free: 11.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1547, allocations: 0 / 0.9894 GB, free: 11.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004752/0.1552, allocations: 379.2 kB / 0.9897 GB, free: 11.1 MB / 0.948 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.0001585/0.1554, allocations: 137.8 kB / 0.9899 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.1558, allocations: 379 kB / 0.9902 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1558, allocations: 0 / 0.9902 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.156, allocations: 220.5 kB / 0.9905 GB, free: 10.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.1572, allocations: 0.5325 MB / 0.991 GB, free: 9.844 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1591, allocations: 1.778 MB / 0.9927 GB, free: 8.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.1592, allocations: 257.4 kB / 0.993 GB, free: 7.746 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003686/0.1596, allocations: 146.7 kB / 0.9931 GB, free: 7.598 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009468/0.1606, allocations: 441.8 kB / 0.9935 GB, free: 7.164 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.1606, allocations: 3.938 kB / 0.9935 GB, free: 7.16 MB / 0.948 GB Notification: Performance of Templates: time 0.02008/0.1806, allocations: 19.64 MB / 1.013 GB, free: 4.004 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.488833151292056]