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.001012/0.001012, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001237/0.001237, allocations: 165 kB / 23.02 MB, free: 1.547 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.9644/0.9644, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.038/2.038, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.333e-06/1.333e-06, allocations: 0 / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.115e-05, allocations: 6.188 kB / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.127/0.1271, allocations: 151.8 MB / 1.026 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005823/0.1329, allocations: 3.74 MB / 1.03 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.1336, allocations: 47.62 kB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007482/0.1343, allocations: 313.8 kB / 1.03 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.1364, allocations: 1.383 MB / 1.032 GB, free: 8.527 MB / 0.9948 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.0008069/0.1372, allocations: 0.5657 MB / 1.032 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002572/0.1398, allocations: 3.32 MB / 1.036 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009492/0.1407, allocations: 0.8405 MB / 1.036 GB, free: 3.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.1424, allocations: 1.508 MB / 1.038 GB, free: 2.258 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.1437, allocations: 1.058 MB / 1.039 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.1439, allocations: 128 kB / 1.039 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.1445, allocations: 462.9 kB / 1.039 GB, free: 0.6367 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.1449, allocations: 0.5688 MB / 1.04 GB, free: 68 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.1453, allocations: 0.5419 MB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.1465, allocations: 1.328 MB / 1.042 GB, free: 14.19 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1465, allocations: 0 / 1.042 GB, free: 14.19 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1465, allocations: 0 / 1.042 GB, free: 14.19 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.1466, allocations: 4 kB / 1.042 GB, free: 14.19 MB / 1.01 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.002264/0.1488, allocations: 1.726 MB / 1.043 GB, free: 12.42 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1489, allocations: 8.031 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.1501, allocations: 471.2 kB / 1.044 GB, free: 11.95 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.1511, allocations: 0.8053 MB / 1.045 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.1511, allocations: 82 kB / 1.045 GB, free: 11.03 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.1513, allocations: 104 kB / 1.045 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1523, allocations: 0.8614 MB / 1.046 GB, free: 9.984 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.1523, allocations: 3.984 kB / 1.046 GB, free: 9.98 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.1524, allocations: 40 kB / 1.046 GB, free: 9.941 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/0.1524, allocations: 66.06 kB / 1.046 GB, free: 9.875 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007894/0.1532, allocations: 0.4962 MB / 1.046 GB, free: 9.367 MB / 1.01 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.00324/0.1565, allocations: 2.597 MB / 1.049 GB, free: 6.723 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.1571, allocations: 0.4957 MB / 1.049 GB, free: 6.219 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.1575, allocations: 248.5 kB / 1.05 GB, free: 5.973 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.1575, allocations: 20.66 kB / 1.05 GB, free: 5.953 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/0.158, allocations: 499.6 kB / 1.05 GB, free: 5.398 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 2.104e-06/0.158, allocations: 0 / 1.05 GB, free: 5.398 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.001103/0.1591, allocations: 0.6419 MB / 1.051 GB, free: 4.75 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1591, allocations: 60 kB / 1.051 GB, free: 4.68 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.1595, allocations: 0.5182 MB / 1.051 GB, free: 4.145 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.1595, allocations: 37.7 kB / 1.051 GB, free: 4.102 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.1597, allocations: 0.5149 MB / 1.052 GB, free: 3.578 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.1599, allocations: 281.8 kB / 1.052 GB, free: 3.301 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.16, allocations: 144.3 kB / 1.052 GB, free: 3.148 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1602, allocations: 0.5625 MB / 1.053 GB, free: 2.574 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1604, allocations: 125.9 kB / 1.053 GB, free: 2.453 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1607, allocations: 290.7 kB / 1.053 GB, free: 2.121 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.1612, allocations: 449.2 kB / 1.054 GB, free: 1.629 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1612, allocations: 0 / 1.054 GB, free: 1.629 MB / 1.01 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006784/0.1618, allocations: 0.5592 MB / 1.054 GB, free: 1.062 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1619, allocations: 16.27 kB / 1.054 GB, free: 1.047 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1619, allocations: 4 kB / 1.054 GB, free: 1.043 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1619, allocations: 8 kB / 1.054 GB, free: 1.035 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.1623, allocations: 151.8 kB / 1.054 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1623, allocations: 11.94 kB / 1.054 GB, free: 0.875 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.1626, allocations: 59.5 kB / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.1626, allocations: 28 kB / 1.054 GB, free: 0.7891 MB / 1.01 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.0001719/0.1628, allocations: 196.4 kB / 1.055 GB, free: 0.5859 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.1629, allocations: 103.5 kB / 1.055 GB, free: 496 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.163, allocations: 99.23 kB / 1.055 GB, free: 392 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.163, allocations: 12 kB / 1.055 GB, free: 380 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.163, allocations: 3.938 kB / 1.055 GB, free: 376 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4079/0.5709, allocations: 0.7236 MB / 1.055 GB, free: 78.74 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.5731, allocations: 1.502 MB / 1.057 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.5731, allocations: 2.062 kB / 1.057 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.5736, allocations: 177.8 kB / 1.057 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.5736, allocations: 2.531 kB / 1.057 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.5736, allocations: 23.38 kB / 1.057 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5736, allocations: 2.656 kB / 1.057 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5736, allocations: 2.719 kB / 1.057 GB, free: 78.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.5745, allocations: 0.8334 MB / 1.058 GB, free: 78.19 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.5747, allocations: 169 kB / 1.058 GB, free: 78.19 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.5748, allocations: 13.41 kB / 1.058 GB, free: 78.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.5751, allocations: 21.47 kB / 1.058 GB, free: 78.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.5752, allocations: 52.8 kB / 1.058 GB, free: 78.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.5752, allocations: 26.03 kB / 1.058 GB, free: 78.19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002214/0.5754, allocations: 342.2 kB / 1.059 GB, free: 78.05 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5754, allocations: 1.094 kB / 1.059 GB, free: 78.05 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006128/0.576, allocations: 373.1 kB / 1.059 GB, free: 78.05 MB / 1.01 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.0001689/0.5762, allocations: 131.6 kB / 1.059 GB, free: 77.96 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005804/0.5768, allocations: 435 kB / 1.059 GB, free: 77.94 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5768, allocations: 3.5 kB / 1.059 GB, free: 77.94 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.577, allocations: 249.5 kB / 1.06 GB, free: 77.92 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5783, allocations: 0.525 MB / 1.06 GB, free: 77.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.5805, allocations: 1.779 MB / 1.062 GB, free: 77.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.5806, allocations: 256.7 kB / 1.062 GB, free: 77.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005028/0.5811, allocations: 222 kB / 1.062 GB, free: 77.06 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.5813, allocations: 75.47 kB / 1.062 GB, free: 77.05 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/0.5813, allocations: 0.8438 kB / 1.062 GB, free: 77.05 MB / 1.01 GB Notification: Performance of Templates: time 0.01863/0.5999, allocations: 17.8 MB / 1.08 GB, free: 75.42 MB / 1.01 GB " [Timeout remaining time 299] 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: 6.112889072857797]