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.001752/0.001752, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002581/0.002581, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.658/1.658, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.574/2.574, allocations: 390.2 MB / 0.6646 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.8227, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3544/1.177, allocations: 295.1 MB / 1.238 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9254/2.103, allocations: 17 MB / 1.254 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004623/2.107, allocations: 81.84 kB / 1.254 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0057/2.113, allocations: 1.897 MB / 1.256 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02064/2.134, allocations: 6.428 MB / 1.263 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009491/2.143, allocations: 2.929 MB / 1.265 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01525/2.158, allocations: 7.696 MB / 1.273 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005915/2.164, allocations: 2.595 MB / 1.275 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008908/2.173, allocations: 2.767 MB / 1.278 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007681/2.181, allocations: 2.702 MB / 1.281 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001846/2.183, allocations: 328.2 kB / 1.281 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01756/2.201, allocations: 6.167 MB / 1.287 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003626/2.204, allocations: 1.335 MB / 1.288 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007039/2.211, allocations: 1.884 MB / 1.29 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01953/2.231, allocations: 6.838 MB / 1.297 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/2.231, allocations: 0 / 1.297 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.496e-06/2.231, allocations: 0.8438 kB / 1.297 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000243/2.231, allocations: 0 / 1.297 GB, free: 0.8672 MB / 0.9981 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.01717/2.248, allocations: 4.131 MB / 1.301 GB, free: 15.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/2.248, allocations: 8.219 kB / 1.301 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007918/2.256, allocations: 0.9137 MB / 1.302 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/2.262, allocations: 1.838 MB / 1.304 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/2.262, allocations: 194 kB / 1.304 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/2.264, allocations: 259.4 kB / 1.304 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009419/2.273, allocations: 3.329 MB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.055e-05/2.273, allocations: 14.08 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/2.273, allocations: 108.7 kB / 1.308 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/2.274, allocations: 138.4 kB / 1.308 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006984/2.281, allocations: 3.502 MB / 1.311 GB, free: 14.18 MB / 1.014 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.02213/2.303, allocations: 12.22 MB / 1.323 GB, free: 8.223 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005449/2.308, allocations: 3.518 MB / 1.326 GB, free: 7.637 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/2.311, allocations: 1.818 MB / 1.328 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/2.313, allocations: 1.494 MB / 1.33 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.686e-05/2.313, allocations: 64.5 kB / 1.33 GB, free: 5.949 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 5.069e-06/2.313, allocations: 0 / 1.33 GB, free: 5.949 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.007526/2.321, allocations: 3.89 MB / 1.334 GB, free: 5.691 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/2.321, allocations: 81.53 kB / 1.334 GB, free: 5.625 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/2.323, allocations: 1.376 MB / 1.335 GB, free: 5.461 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003333/2.324, allocations: 75.2 kB / 1.335 GB, free: 5.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/2.324, allocations: 0.9815 MB / 1.336 GB, free: 5.043 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/2.326, allocations: 0.9471 MB / 1.337 GB, free: 4.422 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006712/2.326, allocations: 412.8 kB / 1.337 GB, free: 4.395 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001167/2.326, allocations: 303.9 kB / 1.338 GB, free: 4.098 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/2.328, allocations: 1.091 MB / 1.339 GB, free: 4.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/2.33, allocations: 1.361 MB / 1.34 GB, free: 3.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/2.334, allocations: 2.645 MB / 1.343 GB, free: 3.668 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/2.334, allocations: 1.75 kB / 1.343 GB, free: 3.668 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007105/2.341, allocations: 2.976 MB / 1.345 GB, free: 3.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/2.341, allocations: 8.844 kB / 1.345 GB, free: 3.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/2.341, allocations: 7.25 kB / 1.345 GB, free: 3.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.557e-05/2.341, allocations: 14.53 kB / 1.346 GB, free: 3.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/2.345, allocations: 0.5152 MB / 1.346 GB, free: 3.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.727e-05/2.345, allocations: 17.78 kB / 1.346 GB, free: 3.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/2.349, allocations: 186.2 kB / 1.346 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004386/2.35, allocations: 86.66 kB / 1.346 GB, free: 3.32 MB / 1.014 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.002414/2.352, allocations: 0.6363 MB / 1.347 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/2.353, allocations: 232 kB / 1.347 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008202/2.361, allocations: 3.12 MB / 1.35 GB, free: 2.895 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/2.362, allocations: 25.97 kB / 1.35 GB, free: 2.895 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/2.362, allocations: 0 / 1.35 GB, free: 2.895 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00615/2.368, allocations: 2.662 MB / 1.353 GB, free: 2.363 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/2.384, allocations: 6.22 MB / 1.359 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/2.384, allocations: 0 / 1.359 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003894/2.388, allocations: 0.5321 MB / 1.359 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.499e-05/2.388, allocations: 15.98 kB / 1.359 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002778/2.388, allocations: 63.98 kB / 1.359 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-05/2.388, allocations: 8 kB / 1.359 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/2.388, allocations: 4 kB / 1.359 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/2.4, allocations: 4.574 MB / 1.364 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002767/2.402, allocations: 0.6109 MB / 1.365 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007041/2.403, allocations: 51.98 kB / 1.365 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/2.406, allocations: 59.98 kB / 1.365 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004895/2.406, allocations: 165.9 kB / 1.365 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/2.407, allocations: 83.97 kB / 1.365 GB, free: 9.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002011/2.409, allocations: 0.9423 MB / 1.366 GB, free: 8.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.41e-07/2.409, allocations: 0 / 1.366 GB, free: 8.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003822/2.413, allocations: 0.9823 MB / 1.367 GB, free: 7.168 MB / 1.029 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.000919/2.413, allocations: 382.7 kB / 1.367 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01928/2.433, allocations: 5.531 MB / 1.373 GB, free: 1.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/2.433, allocations: 2.531 kB / 1.373 GB, free: 1.332 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003047/2.436, allocations: 1.509 MB / 1.374 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00835/2.444, allocations: 1.349 MB / 1.375 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/2.457, allocations: 6.079 MB / 1.381 GB, free: 8.453 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/2.46, allocations: 1.895 MB / 1.383 GB, free: 6.52 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00492/2.464, allocations: 0.8397 MB / 1.384 GB, free: 5.676 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/2.466, allocations: 210.5 kB / 1.384 GB, free: 5.473 MB / 1.045 GB Notification: Performance of SimCode: time 1.403e-06/2.466, allocations: 0 / 1.384 GB, free: 5.473 MB / 1.045 GB Notification: Performance of Templates: time 0.0852/2.551, allocations: 49.71 MB / 1.433 GB, free: 4.59 MB / 1.092 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