Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9445/0.9445, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.984/1.984, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.104e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1431/0.1431, allocations: 163.4 MB / 1.038 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.1569, allocations: 8.362 MB / 1.046 GB, free: 9.973 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.1598, allocations: 115.1 kB / 1.046 GB, free: 9.859 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.1615, allocations: 0.7447 MB / 1.047 GB, free: 9.109 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.168, allocations: 3.271 MB / 1.05 GB, free: 5.82 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/0.1721, allocations: 1.922 MB / 1.052 GB, free: 3.895 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.4081/0.5802, allocations: 9.237 MB / 1.061 GB, free: 51.67 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/0.5837, allocations: 2.434 MB / 1.063 GB, free: 51.5 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006117/0.5898, allocations: 4.117 MB / 1.067 GB, free: 51.5 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004356/0.5942, allocations: 3.098 MB / 1.07 GB, free: 51.43 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.5952, allocations: 407.4 kB / 1.071 GB, free: 51.43 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.5975, allocations: 0.9471 MB / 1.072 GB, free: 51.39 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.5988, allocations: 1.808 MB / 1.073 GB, free: 51.19 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.002212/0.601, allocations: 1.689 MB / 1.075 GB, free: 51.03 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004232/0.6052, allocations: 4.048 MB / 1.079 GB, free: 50.57 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6053, allocations: 0 / 1.079 GB, free: 50.57 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6053, allocations: 0 / 1.079 GB, free: 50.57 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001687/0.6054, allocations: 4.594 kB / 1.079 GB, free: 50.57 MB / 1.01 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.006308/0.6117, allocations: 4.638 MB / 1.083 GB, free: 48.77 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6118, allocations: 7.938 kB / 1.084 GB, free: 48.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008172/0.6199, allocations: 2.636 MB / 1.086 GB, free: 48.31 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003816/0.6238, allocations: 2.169 MB / 1.088 GB, free: 47.77 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.6239, allocations: 258 kB / 1.088 GB, free: 47.76 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.6244, allocations: 336 kB / 1.089 GB, free: 47.76 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005195/0.6296, allocations: 3.816 MB / 1.092 GB, free: 46.88 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.575e-05/0.6297, allocations: 7.359 kB / 1.092 GB, free: 46.87 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.6299, allocations: 139.2 kB / 1.093 GB, free: 46.87 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.6301, allocations: 210 kB / 1.093 GB, free: 46.86 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004775/0.6349, allocations: 2.867 MB / 1.096 GB, free: 46.82 MB / 1.01 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.01459/0.6495, allocations: 10.25 MB / 1.106 GB, free: 43.56 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/0.6548, allocations: 3.577 MB / 1.109 GB, free: 43.36 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.6574, allocations: 1.405 MB / 1.111 GB, free: 43.33 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/0.6577, allocations: 102.2 kB / 1.111 GB, free: 43.32 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.984e-05/0.6577, allocations: 78.38 kB / 1.111 GB, free: 43.28 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 6.413e-06/0.6577, allocations: 0.7812 kB / 1.111 GB, free: 43.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.007087/0.6648, allocations: 3.563 MB / 1.114 GB, free: 42.97 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.6649, allocations: 92.47 kB / 1.114 GB, free: 42.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.6667, allocations: 1.452 MB / 1.116 GB, free: 42.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/0.667, allocations: 95.7 kB / 1.116 GB, free: 42.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/0.6676, allocations: 1.316 MB / 1.117 GB, free: 41.99 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000944/0.6686, allocations: 1.405 MB / 1.118 GB, free: 41.06 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.6696, allocations: 0.639 MB / 1.119 GB, free: 41.01 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.6696, allocations: 479.1 kB / 1.119 GB, free: 40.54 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.6715, allocations: 0.9466 MB / 1.12 GB, free: 40.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.6737, allocations: 1.464 MB / 1.122 GB, free: 40.17 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/0.6778, allocations: 2.549 MB / 1.124 GB, free: 39.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/0.6779, allocations: 2.125 kB / 1.124 GB, free: 39.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.005191/0.6831, allocations: 3.203 MB / 1.127 GB, free: 39.55 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.6831, allocations: 7.406 kB / 1.127 GB, free: 39.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.6831, allocations: 7.5 kB / 1.127 GB, free: 39.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.124e-05/0.6831, allocations: 21.78 kB / 1.128 GB, free: 39.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.6859, allocations: 0.8826 MB / 1.128 GB, free: 39.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.34e-05/0.686, allocations: 25.91 kB / 1.128 GB, free: 39.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/0.6887, allocations: 408.6 kB / 1.129 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/0.689, allocations: 128.9 kB / 1.129 GB, free: 39.39 MB / 1.01 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.001231/0.6902, allocations: 352.2 kB / 1.129 GB, free: 39.22 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008756/0.6911, allocations: 417 kB / 1.13 GB, free: 39.07 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.6916, allocations: 437.8 kB / 1.13 GB, free: 39.03 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.6916, allocations: 38.88 kB / 1.13 GB, free: 39.03 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.402e-05/0.6917, allocations: 4.859 kB / 1.13 GB, free: 39.03 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003728/0.6954, allocations: 2.426 MB / 1.132 GB, free: 38.68 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009772/0.7052, allocations: 6.04 MB / 1.138 GB, free: 36.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.7052, allocations: 3.531 kB / 1.138 GB, free: 36.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/0.708, allocations: 0.8487 MB / 1.139 GB, free: 36.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.663e-05/0.708, allocations: 17.78 kB / 1.139 GB, free: 36.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/0.7082, allocations: 92.28 kB / 1.139 GB, free: 36.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.7083, allocations: 17.5 kB / 1.139 GB, free: 36.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7083, allocations: 6.938 kB / 1.139 GB, free: 36.44 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006513/0.7148, allocations: 4.165 MB / 1.143 GB, free: 35.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.7164, allocations: 0.7727 MB / 1.144 GB, free: 34.62 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.7168, allocations: 75 kB / 1.144 GB, free: 34.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.7186, allocations: 200.7 kB / 1.144 GB, free: 34.52 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.719, allocations: 239.1 kB / 1.145 GB, free: 34.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/0.7192, allocations: 128.5 kB / 1.145 GB, free: 34.45 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009291/0.7201, allocations: 0.8573 MB / 1.146 GB, free: 34.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7201, allocations: 0 / 1.146 GB, free: 34.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00255/0.7227, allocations: 1.347 MB / 1.147 GB, free: 33.91 MB / 1.01 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.0005522/0.7232, allocations: 245.4 kB / 1.147 GB, free: 33.76 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004672/0.7279, allocations: 2.696 MB / 1.15 GB, free: 33.36 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.7279, allocations: 3.406 kB / 1.15 GB, free: 33.36 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.7303, allocations: 1.46 MB / 1.151 GB, free: 33.16 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/0.7352, allocations: 1.562 MB / 1.153 GB, free: 32.71 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.7454, allocations: 6.709 MB / 1.159 GB, free: 29.42 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008249/0.7463, allocations: 0.7628 MB / 1.16 GB, free: 29.22 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0044/0.7507, allocations: 1.163 MB / 1.161 GB, free: 28.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.752, allocations: 280 kB / 1.161 GB, free: 28.88 MB / 1.01 GB Notification: Performance of SimCode: time 2.204e-06/0.752, allocations: 0 / 1.161 GB, free: 28.88 MB / 1.01 GB Notification: Performance of Templates: time 0.0696/0.8216, allocations: 70.19 MB / 1.23 GB, free: 11.64 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.687220397405326]