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.001644/0.001644, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001712/0.001712, allocations: 189.6 kB / 22.1 MB, free: 4.219 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.512/1.512, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.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.117/3.117, allocations: 495.8 MB / 0.7831 GB, free: 12.3 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-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.00204/0.00204, allocations: 59.91 kB / 1.137 GB, free: 12.25 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.337/1.339, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.4246/1.764, allocations: 313.5 MB / 1.613 GB, free: 14.78 MB / 1.295 GB
Notification: Performance of NFInst.instExpressions: time 0.03544/1.799, allocations: 18.42 MB / 1.631 GB, free: 12.32 MB / 1.311 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.007152/1.806, allocations: 119.1 kB / 1.631 GB, free: 12.2 MB / 1.311 GB
Notification: Performance of NFTyping.typeComponents: time 0.0085/1.815, allocations: 2.261 MB / 1.633 GB, free: 9.926 MB / 1.311 GB
Notification: Performance of NFTyping.typeBindings: time 0.02615/1.841, allocations: 7.697 MB / 1.641 GB, free: 2.199 MB / 1.311 GB
Notification: Performance of NFTyping.typeClassSections: time 0.01134/1.852, allocations: 3.337 MB / 1.644 GB, free: 14.86 MB / 1.326 GB
Notification: Performance of NFFlatten.flatten: time 0.0173/1.87, allocations: 9.273 MB / 1.653 GB, free: 5.562 MB / 1.326 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.006148/1.876, allocations: 2.374 MB / 1.655 GB, free: 3.125 MB / 1.326 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.01094/1.887, allocations: 3.75 MB / 1.659 GB, free: 15.36 MB / 1.342 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.008762/1.896, allocations: 3.403 MB / 1.662 GB, free: 11.96 MB / 1.342 GB
Notification: Performance of NFPackage.collectConstants: time 0.001387/1.897, allocations: 404 kB / 1.663 GB, free: 11.57 MB / 1.342 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.01719/1.914, allocations: 5.793 MB / 1.668 GB, free: 5.758 MB / 1.342 GB
Notification: Performance of NFScalarize.scalarize: time 0.003677/1.918, allocations: 1.683 MB / 1.67 GB, free: 4.07 MB / 1.342 GB
Notification: Performance of NFVerifyModel.verify: time 0.005338/1.923, allocations: 2.287 MB / 1.672 GB, free: 1.773 MB / 1.342 GB
Notification: Performance of NFConvertDAE.convert: time 0.02216/1.945, allocations: 7.943 MB / 1.68 GB, free: 9.805 MB / 1.357 GB
Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.945, allocations: 0 / 1.68 GB, free: 9.805 MB / 1.357 GB
Notification: Performance of FrontEnd: time 3.777e-06/1.945, allocations: 0 / 1.68 GB, free: 9.805 MB / 1.357 GB
Notification: Performance of Transformations before backend: time 0.0002491/1.946, allocations: 0 / 1.68 GB, free: 9.805 MB / 1.357 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.01817/1.964, allocations: 4.953 MB / 1.685 GB, free: 4.793 MB / 1.357 GB
Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.964, allocations: 8.031 kB / 1.685 GB, free: 4.785 MB / 1.357 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007039/1.971, allocations: 1.032 MB / 1.686 GB, free: 3.75 MB / 1.357 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005703/1.977, allocations: 2.097 MB / 1.688 GB, free: 1.602 MB / 1.357 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/1.977, allocations: 246.5 kB / 1.688 GB, free: 1.359 MB / 1.357 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006048/1.977, allocations: 327.9 kB / 1.688 GB, free: 1.039 MB / 1.357 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.008988/1.986, allocations: 4.399 MB / 1.693 GB, free: 12.56 MB / 1.373 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.576e-05/1.986, allocations: 11.94 kB / 1.693 GB, free: 12.55 MB / 1.373 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/1.987, allocations: 139.9 kB / 1.693 GB, free: 12.41 MB / 1.373 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002544/1.987, allocations: 210.7 kB / 1.693 GB, free: 12.2 MB / 1.373 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009455/1.997, allocations: 5.054 MB / 1.698 GB, free: 7.141 MB / 1.373 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.02619/2.023, allocations: 14.91 MB / 1.713 GB, free: 7.191 MB / 1.389 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006963/2.03, allocations: 4.259 MB / 1.717 GB, free: 2.941 MB / 1.389 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/2.034, allocations: 2.241 MB / 1.719 GB, free: 0.6914 MB / 1.389 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001175/2.035, allocations: 270.8 kB / 1.719 GB, free: 436 kB / 1.389 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.972e-05/2.035, allocations: 80.17 kB / 1.719 GB, free: 348 kB / 1.389 GB
Notification: Performance of pre-optimization done (n=392): time 5.631e-06/2.035, allocations: 0 / 1.719 GB, free: 348 kB / 1.389 GB
Notification: Performance of matching and sorting (n=392): time 0.01078/2.046, allocations: 5.552 MB / 1.725 GB, free: 10.76 MB / 1.404 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/2.046, allocations: 94.48 kB / 1.725 GB, free: 10.65 MB / 1.404 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003236/2.049, allocations: 1.707 MB / 1.726 GB, free: 8.902 MB / 1.404 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003485/2.049, allocations: 93.7 kB / 1.727 GB, free: 8.805 MB / 1.404 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001127/2.051, allocations: 1.245 MB / 1.728 GB, free: 7.551 MB / 1.404 GB
Notification: Performance of collectInitialBindings (initialization): time 0.00169/2.052, allocations: 1.398 MB / 1.729 GB, free: 6.141 MB / 1.404 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/2.053, allocations: 0.6143 MB / 1.73 GB, free: 5.52 MB / 1.404 GB
Notification: Performance of setup shared object (initialization): time 0.0002059/2.054, allocations: 305.1 kB / 1.73 GB, free: 5.219 MB / 1.404 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/2.057, allocations: 1.663 MB / 1.732 GB, free: 3.555 MB / 1.404 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/2.06, allocations: 2.041 MB / 1.734 GB, free: 1.449 MB / 1.404 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00646/2.066, allocations: 3.912 MB / 1.737 GB, free: 13.45 MB / 1.42 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/2.066, allocations: 4 kB / 1.737 GB, free: 13.45 MB / 1.42 GB
Notification: Performance of matching and sorting (n=472) (initialization): time 0.008269/2.075, allocations: 4.456 MB / 1.742 GB, free: 8.977 MB / 1.42 GB
Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/2.075, allocations: 11.98 kB / 1.742 GB, free: 8.965 MB / 1.42 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/2.075, allocations: 8 kB / 1.742 GB, free: 8.957 MB / 1.42 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/2.075, allocations: 20 kB / 1.742 GB, free: 8.938 MB / 1.42 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/2.078, allocations: 0.7568 MB / 1.743 GB, free: 8.18 MB / 1.42 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-05/2.078, allocations: 23.94 kB / 1.743 GB, free: 8.156 MB / 1.42 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/2.082, allocations: 309.5 kB / 1.743 GB, free: 7.852 MB / 1.42 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/2.082, allocations: 124 kB / 1.743 GB, free: 7.73 MB / 1.42 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.001892/2.084, allocations: 0.817 MB / 1.744 GB, free: 6.902 MB / 1.42 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007263/2.085, allocations: 302.1 kB / 1.744 GB, free: 6.605 MB / 1.42 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007852/2.093, allocations: 4.433 MB / 1.748 GB, free: 2.137 MB / 1.42 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/2.093, allocations: 36 kB / 1.748 GB, free: 2.102 MB / 1.42 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/2.093, allocations: 3.938 kB / 1.748 GB, free: 2.098 MB / 1.42 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005951/2.099, allocations: 3.796 MB / 1.752 GB, free: 14.23 MB / 1.436 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/2.114, allocations: 8.541 MB / 1.761 GB, free: 5.559 MB / 1.436 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/2.114, allocations: 12.03 kB / 1.761 GB, free: 5.547 MB / 1.436 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003343/2.117, allocations: 0.7178 MB / 1.761 GB, free: 4.828 MB / 1.436 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/2.117, allocations: 16 kB / 1.761 GB, free: 4.812 MB / 1.436 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/2.118, allocations: 83.98 kB / 1.761 GB, free: 4.73 MB / 1.436 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.834e-05/2.118, allocations: 27.86 kB / 1.761 GB, free: 4.703 MB / 1.436 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.118, allocations: 4 kB / 1.761 GB, free: 4.699 MB / 1.436 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/2.128, allocations: 6.587 MB / 1.768 GB, free: 14.02 MB / 1.451 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002379/2.131, allocations: 0.7353 MB / 1.768 GB, free: 13.28 MB / 1.451 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000448/2.131, allocations: 72 kB / 1.769 GB, free: 13.21 MB / 1.451 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/2.133, allocations: 81.66 kB / 1.769 GB, free: 13.13 MB / 1.451 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/2.134, allocations: 250.5 kB / 1.769 GB, free: 12.89 MB / 1.451 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/2.134, allocations: 112 kB / 1.769 GB, free: 12.78 MB / 1.451 GB
Notification: Performance of sorting global known variables: time 0.001882/2.136, allocations: 1.157 MB / 1.77 GB, free: 11.6 MB / 1.451 GB
Notification: Performance of sort global known variables: time 9.1e-08/2.136, allocations: 3.938 kB / 1.77 GB, free: 11.59 MB / 1.451 GB
Notification: Performance of remove unused functions: time 0.003333/2.139, allocations: 1.272 MB / 1.771 GB, free: 10.32 MB / 1.451 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.001199/2.14, allocations: 455.6 kB / 1.772 GB, free: 9.875 MB / 1.451 GB
Notification: Performance of simCode: created initialization part: time 0.00719/2.148, allocations: 3.871 MB / 1.776 GB, free: 5.992 MB / 1.451 GB
Notification: Performance of simCode: created event and clocks part: time 6.692e-06/2.148, allocations: 0 / 1.776 GB, free: 5.992 MB / 1.451 GB
Notification: Performance of simCode: created simulation system equations: time 0.003306/2.151, allocations: 1.985 MB / 1.778 GB, free: 4.008 MB / 1.451 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008126/2.159, allocations: 1.606 MB / 1.779 GB, free: 2.43 MB / 1.451 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/2.174, allocations: 7.774 MB / 1.787 GB, free: 10.57 MB / 1.467 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/2.176, allocations: 2.209 MB / 1.789 GB, free: 8.324 MB / 1.467 GB
Notification: Performance of simCode: alias equations: time 0.005186/2.182, allocations: 1.271 MB / 1.79 GB, free: 7.047 MB / 1.467 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/2.183, allocations: 271.4 kB / 1.79 GB, free: 6.781 MB / 1.467 GB
Notification: Performance of SimCode: time 1.963e-06/2.183, allocations: 0 / 1.79 GB, free: 6.781 MB / 1.467 GB
Notification: Performance of Templates: time 0.1844/2.367, allocations: 65.72 MB / 1.855 GB, free: 5.75 MB / 1.529 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: 14.023295525461435]