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.00892/0.008921, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.002018/0.002018, allocations: 190 kB / 16.67 MB, free: 6.379 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3506, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.059/1.409, allocations: 295.1 MB / 1.496 GB, free: 15.43 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02889/1.438, allocations: 17.02 MB / 1.513 GB, free: 14.38 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00634/1.445, allocations: 79.62 kB / 1.513 GB, free: 14.3 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006769/1.451, allocations: 1.884 MB / 1.514 GB, free: 12.4 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0216/1.473, allocations: 6.432 MB / 1.521 GB, free: 5.945 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.009809/1.483, allocations: 2.946 MB / 1.524 GB, free: 2.996 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01334/1.496, allocations: 7.708 MB / 1.531 GB, free: 11.26 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004683/1.501, allocations: 2.586 MB / 1.534 GB, free: 8.633 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006591/1.508, allocations: 2.815 MB / 1.536 GB, free: 5.809 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006267/1.514, allocations: 2.697 MB / 1.539 GB, free: 3.113 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0008964/1.515, allocations: 328 kB / 1.539 GB, free: 2.793 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01521/1.53, allocations: 6.161 MB / 1.545 GB, free: 12.62 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002505/1.533, allocations: 1.34 MB / 1.547 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.005323/1.538, allocations: 1.883 MB / 1.549 GB, free: 9.383 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01782/1.556, allocations: 6.892 MB / 1.555 GB, free: 2.473 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/1.556, allocations: 0 / 1.555 GB, free: 2.473 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.265e-06/1.556, allocations: 0 / 1.555 GB, free: 2.473 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0002334/1.556, allocations: 3.938 kB / 1.555 GB, free: 2.469 MB / 1.232 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.0167/1.573, allocations: 4.128 MB / 1.559 GB, free: 14.27 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.573, allocations: 8.625 kB / 1.559 GB, free: 14.27 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007213/1.58, allocations: 0.9133 MB / 1.56 GB, free: 13.35 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005707/1.586, allocations: 1.924 MB / 1.562 GB, free: 11.37 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/1.586, allocations: 193.1 kB / 1.562 GB, free: 11.18 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/1.587, allocations: 263.9 kB / 1.563 GB, free: 10.92 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007983/1.595, allocations: 3.333 MB / 1.566 GB, free: 7.484 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.201e-05/1.595, allocations: 4 kB / 1.566 GB, free: 7.48 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004318/1.596, allocations: 111.9 kB / 1.566 GB, free: 7.371 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/1.596, allocations: 145 kB / 1.566 GB, free: 7.227 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006467/1.602, allocations: 3.494 MB / 1.569 GB, free: 3.719 MB / 1.248 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.01711/1.619, allocations: 12.14 MB / 1.581 GB, free: 6.672 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/1.624, allocations: 3.511 MB / 1.585 GB, free: 3.086 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/1.627, allocations: 1.845 MB / 1.587 GB, free: 1.23 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/1.628, allocations: 1.493 MB / 1.588 GB, free: 15.42 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/1.628, allocations: 64.75 kB / 1.588 GB, free: 15.35 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 4.157e-06/1.628, allocations: 3.938 kB / 1.588 GB, free: 15.34 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.006596/1.635, allocations: 3.885 MB / 1.592 GB, free: 11.41 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.635, allocations: 85.53 kB / 1.592 GB, free: 11.31 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.637, allocations: 1.383 MB / 1.593 GB, free: 9.922 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001873/1.637, allocations: 77.7 kB / 1.593 GB, free: 9.84 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.000691/1.638, allocations: 0.9765 MB / 1.594 GB, free: 8.852 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008736/1.639, allocations: 0.9431 MB / 1.595 GB, free: 7.895 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006251/1.64, allocations: 408.9 kB / 1.596 GB, free: 7.488 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/1.64, allocations: 309.1 kB / 1.596 GB, free: 7.184 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/1.641, allocations: 1.098 MB / 1.597 GB, free: 6.082 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.643, allocations: 1.358 MB / 1.598 GB, free: 4.656 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/1.647, allocations: 2.646 MB / 1.601 GB, free: 1.918 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.647, allocations: 4 kB / 1.601 GB, free: 1.914 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004827/1.652, allocations: 2.974 MB / 1.604 GB, free: 14.89 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.652, allocations: 4 kB / 1.604 GB, free: 14.89 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.652, allocations: 8 kB / 1.604 GB, free: 14.88 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/1.652, allocations: 12 kB / 1.604 GB, free: 14.87 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/1.654, allocations: 0.5153 MB / 1.604 GB, free: 14.36 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/1.654, allocations: 23.94 kB / 1.604 GB, free: 14.33 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/1.656, allocations: 182 kB / 1.605 GB, free: 14.15 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/1.657, allocations: 83.98 kB / 1.605 GB, free: 14.07 MB / 1.295 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.001308/1.658, allocations: 0.6378 MB / 1.605 GB, free: 13.42 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004541/1.658, allocations: 233.2 kB / 1.605 GB, free: 13.19 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/1.663, allocations: 3.112 MB / 1.608 GB, free: 10.02 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/1.663, allocations: 35.92 kB / 1.609 GB, free: 9.988 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.663, allocations: 0 / 1.609 GB, free: 9.988 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003829/1.667, allocations: 2.657 MB / 1.611 GB, free: 7.262 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009883/1.677, allocations: 6.205 MB / 1.617 GB, free: 0.9531 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.677, allocations: 0 / 1.617 GB, free: 0.9531 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/1.68, allocations: 0.5462 MB / 1.618 GB, free: 416 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/1.68, allocations: 15.98 kB / 1.618 GB, free: 400 kB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/1.68, allocations: 55.98 kB / 1.618 GB, free: 344 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/1.68, allocations: 8 kB / 1.618 GB, free: 336 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.68, allocations: 0 / 1.618 GB, free: 336 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006658/1.687, allocations: 4.581 MB / 1.622 GB, free: 11.66 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/1.688, allocations: 0.6071 MB / 1.623 GB, free: 11.03 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/1.688, allocations: 52 kB / 1.623 GB, free: 10.98 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.69, allocations: 62.42 kB / 1.623 GB, free: 10.92 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/1.69, allocations: 169.9 kB / 1.623 GB, free: 10.75 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.691, allocations: 83.97 kB / 1.623 GB, free: 10.67 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00131/1.692, allocations: 0.9423 MB / 1.624 GB, free: 9.73 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.11e-07/1.692, allocations: 0 / 1.624 GB, free: 9.73 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002127/1.694, allocations: 0.9823 MB / 1.625 GB, free: 8.746 MB / 1.311 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.0006836/1.695, allocations: 372.5 kB / 1.625 GB, free: 8.375 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004422/1.699, allocations: 2.771 MB / 1.628 GB, free: 5.574 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.699, allocations: 0 / 1.628 GB, free: 5.574 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/1.701, allocations: 1.507 MB / 1.63 GB, free: 4.062 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006419/1.708, allocations: 1.357 MB / 1.631 GB, free: 2.73 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.718, allocations: 6.006 MB / 1.637 GB, free: 12.68 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.719, allocations: 1.895 MB / 1.639 GB, free: 10.74 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.003135/1.722, allocations: 0.8474 MB / 1.639 GB, free: 9.895 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007885/1.723, allocations: 207.4 kB / 1.64 GB, free: 9.691 MB / 1.326 GB Notification: Performance of SimCode: time 1.492e-06/1.723, allocations: 4 kB / 1.64 GB, free: 9.688 MB / 1.326 GB Notification: Performance of Templates: time 0.08965/1.813, allocations: 50.97 MB / 1.689 GB, free: 7.25 MB / 1.373 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches