Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001733/0.001733, allocations: 110 kB / 18.93 MB, free: 2.945 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.002305/0.002305, allocations: 193.5 kB / 22.23 MB, free: 5.16 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.629/1.629, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.434/3.434, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 66.92 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4252, allocations: 174.9 MB / 1.316 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.524/1.949, allocations: 297.6 MB / 1.607 GB, free: 4.395 MB / 1.295 GB
Notification: Performance of NFInst.instExpressions: time 0.02824/1.977, allocations: 17.1 MB / 1.623 GB, free: 4.375 MB / 1.295 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.005493/1.983, allocations: 109.2 kB / 1.623 GB, free: 4.375 MB / 1.295 GB
Notification: Performance of NFTyping.typeComponents: time 0.006356/1.989, allocations: 1.993 MB / 1.625 GB, free: 4.359 MB / 1.295 GB
Notification: Performance of NFTyping.typeBindings: time 0.02423/2.013, allocations: 6.766 MB / 1.632 GB, free: 4.113 MB / 1.295 GB
Notification: Performance of NFTyping.typeClassSections: time 0.01072/2.024, allocations: 3.057 MB / 1.635 GB, free: 4.023 MB / 1.295 GB
Notification: Performance of NFFlatten.flatten: time 0.0151/2.039, allocations: 7.857 MB / 1.643 GB, free: 4.02 MB / 1.295 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.005108/2.044, allocations: 1.968 MB / 1.645 GB, free: 19.84 MB / 1.311 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.009801/2.054, allocations: 3.124 MB / 1.648 GB, free: 19.84 MB / 1.311 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.008296/2.062, allocations: 2.845 MB / 1.65 GB, free: 19.83 MB / 1.311 GB
Notification: Performance of NFPackage.collectConstants: time 0.001902/2.064, allocations: 329.4 kB / 1.651 GB, free: 19.83 MB / 1.311 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.01806/2.082, allocations: 6.641 MB / 1.657 GB, free: 19.77 MB / 1.311 GB
Notification: Performance of NFScalarize.scalarize: time 0.003768/2.086, allocations: 1.351 MB / 1.659 GB, free: 19.77 MB / 1.311 GB
Notification: Performance of NFVerifyModel.verify: time 0.009155/2.095, allocations: 1.878 MB / 1.66 GB, free: 19.61 MB / 1.311 GB
Notification: Performance of NFConvertDAE.convert: time 0.02623/2.122, allocations: 6.906 MB / 1.667 GB, free: 18.84 MB / 1.311 GB
Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/2.122, allocations: 0 / 1.667 GB, free: 18.84 MB / 1.311 GB
Notification: Performance of FrontEnd: time 2.955e-06/2.122, allocations: 0.6875 kB / 1.667 GB, free: 18.84 MB / 1.311 GB
Notification: Performance of Transformations before backend: time 0.0003015/2.122, allocations: 0 / 1.667 GB, free: 18.84 MB / 1.311 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.01918/2.141, allocations: 4.12 MB / 1.671 GB, free: 17.19 MB / 1.311 GB
Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/2.141, allocations: 8.656 kB / 1.671 GB, free: 17.19 MB / 1.311 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008324/2.149, allocations: 0.9302 MB / 1.672 GB, free: 17.01 MB / 1.311 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0071/2.157, allocations: 1.802 MB / 1.674 GB, free: 16.54 MB / 1.311 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/2.157, allocations: 193.2 kB / 1.674 GB, free: 16.53 MB / 1.311 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/2.158, allocations: 266.7 kB / 1.674 GB, free: 16.52 MB / 1.311 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/2.17, allocations: 3.414 MB / 1.678 GB, free: 16.23 MB / 1.311 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.946e-05/2.17, allocations: 10.36 kB / 1.678 GB, free: 16.23 MB / 1.311 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003465/2.171, allocations: 109.5 kB / 1.678 GB, free: 16.23 MB / 1.311 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/2.171, allocations: 156.8 kB / 1.678 GB, free: 16.22 MB / 1.311 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006677/2.177, allocations: 3.634 MB / 1.681 GB, free: 16.19 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.02078/2.198, allocations: 12.44 MB / 1.694 GB, free: 9.926 MB / 1.311 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00459/2.203, allocations: 2.953 MB / 1.696 GB, free: 9.82 MB / 1.311 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002827/2.206, allocations: 1.703 MB / 1.698 GB, free: 9.785 MB / 1.311 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0009446/2.207, allocations: 226.4 kB / 1.698 GB, free: 9.781 MB / 1.311 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.439e-05/2.207, allocations: 67.06 kB / 1.698 GB, free: 9.734 MB / 1.311 GB
Notification: Performance of pre-optimization done (n=278): time 6.102e-06/2.207, allocations: 3.188 kB / 1.698 GB, free: 9.734 MB / 1.311 GB
Notification: Performance of matching and sorting (n=278): time 0.006985/2.214, allocations: 3.887 MB / 1.702 GB, free: 9.477 MB / 1.311 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/2.214, allocations: 83.09 kB / 1.702 GB, free: 9.41 MB / 1.311 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/2.216, allocations: 1.402 MB / 1.704 GB, free: 9.234 MB / 1.311 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002835/2.216, allocations: 74.11 kB / 1.704 GB, free: 9.203 MB / 1.311 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0008323/2.217, allocations: 1.04 MB / 1.705 GB, free: 8.758 MB / 1.311 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001226/2.218, allocations: 1 MB / 1.706 GB, free: 8.094 MB / 1.311 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006773/2.219, allocations: 440.3 kB / 1.706 GB, free: 8.062 MB / 1.311 GB
Notification: Performance of setup shared object (initialization): time 0.0001695/2.219, allocations: 302.9 kB / 1.706 GB, free: 7.766 MB / 1.311 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/2.221, allocations: 1.145 MB / 1.707 GB, free: 7.758 MB / 1.311 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/2.223, allocations: 1.416 MB / 1.709 GB, free: 7.574 MB / 1.311 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/2.227, allocations: 2.729 MB / 1.712 GB, free: 7.348 MB / 1.311 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/2.227, allocations: 2.844 kB / 1.712 GB, free: 7.348 MB / 1.311 GB
Notification: Performance of matching and sorting (n=332) (initialization): time 0.005555/2.232, allocations: 3.121 MB / 1.715 GB, free: 6.566 MB / 1.311 GB
Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/2.233, allocations: 8.562 kB / 1.715 GB, free: 6.566 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/2.233, allocations: 3.406 kB / 1.715 GB, free: 6.566 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (initialization): time 4.632e-05/2.233, allocations: 15.78 kB / 1.715 GB, free: 6.566 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/2.235, allocations: 0.5416 MB / 1.715 GB, free: 6.547 MB / 1.311 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/2.235, allocations: 18.94 kB / 1.715 GB, free: 6.547 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/2.238, allocations: 207.5 kB / 1.715 GB, free: 6.391 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/2.238, allocations: 90.05 kB / 1.715 GB, free: 6.371 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.001627/2.24, allocations: 0.6482 MB / 1.716 GB, free: 6.016 MB / 1.311 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007949/2.24, allocations: 249.8 kB / 1.716 GB, free: 5.887 MB / 1.311 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005535/2.246, allocations: 3.116 MB / 1.719 GB, free: 4.559 MB / 1.311 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/2.246, allocations: 25.44 kB / 1.719 GB, free: 4.559 MB / 1.311 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/2.246, allocations: 0 / 1.719 GB, free: 4.559 MB / 1.311 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004034/2.25, allocations: 2.666 MB / 1.722 GB, free: 3.418 MB / 1.311 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/2.263, allocations: 6.191 MB / 1.728 GB, free: 0.8789 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/2.263, allocations: 0.875 kB / 1.728 GB, free: 0.8789 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/2.265, allocations: 0.5473 MB / 1.729 GB, free: 0.8047 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/2.265, allocations: 11.34 kB / 1.729 GB, free: 0.8047 MB / 1.311 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/2.265, allocations: 60.97 kB / 1.729 GB, free: 0.7617 MB / 1.311 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/2.265, allocations: 8.688 kB / 1.729 GB, free: 0.7617 MB / 1.311 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.265, allocations: 0 / 1.729 GB, free: 0.7617 MB / 1.311 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008088/2.274, allocations: 4.586 MB / 1.733 GB, free: 14.33 MB / 1.326 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002154/2.276, allocations: 0.5378 MB / 1.734 GB, free: 13.96 MB / 1.326 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/2.276, allocations: 56.02 kB / 1.734 GB, free: 13.92 MB / 1.326 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/2.278, allocations: 65.3 kB / 1.734 GB, free: 13.88 MB / 1.326 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/2.278, allocations: 171.5 kB / 1.734 GB, free: 13.77 MB / 1.326 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/2.278, allocations: 82.59 kB / 1.734 GB, free: 13.74 MB / 1.326 GB
Notification: Performance of sorting global known variables: time 0.001592/2.28, allocations: 0.9427 MB / 1.735 GB, free: 13.23 MB / 1.326 GB
Notification: Performance of sort global known variables: time 1.1e-07/2.28, allocations: 0 / 1.735 GB, free: 13.23 MB / 1.326 GB
Notification: Performance of remove unused functions: time 0.0028/2.283, allocations: 1.01 MB / 1.736 GB, free: 13.02 MB / 1.326 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.0008225/2.284, allocations: 376.2 kB / 1.736 GB, free: 12.82 MB / 1.326 GB
Notification: Performance of simCode: created initialization part: time 0.005185/2.289, allocations: 2.688 MB / 1.739 GB, free: 11.61 MB / 1.326 GB
Notification: Performance of simCode: created event and clocks part: time 6.192e-06/2.289, allocations: 0 / 1.739 GB, free: 11.61 MB / 1.326 GB
Notification: Performance of simCode: created simulation system equations: time 0.002347/2.291, allocations: 1.393 MB / 1.74 GB, free: 10.85 MB / 1.326 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006758/2.298, allocations: 1.351 MB / 1.742 GB, free: 9.527 MB / 1.326 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/2.31, allocations: 6.108 MB / 1.748 GB, free: 3.406 MB / 1.326 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/2.312, allocations: 1.895 MB / 1.749 GB, free: 1.477 MB / 1.326 GB
Notification: Performance of simCode: alias equations: time 0.003641/2.316, allocations: 0.8712 MB / 1.75 GB, free: 0.6016 MB / 1.326 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/2.316, allocations: 207.4 kB / 1.75 GB, free: 408 kB / 1.326 GB
Notification: Performance of SimCode: time 1.834e-06/2.316, allocations: 0 / 1.75 GB, free: 408 kB / 1.326 GB
Notification: Performance of Templates: time 0.09869/2.415, allocations: 52.41 MB / 1.802 GB, free: 12.77 MB / 1.389 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.816584089770913]