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.001321/0.001321, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001285/0.001285, allocations: 169 kB / 24.06 MB, free: 456 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.9107/0.9107, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.006/2.006, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 178] 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.934e-06/1.934e-06, allocations: 4 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.305e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1148/0.1148, allocations: 149 MB / 1.025 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005114/0.1199, allocations: 3.717 MB / 1.028 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007171/0.1206, allocations: 47.62 kB / 1.029 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.1213, allocations: 309.9 kB / 1.029 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.1232, allocations: 1.391 MB / 1.03 GB, free: 11.06 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.0007961/0.124, allocations: 0.5519 MB / 1.031 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002776/0.1268, allocations: 3.327 MB / 1.034 GB, free: 7.18 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009377/0.1277, allocations: 0.8444 MB / 1.035 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.1298, allocations: 1.731 MB / 1.036 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009143/0.1307, allocations: 1.028 MB / 1.037 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.1308, allocations: 124 kB / 1.038 GB, free: 3.457 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005269/0.1313, allocations: 383.2 kB / 1.038 GB, free: 3.082 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.1316, allocations: 0.5688 MB / 1.039 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.132, allocations: 0.538 MB / 1.039 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1331, allocations: 1.301 MB / 1.04 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1331, allocations: 0 / 1.04 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.1331, allocations: 3.938 kB / 1.04 GB, free: 0.6641 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.1331, allocations: 0 / 1.04 GB, free: 0.6641 MB / 0.9948 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.002084/0.1352, allocations: 1.695 MB / 1.042 GB, free: 14.93 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.1352, allocations: 8.031 kB / 1.042 GB, free: 14.92 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1362, allocations: 447.2 kB / 1.042 GB, free: 14.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.137, allocations: 0.7409 MB / 1.043 GB, free: 13.71 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.137, allocations: 78 kB / 1.043 GB, free: 13.63 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1371, allocations: 107.9 kB / 1.043 GB, free: 13.52 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.1378, allocations: 0.7832 MB / 1.044 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1378, allocations: 0 / 1.044 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.1379, allocations: 44 kB / 1.044 GB, free: 12.61 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.138, allocations: 62.06 kB / 1.044 GB, free: 12.55 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.1386, allocations: 402.6 kB / 1.045 GB, free: 12.14 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.002661/0.1412, allocations: 2.581 MB / 1.047 GB, free: 9.508 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.1417, allocations: 445.3 kB / 1.048 GB, free: 9.062 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.1422, allocations: 216.5 kB / 1.048 GB, free: 8.848 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.1422, allocations: 20.59 kB / 1.048 GB, free: 8.828 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.1425, allocations: 471.6 kB / 1.048 GB, free: 8.301 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 1.813e-06/0.1425, allocations: 0 / 1.048 GB, free: 8.301 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.0006934/0.1432, allocations: 0.5559 MB / 1.049 GB, free: 7.738 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.1433, allocations: 64 kB / 1.049 GB, free: 7.664 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1436, allocations: 0.5139 MB / 1.049 GB, free: 7.133 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.1436, allocations: 37.7 kB / 1.049 GB, free: 7.09 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.1438, allocations: 0.5227 MB / 1.05 GB, free: 6.559 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.144, allocations: 285.5 kB / 1.05 GB, free: 6.277 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1441, allocations: 140.3 kB / 1.05 GB, free: 6.129 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1443, allocations: 0.5663 MB / 1.051 GB, free: 5.551 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1444, allocations: 93.92 kB / 1.051 GB, free: 5.461 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1446, allocations: 262.7 kB / 1.051 GB, free: 5.156 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1449, allocations: 393.1 kB / 1.052 GB, free: 4.719 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1449, allocations: 4 kB / 1.052 GB, free: 4.715 MB / 1.01 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005102/0.1454, allocations: 0.4967 MB / 1.052 GB, free: 4.211 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1454, allocations: 8.344 kB / 1.052 GB, free: 4.203 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1454, allocations: 8 kB / 1.052 GB, free: 4.195 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1455, allocations: 8 kB / 1.052 GB, free: 4.188 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.1458, allocations: 155.8 kB / 1.052 GB, free: 4.035 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1458, allocations: 15.92 kB / 1.052 GB, free: 4.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.1461, allocations: 55.58 kB / 1.052 GB, free: 3.965 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.1461, allocations: 20 kB / 1.052 GB, free: 3.945 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.0001616/0.1463, allocations: 200.3 kB / 1.052 GB, free: 3.738 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.1464, allocations: 99.53 kB / 1.053 GB, free: 3.641 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.1465, allocations: 99.23 kB / 1.053 GB, free: 3.539 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1465, allocations: 12 kB / 1.053 GB, free: 3.527 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1465, allocations: 3.938 kB / 1.053 GB, free: 3.523 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004403/0.1469, allocations: 0.6713 MB / 1.053 GB, free: 2.766 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.1484, allocations: 1.28 MB / 1.055 GB, free: 1.449 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1484, allocations: 0 / 1.055 GB, free: 1.449 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.1488, allocations: 175.8 kB / 1.055 GB, free: 1.277 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1488, allocations: 7.969 kB / 1.055 GB, free: 1.27 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.1488, allocations: 20 kB / 1.055 GB, free: 1.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1488, allocations: 4 kB / 1.055 GB, free: 1.246 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1488, allocations: 3.984 kB / 1.055 GB, free: 1.242 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.1495, allocations: 0.7536 MB / 1.055 GB, free: 472 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1497, allocations: 155.3 kB / 1.056 GB, free: 316 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.1498, allocations: 19.98 kB / 1.056 GB, free: 296 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.15, allocations: 16 kB / 1.056 GB, free: 280 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1501, allocations: 48.56 kB / 1.056 GB, free: 232 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.1501, allocations: 19.98 kB / 1.056 GB, free: 212 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.3853/0.5354, allocations: 326.4 kB / 1.056 GB, free: 80.72 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5354, allocations: 0 / 1.056 GB, free: 80.72 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009577/0.5363, allocations: 370.5 kB / 1.056 GB, free: 80.72 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.0001863/0.5365, allocations: 125.3 kB / 1.057 GB, free: 80.63 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.5371, allocations: 377.1 kB / 1.057 GB, free: 80.62 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5371, allocations: 0.6562 kB / 1.057 GB, free: 80.62 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.5373, allocations: 222.9 kB / 1.057 GB, free: 80.61 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.5389, allocations: 0.5264 MB / 1.058 GB, free: 80.59 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.5412, allocations: 1.772 MB / 1.059 GB, free: 79.86 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.5413, allocations: 258 kB / 1.06 GB, free: 79.78 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005323/0.5419, allocations: 148.7 kB / 1.06 GB, free: 79.76 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007799/0.5426, allocations: 438.4 kB / 1.06 GB, free: 79.7 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.5426, allocations: 0.7812 kB / 1.06 GB, free: 79.7 MB / 1.01 GB Notification: Performance of Templates: time 0.02363/0.5663, allocations: 19.73 MB / 1.079 GB, free: 77.93 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: 5.938776185270399]