Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.001541, allocations: 102 kB / 16.27 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 185.4 kB / 17.19 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.2 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9045/1.275, allocations: 295.1 MB / 1.352 GB, free: 1.547 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02408/1.299, allocations: 17.02 MB / 1.369 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/1.303, allocations: 79.62 kB / 1.369 GB, free: 424 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005229/1.309, allocations: 1.9 MB / 1.371 GB, free: 14.5 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01682/1.326, allocations: 6.428 MB / 1.377 GB, free: 8.051 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008626/1.334, allocations: 2.926 MB / 1.38 GB, free: 5.125 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01096/1.345, allocations: 7.709 MB / 1.388 GB, free: 13.4 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004685/1.35, allocations: 2.591 MB / 1.39 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005955/1.356, allocations: 2.772 MB / 1.393 GB, free: 7.973 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00564/1.362, allocations: 2.695 MB / 1.395 GB, free: 5.281 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/1.363, allocations: 332 kB / 1.396 GB, free: 4.957 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0134/1.376, allocations: 6.157 MB / 1.402 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002281/1.378, allocations: 1.34 MB / 1.403 GB, free: 13.44 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004435/1.383, allocations: 1.879 MB / 1.405 GB, free: 11.55 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/1.398, allocations: 6.837 MB / 1.412 GB, free: 4.699 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.398, allocations: 4 kB / 1.412 GB, free: 4.695 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.758e-06/1.398, allocations: 3.938 kB / 1.412 GB, free: 4.691 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001946/1.398, allocations: 3.938 kB / 1.412 GB, free: 4.688 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01326/1.411, allocations: 4.116 MB / 1.416 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.411, allocations: 12.62 kB / 1.416 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006965/1.418, allocations: 0.9171 MB / 1.417 GB, free: 15.57 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004406/1.423, allocations: 1.846 MB / 1.418 GB, free: 13.67 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/1.423, allocations: 201.1 kB / 1.419 GB, free: 13.47 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008225/1.424, allocations: 256 kB / 1.419 GB, free: 13.22 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007975/1.432, allocations: 3.327 MB / 1.422 GB, free: 9.789 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-05/1.432, allocations: 15.78 kB / 1.422 GB, free: 9.773 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004843/1.432, allocations: 111.9 kB / 1.422 GB, free: 9.664 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/1.433, allocations: 137 kB / 1.422 GB, free: 9.527 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007265/1.44, allocations: 3.502 MB / 1.426 GB, free: 6.012 MB / 1.139 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.01994/1.46, allocations: 12.22 MB / 1.438 GB, free: 8.891 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/1.465, allocations: 3.506 MB / 1.441 GB, free: 5.301 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/1.468, allocations: 1.81 MB / 1.443 GB, free: 3.484 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.47, allocations: 1.497 MB / 1.444 GB, free: 1.672 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/1.47, allocations: 68.75 kB / 1.444 GB, free: 1.594 MB / 1.154 GB Notification: Performance of pre-optimization done (n=278): time 4.728e-06/1.47, allocations: 0 / 1.444 GB, free: 1.594 MB / 1.154 GB Notification: Performance of matching and sorting (n=278): time 0.0072/1.477, allocations: 3.881 MB / 1.448 GB, free: 13.66 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/1.477, allocations: 85.53 kB / 1.448 GB, free: 13.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/1.48, allocations: 1.376 MB / 1.45 GB, free: 12.18 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002691/1.48, allocations: 81.7 kB / 1.45 GB, free: 12.1 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/1.481, allocations: 0.9765 MB / 1.451 GB, free: 11.11 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.482, allocations: 0.9509 MB / 1.452 GB, free: 10.14 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008264/1.483, allocations: 408.9 kB / 1.452 GB, free: 9.738 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.483, allocations: 301.1 kB / 1.452 GB, free: 9.441 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.485, allocations: 1.102 MB / 1.453 GB, free: 8.336 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/1.487, allocations: 1.358 MB / 1.455 GB, free: 6.91 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004385/1.491, allocations: 2.646 MB / 1.457 GB, free: 4.172 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.491, allocations: 0 / 1.457 GB, free: 4.172 MB / 1.17 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005403/1.497, allocations: 2.97 MB / 1.46 GB, free: 1.156 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/1.497, allocations: 16.08 kB / 1.46 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.497, allocations: 4 kB / 1.46 GB, free: 1.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.729e-05/1.497, allocations: 16 kB / 1.46 GB, free: 1.121 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/1.499, allocations: 0.511 MB / 1.461 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.122e-05/1.499, allocations: 19.88 kB / 1.461 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.502, allocations: 181.9 kB / 1.461 GB, free: 420 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/1.502, allocations: 83.98 kB / 1.461 GB, free: 336 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001364/1.503, allocations: 0.6456 MB / 1.462 GB, free: 15.67 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007488/1.504, allocations: 229.3 kB / 1.462 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005708/1.51, allocations: 3.113 MB / 1.465 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/1.51, allocations: 24 kB / 1.465 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.51, allocations: 7.938 kB / 1.465 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004136/1.514, allocations: 2.661 MB / 1.467 GB, free: 9.508 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.525, allocations: 6.213 MB / 1.474 GB, free: 3.188 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.525, allocations: 0 / 1.474 GB, free: 3.188 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.528, allocations: 0.5423 MB / 1.474 GB, free: 2.645 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.028e-05/1.528, allocations: 15.92 kB / 1.474 GB, free: 2.629 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/1.528, allocations: 63.98 kB / 1.474 GB, free: 2.566 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.133e-05/1.528, allocations: 8 kB / 1.474 GB, free: 2.559 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.528, allocations: 3.984 kB / 1.474 GB, free: 2.555 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/1.535, allocations: 4.577 MB / 1.479 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.537, allocations: 0.6071 MB / 1.479 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/1.538, allocations: 48 kB / 1.479 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.54, allocations: 63.97 kB / 1.479 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/1.54, allocations: 162 kB / 1.479 GB, free: 13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.54, allocations: 83.97 kB / 1.48 GB, free: 12.92 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001774/1.542, allocations: 0.9384 MB / 1.48 GB, free: 11.98 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/1.542, allocations: 0 / 1.48 GB, free: 11.98 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002652/1.545, allocations: 0.9823 MB / 1.481 GB, free: 11 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.0007761/1.545, allocations: 382 kB / 1.482 GB, free: 10.62 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.558, allocations: 5.535 MB / 1.487 GB, free: 5.051 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.558, allocations: 0 / 1.487 GB, free: 5.051 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002613/1.56, allocations: 1.507 MB / 1.489 GB, free: 3.539 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008906/1.569, allocations: 1.36 MB / 1.49 GB, free: 2.215 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/1.586, allocations: 6.211 MB / 1.496 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003913/1.59, allocations: 1.899 MB / 1.498 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/1.592, allocations: 231.4 kB / 1.498 GB, free: 9.789 MB / 1.217 GB Notification: Performance of SimCode: time 2.275e-06/1.592, allocations: 0 / 1.498 GB, free: 9.789 MB / 1.217 GB Notification: Performance of Templates: time 0.07452/1.666, allocations: 42.84 MB / 1.54 GB, free: 15.16 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches