Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006888/0.006888, allocations: 96.8 kB / 15.73 MB, free: 6.039 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.001637/0.001637, allocations: 200.5 kB / 16.68 MB, free: 5.965 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2851, allocations: 151.6 MB / 1.167 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8613/1.146, allocations: 295.1 MB / 1.455 GB, free: 13.29 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02562/1.172, allocations: 17 MB / 1.471 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/1.176, allocations: 79.62 kB / 1.471 GB, free: 12.18 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005229/1.181, allocations: 1.974 MB / 1.473 GB, free: 10.19 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01657/1.198, allocations: 6.624 MB / 1.48 GB, free: 3.539 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.007859/1.206, allocations: 2.987 MB / 1.483 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01062/1.216, allocations: 7.721 MB / 1.49 GB, free: 8.812 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/1.22, allocations: 2.582 MB / 1.493 GB, free: 6.176 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005674/1.226, allocations: 2.858 MB / 1.496 GB, free: 3.309 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005266/1.231, allocations: 2.7 MB / 1.498 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009595/1.232, allocations: 324 kB / 1.499 GB, free: 304 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/1.245, allocations: 6.2 MB / 1.505 GB, free: 10.08 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002095/1.247, allocations: 1.336 MB / 1.506 GB, free: 8.742 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003139/1.25, allocations: 1.879 MB / 1.508 GB, free: 6.855 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/1.264, allocations: 6.912 MB / 1.515 GB, free: 15.92 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.264, allocations: 0 / 1.515 GB, free: 15.92 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.794e-06/1.264, allocations: 0 / 1.515 GB, free: 15.92 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001386/1.264, allocations: 0 / 1.515 GB, free: 15.92 MB / 1.186 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.01086/1.275, allocations: 4.234 MB / 1.519 GB, free: 11.61 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.275, allocations: 8.031 kB / 1.519 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006354/1.281, allocations: 0.9345 MB / 1.52 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/1.286, allocations: 1.934 MB / 1.521 GB, free: 8.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/1.286, allocations: 193.1 kB / 1.522 GB, free: 8.488 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004788/1.286, allocations: 259.9 kB / 1.522 GB, free: 8.234 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005576/1.292, allocations: 3.334 MB / 1.525 GB, free: 4.797 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-05/1.292, allocations: 11.92 kB / 1.525 GB, free: 4.785 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/1.292, allocations: 115.9 kB / 1.525 GB, free: 4.672 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/1.292, allocations: 137 kB / 1.525 GB, free: 4.535 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005879/1.298, allocations: 3.494 MB / 1.529 GB, free: 1.027 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.01578/1.314, allocations: 12.17 MB / 1.541 GB, free: 3.953 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/1.319, allocations: 3.507 MB / 1.544 GB, free: 388 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/1.322, allocations: 1.853 MB / 1.546 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/1.323, allocations: 1.489 MB / 1.547 GB, free: 12.71 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/1.323, allocations: 68.75 kB / 1.547 GB, free: 12.63 MB / 1.217 GB Notification: Performance of pre-optimization done (n=278): time 6.533e-06/1.323, allocations: 0 / 1.547 GB, free: 12.63 MB / 1.217 GB Notification: Performance of matching and sorting (n=278): time 0.006706/1.33, allocations: 3.894 MB / 1.551 GB, free: 8.688 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/1.33, allocations: 85.53 kB / 1.551 GB, free: 8.59 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/1.332, allocations: 1.379 MB / 1.553 GB, free: 7.203 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002238/1.332, allocations: 77.7 kB / 1.553 GB, free: 7.121 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000694/1.333, allocations: 1.002 MB / 1.554 GB, free: 6.109 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008679/1.334, allocations: 0.9914 MB / 1.555 GB, free: 5.109 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/1.334, allocations: 409 kB / 1.555 GB, free: 4.703 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.334, allocations: 305.1 kB / 1.555 GB, free: 4.402 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/1.336, allocations: 1.09 MB / 1.556 GB, free: 3.309 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/1.338, allocations: 1.362 MB / 1.558 GB, free: 1.879 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/1.342, allocations: 2.642 MB / 1.56 GB, free: 15.14 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.342, allocations: 8 kB / 1.56 GB, free: 15.13 MB / 1.232 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005004/1.347, allocations: 2.983 MB / 1.563 GB, free: 12.11 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.347, allocations: 8.562 kB / 1.563 GB, free: 12.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.347, allocations: 8 kB / 1.563 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.347, allocations: 12 kB / 1.563 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/1.35, allocations: 0.5109 MB / 1.564 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/1.35, allocations: 23.88 kB / 1.564 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.352, allocations: 194.5 kB / 1.564 GB, free: 11.35 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.352, allocations: 83.98 kB / 1.564 GB, free: 11.27 MB / 1.232 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.001136/1.353, allocations: 0.6417 MB / 1.565 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/1.353, allocations: 246.5 kB / 1.565 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/1.358, allocations: 3.11 MB / 1.568 GB, free: 7.211 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/1.358, allocations: 31.94 kB / 1.568 GB, free: 7.18 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.358, allocations: 0 / 1.568 GB, free: 7.18 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003898/1.362, allocations: 2.657 MB / 1.571 GB, free: 4.453 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/1.372, allocations: 6.217 MB / 1.577 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.373, allocations: 7.922 kB / 1.577 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.375, allocations: 0.5345 MB / 1.577 GB, free: 13.59 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/1.375, allocations: 12 kB / 1.577 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/1.375, allocations: 63.97 kB / 1.577 GB, free: 13.52 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/1.375, allocations: 8 kB / 1.577 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.375, allocations: 0 / 1.577 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006782/1.382, allocations: 4.59 MB / 1.582 GB, free: 8.836 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.384, allocations: 0.6159 MB / 1.582 GB, free: 8.199 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/1.384, allocations: 55.98 kB / 1.582 GB, free: 8.145 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/1.386, allocations: 62.02 kB / 1.583 GB, free: 8.086 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/1.386, allocations: 161.9 kB / 1.583 GB, free: 7.926 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.386, allocations: 83.92 kB / 1.583 GB, free: 7.844 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001281/1.387, allocations: 0.9462 MB / 1.584 GB, free: 6.902 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.6e-07/1.387, allocations: 0 / 1.584 GB, free: 6.902 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002048/1.389, allocations: 0.9905 MB / 1.585 GB, free: 5.91 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.00064/1.39, allocations: 381.8 kB / 1.585 GB, free: 5.527 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004333/1.394, allocations: 2.774 MB / 1.588 GB, free: 2.723 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.394, allocations: 1.125 kB / 1.588 GB, free: 2.723 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/1.397, allocations: 1.504 MB / 1.589 GB, free: 1.215 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005618/1.402, allocations: 1.354 MB / 1.591 GB, free: 15.89 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009417/1.412, allocations: 6.092 MB / 1.596 GB, free: 9.742 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/1.413, allocations: 1.899 MB / 1.598 GB, free: 7.809 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002744/1.416, allocations: 0.8436 MB / 1.599 GB, free: 6.961 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/1.417, allocations: 207.4 kB / 1.599 GB, free: 6.758 MB / 1.264 GB Notification: Performance of SimCode: time 7.41e-07/1.417, allocations: 0 / 1.599 GB, free: 6.758 MB / 1.264 GB Notification: Performance of Templates: time 0.07844/1.495, allocations: 50.22 MB / 1.648 GB, free: 5.168 MB / 1.311 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches