Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 190.8 kB / 22.23 MB, free: 5.133 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.136/3.136, allocations: 496 MB / 0.7835 GB, free: 33.77 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,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_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones")
translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 62.66 kB / 1.138 GB, free: 33.67 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3517, allocations: 173.6 MB / 1.307 GB, free: 1.688 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.346/0.6976, allocations: 297.6 MB / 1.598 GB, free: 7.012 MB / 1.295 GB
Notification: Performance of NFInst.instExpressions: time 0.8102/1.508, allocations: 17.1 MB / 1.615 GB, free: 4.496 MB / 1.295 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004387/1.512, allocations: 107.7 kB / 1.615 GB, free: 4.496 MB / 1.295 GB
Notification: Performance of NFTyping.typeComponents: time 0.005347/1.518, allocations: 1.99 MB / 1.617 GB, free: 4.496 MB / 1.295 GB
Notification: Performance of NFTyping.typeBindings: time 0.01935/1.537, allocations: 6.773 MB / 1.623 GB, free: 4.309 MB / 1.295 GB
Notification: Performance of NFTyping.typeClassSections: time 0.01033/1.547, allocations: 3.059 MB / 1.626 GB, free: 4.223 MB / 1.295 GB
Notification: Performance of NFFlatten.flatten: time 0.01512/1.562, allocations: 7.85 MB / 1.634 GB, free: 4.219 MB / 1.295 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.004205/1.567, allocations: 1.961 MB / 1.636 GB, free: 4.047 MB / 1.295 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.008472/1.575, allocations: 3.128 MB / 1.639 GB, free: 4.047 MB / 1.295 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00743/1.582, allocations: 2.841 MB / 1.642 GB, free: 4.047 MB / 1.295 GB
Notification: Performance of NFPackage.collectConstants: time 0.001328/1.584, allocations: 328.8 kB / 1.642 GB, free: 4.047 MB / 1.295 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.01468/1.598, allocations: 6.647 MB / 1.648 GB, free: 3.984 MB / 1.295 GB
Notification: Performance of NFScalarize.scalarize: time 0.002651/1.601, allocations: 1.346 MB / 1.65 GB, free: 3.984 MB / 1.295 GB
Notification: Performance of NFVerifyModel.verify: time 0.004708/1.606, allocations: 1.88 MB / 1.652 GB, free: 3.93 MB / 1.295 GB
Notification: Performance of NFConvertDAE.convert: time 0.01536/1.621, allocations: 6.908 MB / 1.658 GB, free: 3.156 MB / 1.295 GB
Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/1.621, allocations: 0.875 kB / 1.658 GB, free: 3.156 MB / 1.295 GB
Notification: Performance of FrontEnd: time 1.823e-06/1.621, allocations: 0 / 1.658 GB, free: 3.156 MB / 1.295 GB
Notification: Performance of Transformations before backend: time 0.0001551/1.621, allocations: 0.8438 kB / 1.658 GB, free: 3.156 MB / 1.295 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 690
 * Number of variables: 690
Notification: Performance of Generate backend data structure: time 0.01331/1.635, allocations: 4.115 MB / 1.662 GB, free: 1.512 MB / 1.295 GB
Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.635, allocations: 12.64 kB / 1.662 GB, free: 1.512 MB / 1.295 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006941/1.642, allocations: 0.926 MB / 1.663 GB, free: 1.328 MB / 1.295 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005008/1.647, allocations: 1.806 MB / 1.665 GB, free: 0.8516 MB / 1.295 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/1.647, allocations: 195.9 kB / 1.665 GB, free: 0.8438 MB / 1.295 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007021/1.648, allocations: 263.4 kB / 1.665 GB, free: 0.8398 MB / 1.295 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/1.654, allocations: 3.412 MB / 1.669 GB, free: 16.55 MB / 1.311 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.241e-05/1.654, allocations: 11.36 kB / 1.669 GB, free: 16.55 MB / 1.311 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/1.654, allocations: 106.1 kB / 1.669 GB, free: 16.55 MB / 1.311 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/1.654, allocations: 161.1 kB / 1.669 GB, free: 16.54 MB / 1.311 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00578/1.66, allocations: 3.631 MB / 1.673 GB, free: 16.51 MB / 1.311 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.01646/1.677, allocations: 12.46 MB / 1.685 GB, free: 10.25 MB / 1.311 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.004015/1.681, allocations: 2.943 MB / 1.688 GB, free: 10.14 MB / 1.311 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/1.683, allocations: 1.707 MB / 1.689 GB, free: 10.11 MB / 1.311 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000948/1.684, allocations: 226.5 kB / 1.69 GB, free: 10.1 MB / 1.311 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.729e-05/1.684, allocations: 75.06 kB / 1.69 GB, free: 10.05 MB / 1.311 GB
Notification: Performance of pre-optimization done (n=278): time 5.27e-06/1.684, allocations: 1.031 kB / 1.69 GB, free: 10.05 MB / 1.311 GB
Notification: Performance of matching and sorting (n=278): time 0.006549/1.691, allocations: 3.887 MB / 1.693 GB, free: 9.793 MB / 1.311 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/1.691, allocations: 85.38 kB / 1.693 GB, free: 9.727 MB / 1.311 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/1.693, allocations: 1.396 MB / 1.695 GB, free: 9.551 MB / 1.311 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002263/1.693, allocations: 76.05 kB / 1.695 GB, free: 9.52 MB / 1.311 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0007096/1.694, allocations: 1.041 MB / 1.696 GB, free: 9.074 MB / 1.311 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009335/1.694, allocations: 0.9971 MB / 1.697 GB, free: 8.41 MB / 1.311 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006305/1.695, allocations: 449 kB / 1.697 GB, free: 8.375 MB / 1.311 GB
Notification: Performance of setup shared object (initialization): time 0.0001275/1.695, allocations: 304.4 kB / 1.698 GB, free: 8.078 MB / 1.311 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/1.697, allocations: 1.142 MB / 1.699 GB, free: 8.07 MB / 1.311 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/1.699, allocations: 1.417 MB / 1.7 GB, free: 7.887 MB / 1.311 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/1.702, allocations: 2.73 MB / 1.703 GB, free: 7.66 MB / 1.311 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.702, allocations: 0.875 kB / 1.703 GB, free: 7.66 MB / 1.311 GB
Notification: Performance of matching and sorting (n=332) (initialization): time 0.004816/1.707, allocations: 3.121 MB / 1.706 GB, free: 7.414 MB / 1.311 GB
Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.707, allocations: 5.188 kB / 1.706 GB, free: 7.414 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.707, allocations: 4.938 kB / 1.706 GB, free: 7.414 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/1.707, allocations: 20.98 kB / 1.706 GB, free: 7.41 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.71, allocations: 0.5394 MB / 1.706 GB, free: 7.41 MB / 1.311 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.764e-05/1.71, allocations: 18.03 kB / 1.706 GB, free: 7.41 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.712, allocations: 211.3 kB / 1.707 GB, free: 7.293 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/1.712, allocations: 86.45 kB / 1.707 GB, free: 7.293 MB / 1.311 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 (332):
 * Single equations (assignments): 332
 * 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.001235/1.713, allocations: 0.6549 MB / 1.707 GB, free: 7.172 MB / 1.311 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/1.714, allocations: 248.2 kB / 1.708 GB, free: 7.043 MB / 1.311 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/1.718, allocations: 3.111 MB / 1.711 GB, free: 6.863 MB / 1.311 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/1.718, allocations: 28.94 kB / 1.711 GB, free: 6.863 MB / 1.311 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.718, allocations: 3.938 kB / 1.711 GB, free: 6.859 MB / 1.311 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003462/1.722, allocations: 2.662 MB / 1.713 GB, free: 6.613 MB / 1.311 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009741/1.732, allocations: 6.19 MB / 1.719 GB, free: 4.207 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.732, allocations: 0 / 1.719 GB, free: 4.207 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/1.734, allocations: 0.5376 MB / 1.72 GB, free: 4.191 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/1.734, allocations: 8.344 kB / 1.72 GB, free: 4.191 MB / 1.311 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/1.734, allocations: 65.08 kB / 1.72 GB, free: 4.152 MB / 1.311 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/1.734, allocations: 7.688 kB / 1.72 GB, free: 4.152 MB / 1.311 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.734, allocations: 4.031 kB / 1.72 GB, free: 4.152 MB / 1.311 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00694/1.741, allocations: 4.591 MB / 1.724 GB, free: 2.199 MB / 1.311 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.743, allocations: 0.5408 MB / 1.725 GB, free: 1.902 MB / 1.311 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/1.743, allocations: 47.38 kB / 1.725 GB, free: 1.867 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.745, allocations: 70.56 kB / 1.725 GB, free: 1.828 MB / 1.311 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/1.745, allocations: 169.1 kB / 1.725 GB, free: 1.805 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.745, allocations: 82.42 kB / 1.725 GB, free: 1.785 MB / 1.311 GB
Notification: Performance of sorting global known variables: time 0.001389/1.747, allocations: 0.942 MB / 1.726 GB, free: 1.426 MB / 1.311 GB
Notification: Performance of sort global known variables: time 7e-08/1.747, allocations: 0 / 1.726 GB, free: 1.426 MB / 1.311 GB
Notification: Performance of remove unused functions: time 0.00231/1.749, allocations: 1.012 MB / 1.727 GB, free: 1.219 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.0007174/1.75, allocations: 374.8 kB / 1.728 GB, free: 1.062 MB / 1.311 GB
Notification: Performance of simCode: created initialization part: time 0.004405/1.754, allocations: 2.683 MB / 1.73 GB, free: 0 / 1.311 GB
Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.754, allocations: 80 / 1.73 GB, free: 0 / 1.311 GB
Notification: Performance of simCode: created simulation system equations: time 0.00211/1.756, allocations: 1.401 MB / 1.732 GB, free: 15.41 MB / 1.326 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005958/1.762, allocations: 1.353 MB / 1.733 GB, free: 14.69 MB / 1.326 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.773, allocations: 6.101 MB / 1.739 GB, free: 9.305 MB / 1.326 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/1.775, allocations: 1.895 MB / 1.741 GB, free: 7.375 MB / 1.326 GB
Notification: Performance of simCode: alias equations: time 0.00345/1.778, allocations: 0.8713 MB / 1.742 GB, free: 6.5 MB / 1.326 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/1.779, allocations: 211.4 kB / 1.742 GB, free: 6.293 MB / 1.326 GB
Notification: Performance of SimCode: time 1.152e-06/1.779, allocations: 0 / 1.742 GB, free: 6.293 MB / 1.326 GB
Notification: Performance of Templates: time 0.091/1.87, allocations: 52.41 MB / 1.793 GB, free: 2.734 MB / 1.373 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 12.134082083590329]