Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.006858/0.006858, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001553/0.001553, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7687, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3258/1.095, allocations: 295.1 MB / 1.376 GB, free: 6.18 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.031/1.126, allocations: 17.02 MB / 1.393 GB, free: 5.129 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/1.13, allocations: 79.62 kB / 1.393 GB, free: 5.051 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005752/1.136, allocations: 1.974 MB / 1.395 GB, free: 3.066 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01728/1.153, allocations: 6.628 MB / 1.401 GB, free: 12.41 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.009554/1.163, allocations: 2.976 MB / 1.404 GB, free: 9.434 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01066/1.173, allocations: 7.724 MB / 1.412 GB, free: 1.691 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/1.178, allocations: 2.595 MB / 1.414 GB, free: 15.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/1.184, allocations: 2.854 MB / 1.417 GB, free: 12.17 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005606/1.189, allocations: 2.709 MB / 1.42 GB, free: 9.465 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001067/1.19, allocations: 324 kB / 1.42 GB, free: 9.148 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/1.203, allocations: 6.2 MB / 1.426 GB, free: 2.934 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00209/1.205, allocations: 1.34 MB / 1.427 GB, free: 1.59 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003978/1.209, allocations: 1.883 MB / 1.429 GB, free: 15.7 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01437/1.224, allocations: 6.912 MB / 1.436 GB, free: 8.766 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/1.224, allocations: 0 / 1.436 GB, free: 8.766 MB / 1.17 GB Notification: Performance of FrontEnd: time 5.58e-06/1.224, allocations: 0 / 1.436 GB, free: 8.766 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001765/1.224, allocations: 3.938 kB / 1.436 GB, free: 8.762 MB / 1.17 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.01412/1.238, allocations: 4.222 MB / 1.44 GB, free: 4.465 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.238, allocations: 8.031 kB / 1.44 GB, free: 4.457 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00734/1.245, allocations: 0.9384 MB / 1.441 GB, free: 3.516 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005304/1.251, allocations: 1.926 MB / 1.443 GB, free: 1.535 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/1.251, allocations: 197.1 kB / 1.443 GB, free: 1.34 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/1.252, allocations: 263.9 kB / 1.443 GB, free: 1.082 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006308/1.258, allocations: 3.327 MB / 1.447 GB, free: 13.65 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.408e-05/1.258, allocations: 11.89 kB / 1.447 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002667/1.259, allocations: 108 kB / 1.447 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/1.259, allocations: 141 kB / 1.447 GB, free: 13.39 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006112/1.265, allocations: 3.498 MB / 1.45 GB, free: 9.883 MB / 1.186 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.01776/1.283, allocations: 12.17 MB / 1.462 GB, free: 12.81 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005332/1.288, allocations: 3.501 MB / 1.465 GB, free: 9.227 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002998/1.291, allocations: 1.853 MB / 1.467 GB, free: 7.367 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/1.293, allocations: 1.485 MB / 1.469 GB, free: 5.566 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/1.293, allocations: 68.73 kB / 1.469 GB, free: 5.488 MB / 1.201 GB Notification: Performance of pre-optimization done (n=278): time 4.148e-06/1.293, allocations: 0 / 1.469 GB, free: 5.488 MB / 1.201 GB Notification: Performance of matching and sorting (n=278): time 0.006879/1.3, allocations: 3.902 MB / 1.473 GB, free: 1.539 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/1.3, allocations: 77.59 kB / 1.473 GB, free: 1.449 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/1.302, allocations: 1.383 MB / 1.474 GB, free: 60 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/1.302, allocations: 73.78 kB / 1.474 GB, free: 15.98 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006934/1.303, allocations: 1.006 MB / 1.475 GB, free: 14.96 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008733/1.304, allocations: 0.9874 MB / 1.476 GB, free: 13.97 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006348/1.304, allocations: 409 kB / 1.476 GB, free: 13.56 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/1.304, allocations: 301.1 kB / 1.477 GB, free: 13.27 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/1.306, allocations: 1.098 MB / 1.478 GB, free: 12.16 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/1.308, allocations: 1.358 MB / 1.479 GB, free: 10.74 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/1.313, allocations: 2.65 MB / 1.482 GB, free: 7.996 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/1.313, allocations: 4 kB / 1.482 GB, free: 7.992 MB / 1.217 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005075/1.318, allocations: 2.987 MB / 1.485 GB, free: 4.961 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.318, allocations: 8 kB / 1.485 GB, free: 4.953 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.318, allocations: 4 kB / 1.485 GB, free: 4.949 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/1.318, allocations: 15.94 kB / 1.485 GB, free: 4.934 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/1.32, allocations: 0.5115 MB / 1.485 GB, free: 4.422 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/1.32, allocations: 20 kB / 1.485 GB, free: 4.402 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/1.322, allocations: 190.5 kB / 1.485 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/1.323, allocations: 87.98 kB / 1.485 GB, free: 4.129 MB / 1.217 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.001336/1.324, allocations: 0.6417 MB / 1.486 GB, free: 3.477 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/1.325, allocations: 234.5 kB / 1.486 GB, free: 3.246 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/1.33, allocations: 3.116 MB / 1.489 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/1.33, allocations: 28 kB / 1.489 GB, free: 40 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/1.33, allocations: 4 kB / 1.489 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004094/1.334, allocations: 2.661 MB / 1.492 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.345, allocations: 6.214 MB / 1.498 GB, free: 6.988 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.345, allocations: 4 kB / 1.498 GB, free: 6.984 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/1.348, allocations: 0.5462 MB / 1.499 GB, free: 6.438 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-05/1.348, allocations: 8 kB / 1.499 GB, free: 6.43 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/1.348, allocations: 59.97 kB / 1.499 GB, free: 6.371 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/1.348, allocations: 12 kB / 1.499 GB, free: 6.359 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.348, allocations: 0 / 1.499 GB, free: 6.359 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007507/1.356, allocations: 4.578 MB / 1.503 GB, free: 1.699 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.358, allocations: 0.6276 MB / 1.504 GB, free: 1.051 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006266/1.359, allocations: 52 kB / 1.504 GB, free: 1 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.361, allocations: 65.39 kB / 1.504 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/1.361, allocations: 158 kB / 1.504 GB, free: 0.7812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.361, allocations: 87.91 kB / 1.504 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001666/1.363, allocations: 0.9462 MB / 1.505 GB, free: 15.75 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.3e-07/1.363, allocations: 0 / 1.505 GB, free: 15.75 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002631/1.366, allocations: 0.9867 MB / 1.506 GB, free: 14.77 MB / 1.248 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.000713/1.366, allocations: 377.1 kB / 1.506 GB, free: 14.39 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004834/1.371, allocations: 2.778 MB / 1.509 GB, free: 11.58 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.371, allocations: 0 / 1.509 GB, free: 11.58 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002358/1.374, allocations: 1.504 MB / 1.511 GB, free: 10.07 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006516/1.38, allocations: 1.352 MB / 1.512 GB, free: 8.742 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.391, allocations: 6.096 MB / 1.518 GB, free: 2.594 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/1.392, allocations: 1.903 MB / 1.52 GB, free: 0.6523 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003212/1.395, allocations: 0.8397 MB / 1.52 GB, free: 15.81 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007955/1.396, allocations: 207.4 kB / 1.521 GB, free: 15.61 MB / 1.264 GB Notification: Performance of SimCode: time 7.92e-07/1.396, allocations: 4 kB / 1.521 GB, free: 15.6 MB / 1.264 GB Notification: Performance of Templates: time 0.08262/1.479, allocations: 50.21 MB / 1.57 GB, free: 14.03 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches