Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001772/0.001772, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002011/0.002011, allocations: 191 kB / 22.23 MB, free: 5.102 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.438/1.438, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.711/2.711, allocations: 476.7 MB / 0.7646 GB, free: 9.902 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.11 GB, free: 6.359 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.7826, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.339/1.122, allocations: 297.5 MB / 1.565 GB, free: 9.672 MB / 1.264 GB
Notification: Performance of NFInst.instExpressions: time 0.02643/1.148, allocations: 17.09 MB / 1.582 GB, free: 8.543 MB / 1.279 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/1.151, allocations: 107.2 kB / 1.582 GB, free: 8.438 MB / 1.279 GB
Notification: Performance of NFTyping.typeComponents: time 0.005091/1.156, allocations: 1.989 MB / 1.584 GB, free: 6.438 MB / 1.279 GB
Notification: Performance of NFTyping.typeBindings: time 0.0174/1.173, allocations: 6.769 MB / 1.59 GB, free: 15.64 MB / 1.295 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00863/1.182, allocations: 3.054 MB / 1.593 GB, free: 12.59 MB / 1.295 GB
Notification: Performance of NFFlatten.flatten: time 0.01272/1.195, allocations: 7.87 MB / 1.601 GB, free: 4.691 MB / 1.295 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.003762/1.198, allocations: 1.967 MB / 1.603 GB, free: 2.664 MB / 1.295 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.7499/1.948, allocations: 2.88 MB / 1.606 GB, free: 11.04 MB / 1.295 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006409/1.955, allocations: 2.864 MB / 1.608 GB, free: 11.04 MB / 1.295 GB
Notification: Performance of NFPackage.collectConstants: time 0.001349/1.956, allocations: 328.2 kB / 1.609 GB, free: 11.04 MB / 1.295 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.01553/1.972, allocations: 6.665 MB / 1.615 GB, free: 11.04 MB / 1.295 GB
Notification: Performance of NFScalarize.scalarize: time 0.00265/1.974, allocations: 1.378 MB / 1.617 GB, free: 11.04 MB / 1.295 GB
Notification: Performance of NFVerifyModel.verify: time 0.004055/1.978, allocations: 1.882 MB / 1.618 GB, free: 11.04 MB / 1.295 GB
Notification: Performance of NFConvertDAE.convert: time 0.01881/1.997, allocations: 6.909 MB / 1.625 GB, free: 10.66 MB / 1.295 GB
Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.997, allocations: 2.891 kB / 1.625 GB, free: 10.66 MB / 1.295 GB
Notification: Performance of FrontEnd: time 1.483e-06/1.997, allocations: 1.719 kB / 1.625 GB, free: 10.66 MB / 1.295 GB
Notification: Performance of Transformations before backend: time 0.0001504/1.997, allocations: 0 / 1.625 GB, free: 10.66 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: 669
 * Number of variables: 669
Notification: Performance of Generate backend data structure: time 0.01441/2.012, allocations: 4.16 MB / 1.629 GB, free: 9.016 MB / 1.295 GB
Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/2.012, allocations: 7.938 kB / 1.629 GB, free: 9.016 MB / 1.295 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006539/2.018, allocations: 0.9316 MB / 1.63 GB, free: 8.836 MB / 1.295 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/2.022, allocations: 1.836 MB / 1.632 GB, free: 8.355 MB / 1.295 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/2.022, allocations: 194.2 kB / 1.632 GB, free: 8.348 MB / 1.295 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/2.023, allocations: 265 kB / 1.632 GB, free: 8.344 MB / 1.295 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00562/2.028, allocations: 3.334 MB / 1.636 GB, free: 8.055 MB / 1.295 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/2.028, allocations: 14.19 kB / 1.636 GB, free: 8.051 MB / 1.295 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/2.029, allocations: 107.1 kB / 1.636 GB, free: 8.051 MB / 1.295 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/2.029, allocations: 134.5 kB / 1.636 GB, free: 8.043 MB / 1.295 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005087/2.034, allocations: 3.497 MB / 1.639 GB, free: 8.012 MB / 1.295 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.01653/2.05, allocations: 12.07 MB / 1.651 GB, free: 18.07 MB / 1.311 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.004029/2.054, allocations: 2.944 MB / 1.654 GB, free: 17.96 MB / 1.311 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/2.057, allocations: 1.697 MB / 1.656 GB, free: 17.93 MB / 1.311 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0009692/2.058, allocations: 230.2 kB / 1.656 GB, free: 17.92 MB / 1.311 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.556e-05/2.058, allocations: 67.84 kB / 1.656 GB, free: 17.88 MB / 1.311 GB
Notification: Performance of pre-optimization done (n=278): time 4.498e-06/2.058, allocations: 0.75 kB / 1.656 GB, free: 17.88 MB / 1.311 GB
Notification: Performance of matching and sorting (n=278): time 0.006329/2.064, allocations: 3.897 MB / 1.66 GB, free: 17.61 MB / 1.311 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/2.064, allocations: 80.91 kB / 1.66 GB, free: 17.55 MB / 1.311 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/2.066, allocations: 1.381 MB / 1.661 GB, free: 17.38 MB / 1.311 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002128/2.066, allocations: 74.11 kB / 1.661 GB, free: 17.35 MB / 1.311 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005791/2.067, allocations: 1.004 MB / 1.662 GB, free: 16.95 MB / 1.311 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007132/2.067, allocations: 0.992 MB / 1.663 GB, free: 16.29 MB / 1.311 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005542/2.068, allocations: 408.2 kB / 1.663 GB, free: 16.26 MB / 1.311 GB
Notification: Performance of setup shared object (initialization): time 0.000142/2.068, allocations: 304.8 kB / 1.664 GB, free: 15.96 MB / 1.311 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/2.07, allocations: 1.092 MB / 1.665 GB, free: 15.96 MB / 1.311 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/2.071, allocations: 1.36 MB / 1.666 GB, free: 15.77 MB / 1.311 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/2.075, allocations: 2.645 MB / 1.669 GB, free: 15.55 MB / 1.311 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/2.075, allocations: 4.312 kB / 1.669 GB, free: 15.55 MB / 1.311 GB
Notification: Performance of matching and sorting (n=311) (initialization): time 0.004761/2.08, allocations: 2.989 MB / 1.672 GB, free: 15.3 MB / 1.311 GB
Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/2.08, allocations: 11.25 kB / 1.672 GB, free: 15.29 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/2.08, allocations: 6.219 kB / 1.672 GB, free: 15.29 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/2.08, allocations: 16.47 kB / 1.672 GB, free: 15.29 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/2.082, allocations: 0.5099 MB / 1.672 GB, free: 15.29 MB / 1.311 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.979e-05/2.082, allocations: 22.86 kB / 1.672 GB, free: 15.29 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/2.084, allocations: 188.3 kB / 1.672 GB, free: 15.18 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/2.084, allocations: 88.52 kB / 1.673 GB, free: 15.18 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 (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.001319/2.086, allocations: 0.6412 MB / 1.673 GB, free: 15.07 MB / 1.311 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005684/2.086, allocations: 243.6 kB / 1.673 GB, free: 14.95 MB / 1.311 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/2.091, allocations: 3.108 MB / 1.676 GB, free: 14.77 MB / 1.311 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/2.091, allocations: 29.19 kB / 1.676 GB, free: 14.77 MB / 1.311 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/2.091, allocations: 0 / 1.676 GB, free: 14.77 MB / 1.311 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003436/2.094, allocations: 2.668 MB / 1.679 GB, free: 14.52 MB / 1.311 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008792/2.103, allocations: 6.187 MB / 1.685 GB, free: 14.04 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/2.103, allocations: 0 / 1.685 GB, free: 14.04 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/2.106, allocations: 0.5448 MB / 1.686 GB, free: 14.04 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/2.106, allocations: 8.125 kB / 1.686 GB, free: 14.04 MB / 1.311 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/2.106, allocations: 56.75 kB / 1.686 GB, free: 14.04 MB / 1.311 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/2.106, allocations: 11.81 kB / 1.686 GB, free: 14.04 MB / 1.311 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.106, allocations: 6.891 kB / 1.686 GB, free: 14.04 MB / 1.311 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006013/2.112, allocations: 4.587 MB / 1.69 GB, free: 13.62 MB / 1.311 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001455/2.113, allocations: 0.5499 MB / 1.691 GB, free: 13.46 MB / 1.311 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/2.114, allocations: 52.84 kB / 1.691 GB, free: 13.46 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/2.115, allocations: 65.56 kB / 1.691 GB, free: 13.46 MB / 1.311 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/2.115, allocations: 172.9 kB / 1.691 GB, free: 13.45 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/2.116, allocations: 80.39 kB / 1.691 GB, free: 13.45 MB / 1.311 GB
Notification: Performance of sorting global known variables: time 0.00117/2.117, allocations: 0.9449 MB / 1.692 GB, free: 13.34 MB / 1.311 GB
Notification: Performance of sort global known variables: time 1e-07/2.117, allocations: 0 / 1.692 GB, free: 13.34 MB / 1.311 GB
Notification: Performance of remove unused functions: time 0.002067/2.119, allocations: 0.988 MB / 1.693 GB, free: 13.23 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.0006129/2.119, allocations: 375.2 kB / 1.693 GB, free: 13.12 MB / 1.311 GB
Notification: Performance of simCode: created initialization part: time 0.003645/2.123, allocations: 2.618 MB / 1.696 GB, free: 13.04 MB / 1.311 GB
Notification: Performance of simCode: created event and clocks part: time 3.567e-06/2.123, allocations: 0 / 1.696 GB, free: 13.04 MB / 1.311 GB
Notification: Performance of simCode: created simulation system equations: time 0.001702/2.125, allocations: 1.399 MB / 1.697 GB, free: 13.03 MB / 1.311 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/2.13, allocations: 1.347 MB / 1.699 GB, free: 12.86 MB / 1.311 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/2.138, allocations: 6.102 MB / 1.704 GB, free: 10.53 MB / 1.311 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/2.139, allocations: 1.898 MB / 1.706 GB, free: 9.746 MB / 1.311 GB
Notification: Performance of simCode: alias equations: time 0.00279/2.142, allocations: 0.8397 MB / 1.707 GB, free: 9.586 MB / 1.311 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007147/2.143, allocations: 211.5 kB / 1.707 GB, free: 9.578 MB / 1.311 GB
Notification: Performance of SimCode: time 1.162e-06/2.143, allocations: 0 / 1.707 GB, free: 9.578 MB / 1.311 GB
Notification: Performance of Templates: time 0.08721/2.23, allocations: 52.22 MB / 1.758 GB, free: 7.488 MB / 1.342 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.632844930514693]