Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 112.7 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.001451/0.001451, allocations: 189.6 kB / 22.23 MB, free: 5.098 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.423/1.423, allocations: 225.6 MB / 251 MB, free: 13.21 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.106/3.106, allocations: 496 MB / 0.7835 GB, free: 33.66 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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy")
translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 62.23 kB / 1.138 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3077, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.08/1.387, allocations: 316.9 MB / 1.617 GB, free: 4.422 MB / 1.295 GB
Notification: Performance of NFInst.instExpressions: time 0.02609/1.414, allocations: 18.55 MB / 1.635 GB, free: 4.383 MB / 1.295 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004083/1.418, allocations: 118.7 kB / 1.635 GB, free: 4.383 MB / 1.295 GB
Notification: Performance of NFTyping.typeComponents: time 0.005536/1.423, allocations: 2.262 MB / 1.637 GB, free: 4.34 MB / 1.295 GB
Notification: Performance of NFTyping.typeBindings: time 0.01935/1.443, allocations: 7.692 MB / 1.645 GB, free: 4.059 MB / 1.295 GB
Notification: Performance of NFTyping.typeClassSections: time 0.01061/1.453, allocations: 3.341 MB / 1.648 GB, free: 3.965 MB / 1.295 GB
Notification: Performance of NFFlatten.flatten: time 0.01462/1.468, allocations: 9.272 MB / 1.657 GB, free: 3.941 MB / 1.295 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.004468/1.472, allocations: 2.396 MB / 1.659 GB, free: 19.74 MB / 1.311 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.007383/1.48, allocations: 3.753 MB / 1.663 GB, free: 19.74 MB / 1.311 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006846/1.486, allocations: 3.386 MB / 1.666 GB, free: 19.73 MB / 1.311 GB
Notification: Performance of NFPackage.collectConstants: time 0.0009325/1.487, allocations: 400.7 kB / 1.667 GB, free: 19.73 MB / 1.311 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.01487/1.502, allocations: 7.536 MB / 1.674 GB, free: 19.66 MB / 1.311 GB
Notification: Performance of NFScalarize.scalarize: time 0.00239/1.505, allocations: 1.686 MB / 1.676 GB, free: 19.66 MB / 1.311 GB
Notification: Performance of NFVerifyModel.verify: time 0.003742/1.508, allocations: 2.29 MB / 1.678 GB, free: 19.15 MB / 1.311 GB
Notification: Performance of NFConvertDAE.convert: time 0.01598/1.524, allocations: 8.193 MB / 1.686 GB, free: 18.22 MB / 1.311 GB
Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.524, allocations: 3.781 kB / 1.686 GB, free: 18.22 MB / 1.311 GB
Notification: Performance of FrontEnd: time 1.623e-06/1.524, allocations: 0 / 1.686 GB, free: 18.22 MB / 1.311 GB
Notification: Performance of Transformations before backend: time 0.0001256/1.524, allocations: 0.8438 kB / 1.686 GB, free: 18.22 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: 885
 * Number of variables: 885
Notification: Performance of Generate backend data structure: time 0.01281/1.537, allocations: 4.97 MB / 1.691 GB, free: 16.3 MB / 1.311 GB
Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/1.537, allocations: 10.78 kB / 1.691 GB, free: 16.3 MB / 1.311 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006818/1.544, allocations: 1.023 MB / 1.692 GB, free: 16.07 MB / 1.311 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/1.548, allocations: 2.092 MB / 1.694 GB, free: 15.55 MB / 1.311 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/1.549, allocations: 246.3 kB / 1.694 GB, free: 15.54 MB / 1.311 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006144/1.549, allocations: 326.4 kB / 1.694 GB, free: 15.54 MB / 1.311 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007473/1.557, allocations: 4.403 MB / 1.699 GB, free: 15.24 MB / 1.311 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.82e-05/1.557, allocations: 5.219 kB / 1.699 GB, free: 15.24 MB / 1.311 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/1.557, allocations: 136.8 kB / 1.699 GB, free: 15.24 MB / 1.311 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/1.557, allocations: 208.2 kB / 1.699 GB, free: 15.23 MB / 1.311 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008521/1.566, allocations: 5.06 MB / 1.704 GB, free: 15.2 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.0225/1.588, allocations: 14.96 MB / 1.719 GB, free: 8.305 MB / 1.311 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005619/1.594, allocations: 4.273 MB / 1.723 GB, free: 8.129 MB / 1.311 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/1.597, allocations: 2.242 MB / 1.725 GB, free: 7.684 MB / 1.311 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.598, allocations: 271.1 kB / 1.725 GB, free: 7.602 MB / 1.311 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.42e-05/1.598, allocations: 82.58 kB / 1.725 GB, free: 7.527 MB / 1.311 GB
Notification: Performance of pre-optimization done (n=392): time 6.272e-06/1.598, allocations: 0 / 1.725 GB, free: 7.527 MB / 1.311 GB
Notification: Performance of matching and sorting (n=392): time 0.009565/1.608, allocations: 5.548 MB / 1.731 GB, free: 4.836 MB / 1.311 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/1.608, allocations: 89.55 kB / 1.731 GB, free: 4.77 MB / 1.311 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/1.611, allocations: 1.716 MB / 1.732 GB, free: 3.824 MB / 1.311 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003714/1.611, allocations: 99.52 kB / 1.733 GB, free: 3.738 MB / 1.311 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.612, allocations: 1.247 MB / 1.734 GB, free: 2.641 MB / 1.311 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001529/1.614, allocations: 1.39 MB / 1.735 GB, free: 1.43 MB / 1.311 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/1.615, allocations: 0.6133 MB / 1.736 GB, free: 1.094 MB / 1.311 GB
Notification: Performance of setup shared object (initialization): time 0.0001425/1.615, allocations: 307.6 kB / 1.736 GB, free: 0.793 MB / 1.311 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/1.617, allocations: 1.663 MB / 1.738 GB, free: 15.96 MB / 1.326 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/1.62, allocations: 2.033 MB / 1.74 GB, free: 14.81 MB / 1.326 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/1.626, allocations: 3.923 MB / 1.743 GB, free: 12.7 MB / 1.326 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/1.626, allocations: 0 / 1.743 GB, free: 12.7 MB / 1.326 GB
Notification: Performance of matching and sorting (n=472) (initialization): time 0.007552/1.634, allocations: 4.46 MB / 1.748 GB, free: 10.55 MB / 1.326 GB
Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.634, allocations: 7.156 kB / 1.748 GB, free: 10.55 MB / 1.326 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/1.634, allocations: 5.344 kB / 1.748 GB, free: 10.55 MB / 1.326 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/1.634, allocations: 20.34 kB / 1.748 GB, free: 10.55 MB / 1.326 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/1.637, allocations: 0.7602 MB / 1.749 GB, free: 10.43 MB / 1.326 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.024e-05/1.637, allocations: 34.44 kB / 1.749 GB, free: 10.42 MB / 1.326 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/1.64, allocations: 305.2 kB / 1.749 GB, free: 10.18 MB / 1.326 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/1.641, allocations: 127.9 kB / 1.749 GB, free: 10.05 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 (472):
 * Single equations (assignments): 472
 * 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.001764/1.642, allocations: 0.8125 MB / 1.75 GB, free: 9.277 MB / 1.326 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007688/1.643, allocations: 306.1 kB / 1.75 GB, free: 8.977 MB / 1.326 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008294/1.651, allocations: 4.434 MB / 1.754 GB, free: 4.512 MB / 1.326 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/1.651, allocations: 39.94 kB / 1.754 GB, free: 4.473 MB / 1.326 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/1.652, allocations: 0 / 1.754 GB, free: 4.473 MB / 1.326 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006426/1.658, allocations: 3.791 MB / 1.758 GB, free: 0.6172 MB / 1.326 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.673, allocations: 8.55 MB / 1.767 GB, free: 8.047 MB / 1.342 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/1.673, allocations: 4 kB / 1.767 GB, free: 8.043 MB / 1.342 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/1.677, allocations: 0.7209 MB / 1.767 GB, free: 7.359 MB / 1.342 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.922e-05/1.677, allocations: 16 kB / 1.767 GB, free: 7.344 MB / 1.342 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/1.677, allocations: 83.98 kB / 1.767 GB, free: 7.262 MB / 1.342 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-05/1.677, allocations: 19.98 kB / 1.767 GB, free: 7.242 MB / 1.342 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.677, allocations: 2.438 kB / 1.767 GB, free: 7.242 MB / 1.342 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.689, allocations: 6.588 MB / 1.774 GB, free: 0.5625 MB / 1.342 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002302/1.691, allocations: 0.7314 MB / 1.774 GB, free: 15.83 MB / 1.357 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005363/1.691, allocations: 72 kB / 1.775 GB, free: 15.76 MB / 1.357 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.693, allocations: 87.91 kB / 1.775 GB, free: 15.67 MB / 1.357 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/1.694, allocations: 249 kB / 1.775 GB, free: 15.43 MB / 1.357 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.694, allocations: 116 kB / 1.775 GB, free: 15.32 MB / 1.357 GB
Notification: Performance of sorting global known variables: time 0.001854/1.696, allocations: 1.153 MB / 1.776 GB, free: 14.14 MB / 1.357 GB
Notification: Performance of sort global known variables: time 8e-08/1.696, allocations: 0 / 1.776 GB, free: 14.14 MB / 1.357 GB
Notification: Performance of remove unused functions: time 0.003532/1.7, allocations: 1.272 MB / 1.777 GB, free: 12.87 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.001206/1.701, allocations: 469.1 kB / 1.778 GB, free: 12.47 MB / 1.357 GB
Notification: Performance of simCode: created initialization part: time 0.007417/1.708, allocations: 3.863 MB / 1.782 GB, free: 8.652 MB / 1.357 GB
Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.708, allocations: 0 / 1.782 GB, free: 8.652 MB / 1.357 GB
Notification: Performance of simCode: created simulation system equations: time 0.003429/1.712, allocations: 1.988 MB / 1.784 GB, free: 6.742 MB / 1.357 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0075/1.719, allocations: 1.605 MB / 1.785 GB, free: 5.168 MB / 1.357 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.733, allocations: 7.782 MB / 1.793 GB, free: 13.35 MB / 1.373 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/1.735, allocations: 2.201 MB / 1.795 GB, free: 11.11 MB / 1.373 GB
Notification: Performance of simCode: alias equations: time 0.004543/1.74, allocations: 1.271 MB / 1.796 GB, free: 9.832 MB / 1.373 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.741, allocations: 271.4 kB / 1.796 GB, free: 9.566 MB / 1.373 GB
Notification: Performance of SimCode: time 8.52e-07/1.741, allocations: 0 / 1.796 GB, free: 9.566 MB / 1.373 GB
Notification: Performance of Templates: time 0.114/1.855, allocations: 65.74 MB / 1.861 GB, free: 8.789 MB / 1.436 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.303443877026439]