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.008738/0.008738, allocations: 102 kB / 15.73 MB, free: 6.051 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.001417/0.001418, allocations: 195 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 63.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3699, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.083/1.453, allocations: 314.1 MB / 1.515 GB, free: 12.37 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0277/1.481, allocations: 18.46 MB / 1.533 GB, free: 9.855 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/1.486, allocations: 87.56 kB / 1.533 GB, free: 9.77 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006298/1.492, allocations: 2.152 MB / 1.535 GB, free: 7.605 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01969/1.512, allocations: 7.306 MB / 1.542 GB, free: 276 kB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.009519/1.521, allocations: 3.225 MB / 1.545 GB, free: 13.05 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01362/1.535, allocations: 9.108 MB / 1.554 GB, free: 3.914 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004951/1.54, allocations: 3.107 MB / 1.557 GB, free: 0.7578 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007107/1.547, allocations: 3.352 MB / 1.56 GB, free: 13.39 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006936/1.554, allocations: 3.231 MB / 1.563 GB, free: 10.17 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001505/1.556, allocations: 400 kB / 1.564 GB, free: 9.777 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/1.571, allocations: 7.007 MB / 1.571 GB, free: 2.754 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002946/1.574, allocations: 1.683 MB / 1.572 GB, free: 1.066 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.005453/1.58, allocations: 2.299 MB / 1.574 GB, free: 14.76 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01825/1.598, allocations: 8.189 MB / 1.582 GB, free: 6.547 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/1.598, allocations: 0 / 1.582 GB, free: 6.547 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.683e-06/1.598, allocations: 0 / 1.582 GB, free: 6.547 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001332/1.598, allocations: 0 / 1.582 GB, free: 6.547 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.01442/1.613, allocations: 4.997 MB / 1.587 GB, free: 1.48 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/1.613, allocations: 8.625 kB / 1.587 GB, free: 1.473 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007158/1.62, allocations: 1.014 MB / 1.588 GB, free: 464 kB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/1.626, allocations: 2.24 MB / 1.591 GB, free: 14.16 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/1.626, allocations: 254.4 kB / 1.591 GB, free: 13.91 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008716/1.627, allocations: 323.9 kB / 1.591 GB, free: 13.59 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007974/1.635, allocations: 4.243 MB / 1.595 GB, free: 9.266 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-05/1.635, allocations: 7.938 kB / 1.595 GB, free: 9.258 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/1.635, allocations: 132 kB / 1.595 GB, free: 9.129 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/1.635, allocations: 174.4 kB / 1.596 GB, free: 8.957 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008785/1.644, allocations: 4.779 MB / 1.6 GB, free: 4.168 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.0232/1.667, allocations: 14.43 MB / 1.614 GB, free: 4.762 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006462/1.674, allocations: 4.55 MB / 1.619 GB, free: 228 kB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003663/1.678, allocations: 2.463 MB / 1.621 GB, free: 13.75 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001791/1.679, allocations: 1.604 MB / 1.623 GB, free: 11.81 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/1.679, allocations: 77.64 kB / 1.623 GB, free: 11.73 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 5.249e-06/1.679, allocations: 0 / 1.623 GB, free: 11.73 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.00945/1.689, allocations: 5.535 MB / 1.628 GB, free: 6.168 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/1.689, allocations: 94.48 kB / 1.628 GB, free: 6.062 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/1.692, allocations: 1.684 MB / 1.63 GB, free: 4.336 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/1.692, allocations: 93.7 kB / 1.63 GB, free: 4.238 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009235/1.693, allocations: 1.132 MB / 1.631 GB, free: 3.094 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.694, allocations: 1.32 MB / 1.632 GB, free: 1.754 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008693/1.695, allocations: 0.5469 MB / 1.633 GB, free: 1.199 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.695, allocations: 309.1 kB / 1.633 GB, free: 0.8945 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/1.698, allocations: 1.568 MB / 1.635 GB, free: 15.32 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/1.701, allocations: 1.92 MB / 1.637 GB, free: 13.33 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005585/1.706, allocations: 3.762 MB / 1.64 GB, free: 9.484 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/1.706, allocations: 3.938 kB / 1.64 GB, free: 9.48 MB / 1.326 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007092/1.713, allocations: 4.178 MB / 1.644 GB, free: 5.277 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/1.713, allocations: 8 kB / 1.644 GB, free: 5.27 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/1.713, allocations: 4 kB / 1.644 GB, free: 5.266 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.247e-05/1.713, allocations: 27.92 kB / 1.644 GB, free: 5.238 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/1.716, allocations: 0.6943 MB / 1.645 GB, free: 4.543 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-05/1.716, allocations: 23.98 kB / 1.645 GB, free: 4.52 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/1.719, allocations: 265.3 kB / 1.645 GB, free: 4.258 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/1.719, allocations: 112 kB / 1.646 GB, free: 4.148 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.001476/1.721, allocations: 0.7976 MB / 1.646 GB, free: 3.34 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006032/1.721, allocations: 296.4 kB / 1.647 GB, free: 3.047 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007263/1.729, allocations: 4.428 MB / 1.651 GB, free: 14.58 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/1.729, allocations: 36 kB / 1.651 GB, free: 14.55 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.729, allocations: 7.938 kB / 1.651 GB, free: 14.54 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005692/1.734, allocations: 3.792 MB / 1.655 GB, free: 10.68 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/1.75, allocations: 8.644 MB / 1.663 GB, free: 1.879 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.75, allocations: 4 kB / 1.663 GB, free: 1.875 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/1.753, allocations: 0.7104 MB / 1.664 GB, free: 1.164 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.783e-05/1.753, allocations: 20 kB / 1.664 GB, free: 1.145 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/1.753, allocations: 87.97 kB / 1.664 GB, free: 1.059 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-05/1.753, allocations: 15.94 kB / 1.664 GB, free: 1.043 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.753, allocations: 4 kB / 1.664 GB, free: 1.039 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/1.763, allocations: 6.576 MB / 1.67 GB, free: 10.36 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.766, allocations: 0.7894 MB / 1.671 GB, free: 9.547 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005188/1.766, allocations: 75.98 kB / 1.671 GB, free: 9.473 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/1.768, allocations: 87.92 kB / 1.671 GB, free: 9.387 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005153/1.769, allocations: 242.6 kB / 1.671 GB, free: 9.148 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/1.769, allocations: 108 kB / 1.672 GB, free: 9.043 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.001906/1.771, allocations: 1.157 MB / 1.673 GB, free: 7.863 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.904e-06/1.771, allocations: 0 / 1.673 GB, free: 7.863 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.00328/1.774, allocations: 1.228 MB / 1.674 GB, free: 6.633 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.001073/1.775, allocations: 467.5 kB / 1.674 GB, free: 6.176 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.006651/1.782, allocations: 3.945 MB / 1.678 GB, free: 2.219 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.782, allocations: 4 kB / 1.678 GB, free: 2.215 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.786, allocations: 2.156 MB / 1.68 GB, free: 60 kB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007687/1.793, allocations: 1.603 MB / 1.682 GB, free: 14.48 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/1.806, allocations: 7.678 MB / 1.689 GB, free: 6.738 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/1.808, allocations: 2.197 MB / 1.692 GB, free: 4.504 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.004194/1.813, allocations: 1.208 MB / 1.693 GB, free: 3.289 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.814, allocations: 267.4 kB / 1.693 GB, free: 3.027 MB / 1.373 GB Notification: Performance of SimCode: time 1.282e-06/1.814, allocations: 0 / 1.693 GB, free: 3.027 MB / 1.373 GB Notification: Performance of Templates: time 0.1064/1.92, allocations: 63.55 MB / 1.755 GB, free: 4.098 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