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.0008922/0.0008921, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001391/0.001391, allocations: 172.9 kB / 16.27 MB, free: 6.664 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.963/2.963, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 12.84 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3916, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.23/1.622, allocations: 307.7 MB / 1.359 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03325/1.655, allocations: 18.5 MB / 1.377 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006301/1.661, allocations: 74.22 kB / 1.377 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008732/1.67, allocations: 1.873 MB / 1.379 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02972/1.7, allocations: 6.912 MB / 1.386 GB, free: 452 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01075/1.711, allocations: 2.934 MB / 1.389 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01838/1.729, allocations: 13.13 MB / 1.402 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005654/1.735, allocations: 2.58 MB / 1.404 GB, free: 7.816 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008305/1.743, allocations: 2.807 MB / 1.407 GB, free: 6.543 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009173/1.752, allocations: 3.263 MB / 1.41 GB, free: 5.008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/1.754, allocations: 196.9 kB / 1.41 GB, free: 5.008 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02077/1.775, allocations: 8.101 MB / 1.418 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003809/1.779, allocations: 1.472 MB / 1.42 GB, free: 332 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007231/1.786, allocations: 2.077 MB / 1.422 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02473/1.811, allocations: 8.378 MB / 1.43 GB, free: 7.957 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/1.811, allocations: 4 kB / 1.43 GB, free: 7.953 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.436e-06/1.811, allocations: 4 kB / 1.43 GB, free: 7.949 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003295/1.811, allocations: 0 / 1.43 GB, free: 7.949 MB / 1.029 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.01509/1.826, allocations: 4.318 MB / 1.434 GB, free: 3.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.826, allocations: 8.031 kB / 1.434 GB, free: 3.582 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007676/1.834, allocations: 1.009 MB / 1.435 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006037/1.84, allocations: 2.169 MB / 1.437 GB, free: 404 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/1.84, allocations: 242.3 kB / 1.437 GB, free: 164 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/1.842, allocations: 328.3 kB / 1.438 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/1.854, allocations: 4.236 MB / 1.442 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/1.854, allocations: 11.89 kB / 1.442 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008291/1.855, allocations: 135.3 kB / 1.442 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/1.855, allocations: 170.3 kB / 1.442 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/1.865, allocations: 4.776 MB / 1.447 GB, free: 6.441 MB / 1.045 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.02536/1.891, allocations: 14.4 MB / 1.461 GB, free: 7.234 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00753/1.898, allocations: 4.549 MB / 1.465 GB, free: 2.695 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004115/1.902, allocations: 2.448 MB / 1.468 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/1.904, allocations: 1.614 MB / 1.469 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.828e-05/1.904, allocations: 81.58 kB / 1.469 GB, free: 14.22 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 5.62e-06/1.904, allocations: 3.938 kB / 1.469 GB, free: 14.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.01065/1.915, allocations: 5.535 MB / 1.475 GB, free: 8.652 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/1.915, allocations: 94.48 kB / 1.475 GB, free: 8.547 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004379/1.92, allocations: 1.684 MB / 1.476 GB, free: 6.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005512/1.92, allocations: 93.7 kB / 1.477 GB, free: 6.723 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.922, allocations: 1.136 MB / 1.478 GB, free: 5.574 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002217/1.924, allocations: 1.312 MB / 1.479 GB, free: 4.273 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006809/1.925, allocations: 276.8 kB / 1.479 GB, free: 3.996 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.925, allocations: 301.1 kB / 1.479 GB, free: 3.699 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/1.928, allocations: 1.564 MB / 1.481 GB, free: 2.133 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003547/1.931, allocations: 1.912 MB / 1.483 GB, free: 156 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008186/1.94, allocations: 3.766 MB / 1.487 GB, free: 12.3 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/1.94, allocations: 4 kB / 1.487 GB, free: 12.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01135/1.951, allocations: 4.181 MB / 1.491 GB, free: 8.09 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/1.951, allocations: 8 kB / 1.491 GB, free: 8.082 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/1.951, allocations: 4 kB / 1.491 GB, free: 8.078 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-05/1.951, allocations: 20 kB / 1.491 GB, free: 8.059 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.955, allocations: 0.6948 MB / 1.491 GB, free: 7.363 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001243/1.955, allocations: 23.94 kB / 1.491 GB, free: 7.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/1.961, allocations: 480.7 kB / 1.492 GB, free: 6.867 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006351/1.961, allocations: 116 kB / 1.492 GB, free: 6.754 MB / 1.092 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.003344/1.965, allocations: 0.8054 MB / 1.493 GB, free: 5.938 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/1.967, allocations: 288.5 kB / 1.493 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.977, allocations: 4.433 MB / 1.497 GB, free: 1.184 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/1.977, allocations: 40 kB / 1.497 GB, free: 1.145 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.381e-05/1.977, allocations: 4 kB / 1.497 GB, free: 1.141 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006548/1.984, allocations: 3.803 MB / 1.501 GB, free: 13.27 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/2.002, allocations: 8.639 MB / 1.509 GB, free: 4.562 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/2.002, allocations: 4 kB / 1.509 GB, free: 4.559 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003457/2.005, allocations: 0.722 MB / 1.51 GB, free: 3.836 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.278e-05/2.005, allocations: 23.94 kB / 1.51 GB, free: 3.812 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004719/2.006, allocations: 83.98 kB / 1.51 GB, free: 3.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.944e-05/2.006, allocations: 16 kB / 1.51 GB, free: 3.715 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/2.006, allocations: 7.938 kB / 1.51 GB, free: 3.707 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/2.018, allocations: 6.566 MB / 1.517 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/2.02, allocations: 0.7933 MB / 1.518 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008703/2.021, allocations: 75.98 kB / 1.518 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/2.025, allocations: 268.2 kB / 1.518 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005951/2.026, allocations: 234.7 kB / 1.518 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003446/2.026, allocations: 116 kB / 1.518 GB, free: 11.55 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002706/2.029, allocations: 1.153 MB / 1.519 GB, free: 10.38 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.41e-07/2.029, allocations: 0 / 1.519 GB, free: 10.38 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004711/2.033, allocations: 1.24 MB / 1.521 GB, free: 9.133 MB / 1.123 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.001313/2.035, allocations: 466.5 kB / 1.521 GB, free: 8.695 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007301/2.042, allocations: 3.932 MB / 1.525 GB, free: 4.75 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/2.042, allocations: 0 / 1.525 GB, free: 4.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00378/2.046, allocations: 2.154 MB / 1.527 GB, free: 2.598 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/2.056, allocations: 1.528 MB / 1.528 GB, free: 1.082 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/2.074, allocations: 9.479 MB / 1.538 GB, free: 7.531 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/2.076, allocations: 2.209 MB / 1.54 GB, free: 5.285 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004961/2.081, allocations: 1.216 MB / 1.541 GB, free: 4.062 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/2.082, allocations: 271.3 kB / 1.541 GB, free: 3.797 MB / 1.139 GB Notification: Performance of SimCode: time 1.403e-06/2.082, allocations: 0 / 1.541 GB, free: 3.797 MB / 1.139 GB Notification: Performance of Templates: time 0.1022/2.184, allocations: 58.73 MB / 1.599 GB, free: 9.75 MB / 1.201 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