Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008418/0.008418, allocations: 106.2 kB / 15.74 MB, free: 6 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.001823/0.001823, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 60.12 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3006, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9659/1.267, allocations: 314.2 MB / 1.515 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03065/1.297, allocations: 18.45 MB / 1.533 GB, free: 9.801 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006453/1.304, allocations: 91.56 kB / 1.533 GB, free: 9.711 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.007464/1.311, allocations: 2.148 MB / 1.535 GB, free: 7.551 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02014/1.332, allocations: 7.308 MB / 1.542 GB, free: 216 kB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00857/1.34, allocations: 3.226 MB / 1.545 GB, free: 12.99 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01136/1.352, allocations: 9.111 MB / 1.554 GB, free: 3.852 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004972/1.357, allocations: 3.11 MB / 1.557 GB, free: 0.6914 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006383/1.363, allocations: 3.348 MB / 1.56 GB, free: 13.33 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006325/1.369, allocations: 3.224 MB / 1.563 GB, free: 10.11 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001555/1.371, allocations: 404 kB / 1.564 GB, free: 9.715 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/1.387, allocations: 7.003 MB / 1.571 GB, free: 2.695 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002957/1.39, allocations: 1.679 MB / 1.572 GB, free: 1.012 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.005606/1.395, allocations: 2.314 MB / 1.574 GB, free: 14.69 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01747/1.413, allocations: 8.181 MB / 1.582 GB, free: 6.484 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.413, allocations: 0 / 1.582 GB, free: 6.484 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.134e-06/1.413, allocations: 4 kB / 1.582 GB, free: 6.48 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002298/1.413, allocations: 0 / 1.582 GB, free: 6.48 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01546/1.428, allocations: 4.99 MB / 1.587 GB, free: 1.422 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/1.429, allocations: 12.62 kB / 1.587 GB, free: 1.41 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007287/1.436, allocations: 1.01 MB / 1.588 GB, free: 404 kB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/1.441, allocations: 2.248 MB / 1.591 GB, free: 14.09 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/1.441, allocations: 250.4 kB / 1.591 GB, free: 13.85 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008333/1.442, allocations: 331.9 kB / 1.591 GB, free: 13.52 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008061/1.45, allocations: 4.228 MB / 1.595 GB, free: 9.211 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.727e-05/1.45, allocations: 11.92 kB / 1.595 GB, free: 9.199 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003293/1.45, allocations: 136 kB / 1.595 GB, free: 9.066 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/1.45, allocations: 170.4 kB / 1.596 GB, free: 8.898 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007814/1.458, allocations: 4.787 MB / 1.6 GB, free: 4.102 MB / 1.279 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.01862/1.477, allocations: 14.43 MB / 1.614 GB, free: 4.703 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005798/1.483, allocations: 4.558 MB / 1.619 GB, free: 164 kB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00341/1.486, allocations: 2.456 MB / 1.621 GB, free: 13.69 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/1.488, allocations: 1.612 MB / 1.623 GB, free: 11.75 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/1.488, allocations: 77.62 kB / 1.623 GB, free: 11.66 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 6.152e-06/1.488, allocations: 0 / 1.623 GB, free: 11.66 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.009956/1.498, allocations: 5.535 MB / 1.628 GB, free: 6.105 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/1.498, allocations: 94.48 kB / 1.628 GB, free: 6 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/1.5, allocations: 1.692 MB / 1.63 GB, free: 4.266 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003532/1.501, allocations: 93.7 kB / 1.63 GB, free: 4.168 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008167/1.502, allocations: 1.128 MB / 1.631 GB, free: 3.027 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.503, allocations: 1.32 MB / 1.632 GB, free: 1.688 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008561/1.504, allocations: 0.5508 MB / 1.633 GB, free: 1.129 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/1.504, allocations: 305.1 kB / 1.633 GB, free: 0.8281 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/1.506, allocations: 1.56 MB / 1.635 GB, free: 15.26 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/1.509, allocations: 1.927 MB / 1.637 GB, free: 13.27 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005831/1.515, allocations: 3.762 MB / 1.64 GB, free: 9.418 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.515, allocations: 0 / 1.64 GB, free: 9.418 MB / 1.326 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007758/1.523, allocations: 4.173 MB / 1.644 GB, free: 5.219 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/1.523, allocations: 10.69 kB / 1.644 GB, free: 5.211 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/1.523, allocations: 4 kB / 1.644 GB, free: 5.207 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.17e-05/1.523, allocations: 24 kB / 1.644 GB, free: 5.184 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/1.526, allocations: 0.6982 MB / 1.645 GB, free: 4.484 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.979e-05/1.526, allocations: 21.55 kB / 1.645 GB, free: 4.465 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/1.53, allocations: 257.1 kB / 1.645 GB, free: 4.211 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000456/1.53, allocations: 116 kB / 1.645 GB, free: 4.098 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.002306/1.533, allocations: 0.8054 MB / 1.646 GB, free: 3.281 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.534, allocations: 300.4 kB / 1.647 GB, free: 2.984 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009366/1.543, allocations: 4.438 MB / 1.651 GB, free: 14.51 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/1.543, allocations: 36 kB / 1.651 GB, free: 14.47 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.544, allocations: 0 / 1.651 GB, free: 14.47 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006354/1.55, allocations: 3.796 MB / 1.655 GB, free: 10.61 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.566, allocations: 8.631 MB / 1.663 GB, free: 1.82 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.566, allocations: 4.312 kB / 1.663 GB, free: 1.816 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003527/1.57, allocations: 0.7257 MB / 1.664 GB, free: 1.09 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-05/1.57, allocations: 12 kB / 1.664 GB, free: 1.078 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003582/1.57, allocations: 83.98 kB / 1.664 GB, free: 0.9961 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.184e-05/1.57, allocations: 19.94 kB / 1.664 GB, free: 0.9766 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.57, allocations: 8 kB / 1.664 GB, free: 0.9688 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.58, allocations: 6.572 MB / 1.67 GB, free: 10.3 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/1.582, allocations: 0.7933 MB / 1.671 GB, free: 9.48 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007192/1.583, allocations: 75.98 kB / 1.671 GB, free: 9.406 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.585, allocations: 94.16 kB / 1.671 GB, free: 9.316 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004794/1.586, allocations: 238.5 kB / 1.671 GB, free: 9.082 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/1.586, allocations: 116 kB / 1.672 GB, free: 8.969 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.002177/1.588, allocations: 1.149 MB / 1.673 GB, free: 7.797 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.5e-07/1.588, allocations: 0 / 1.673 GB, free: 7.797 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.003143/1.592, allocations: 1.232 MB / 1.674 GB, free: 6.562 MB / 1.357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.00106/1.593, allocations: 449.3 kB / 1.674 GB, free: 6.117 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.006616/1.599, allocations: 3.951 MB / 1.678 GB, free: 2.152 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.599, allocations: 0 / 1.678 GB, free: 2.152 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/1.603, allocations: 2.15 MB / 1.68 GB, free: 4 kB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008009/1.611, allocations: 1.599 MB / 1.682 GB, free: 14.43 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.624, allocations: 7.684 MB / 1.689 GB, free: 6.68 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/1.627, allocations: 2.205 MB / 1.692 GB, free: 4.438 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.004987/1.632, allocations: 1.204 MB / 1.693 GB, free: 3.227 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/1.633, allocations: 267.4 kB / 1.693 GB, free: 2.965 MB / 1.373 GB Notification: Performance of SimCode: time 7.41e-07/1.633, allocations: 4 kB / 1.693 GB, free: 2.961 MB / 1.373 GB Notification: Performance of Templates: time 0.1048/1.738, allocations: 62.63 MB / 1.754 GB, free: 4.965 MB / 1.436 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches