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.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.0009593/0.0009593, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009844/0.0009844, allocations: 161 kB / 23.82 MB, free: 0.75 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.9122/0.9122, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.763/1.763, allocations: 377.9 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.654e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1327/0.1327, allocations: 163.4 MB / 0.9711 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.146, allocations: 8.222 MB / 0.9791 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.1485, allocations: 119.1 kB / 0.9792 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.1498, allocations: 0.7369 MB / 0.9799 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.155, allocations: 3.193 MB / 0.983 GB, free: 396 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.158, allocations: 1.937 MB / 0.9849 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.007943/0.1659, allocations: 9.183 MB / 0.9939 GB, free: 5.23 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.1687, allocations: 2.48 MB / 0.9963 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.1736, allocations: 4.096 MB / 1 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/0.1773, allocations: 3.068 MB / 1.003 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005536/0.1779, allocations: 407.9 kB / 1.004 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.1796, allocations: 0.9204 MB / 1.005 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.1807, allocations: 1.8 MB / 1.006 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.1826, allocations: 1.672 MB / 1.008 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.1864, allocations: 4.003 MB / 1.012 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1864, allocations: 0 / 1.012 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1864, allocations: 0 / 1.012 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.931e-05/0.1865, allocations: 0 / 1.012 GB, free: 2.723 MB / 0.9167 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.006604/0.1931, allocations: 4.605 MB / 1.016 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1931, allocations: 8.031 kB / 1.016 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/0.1965, allocations: 1.421 MB / 1.018 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.1991, allocations: 2.081 MB / 1.02 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.1992, allocations: 242.5 kB / 1.02 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.1996, allocations: 335.9 kB / 1.02 GB, free: 9.926 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/0.2033, allocations: 3.238 MB / 1.024 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/0.2034, allocations: 7.984 kB / 1.024 GB, free: 6.477 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.2036, allocations: 140 kB / 1.024 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.2037, allocations: 210.6 kB / 1.024 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.207, allocations: 2.369 MB / 1.026 GB, free: 3.754 MB / 0.9323 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.4223/0.6293, allocations: 9.386 MB / 1.035 GB, free: 82.52 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/0.6333, allocations: 3.184 MB / 1.038 GB, free: 82.39 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.6353, allocations: 1.217 MB / 1.04 GB, free: 82.35 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009046/0.6362, allocations: 289.3 kB / 1.04 GB, free: 82.35 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.511e-05/0.6363, allocations: 79.8 kB / 1.04 GB, free: 82.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=392): time 7.123e-06/0.6363, allocations: 0.9688 kB / 1.04 GB, free: 82.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=392): time 0.00522/0.6415, allocations: 3.067 MB / 1.043 GB, free: 82.16 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.6416, allocations: 93.41 kB / 1.043 GB, free: 82.09 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.6432, allocations: 1.438 MB / 1.045 GB, free: 81.86 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.6434, allocations: 92.89 kB / 1.045 GB, free: 81.83 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006257/0.644, allocations: 1.315 MB / 1.046 GB, free: 81.37 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000787/0.6448, allocations: 1.408 MB / 1.047 GB, free: 80.56 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007379/0.6455, allocations: 0.6272 MB / 1.048 GB, free: 80.51 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.6456, allocations: 478.6 kB / 1.048 GB, free: 80.04 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.6468, allocations: 0.6875 MB / 1.049 GB, free: 80.03 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.6484, allocations: 1.209 MB / 1.05 GB, free: 79.67 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.6512, allocations: 2.081 MB / 1.052 GB, free: 79.32 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.6512, allocations: 2.359 kB / 1.052 GB, free: 79.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.008121/0.6593, allocations: 2.696 MB / 1.055 GB, free: 79.05 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.6594, allocations: 6.906 kB / 1.055 GB, free: 79.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.6594, allocations: 6.969 kB / 1.055 GB, free: 79.05 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.01e-05/0.6595, allocations: 19 kB / 1.055 GB, free: 79.05 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/0.6624, allocations: 0.7625 MB / 1.056 GB, free: 79.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.521e-05/0.6625, allocations: 22.38 kB / 1.056 GB, free: 79.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.665, allocations: 286.6 kB / 1.056 GB, free: 78.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/0.6653, allocations: 125.8 kB / 1.056 GB, free: 78.89 MB / 0.9323 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.001223/0.6665, allocations: 351 kB / 1.056 GB, free: 78.73 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008359/0.6674, allocations: 415.7 kB / 1.057 GB, free: 78.57 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/0.6726, allocations: 2.699 MB / 1.059 GB, free: 78.38 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.6726, allocations: 38.91 kB / 1.059 GB, free: 78.38 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.6726, allocations: 0.7812 kB / 1.059 GB, free: 78.38 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003777/0.6764, allocations: 2.099 MB / 1.061 GB, free: 78.04 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.6869, allocations: 5.417 MB / 1.067 GB, free: 77.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.6869, allocations: 2.875 kB / 1.067 GB, free: 77.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.6886, allocations: 0.7207 MB / 1.067 GB, free: 77.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/0.6886, allocations: 18.75 kB / 1.068 GB, free: 77.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.6888, allocations: 84.28 kB / 1.068 GB, free: 77.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/0.6888, allocations: 19.53 kB / 1.068 GB, free: 77.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6888, allocations: 2.188 kB / 1.068 GB, free: 77.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004622/0.6934, allocations: 3.619 MB / 1.071 GB, free: 76.64 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.6948, allocations: 0.699 MB / 1.072 GB, free: 76.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.6951, allocations: 69.34 kB / 1.072 GB, free: 76.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.6963, allocations: 85.69 kB / 1.072 GB, free: 76.43 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003519/0.6967, allocations: 247.9 kB / 1.072 GB, free: 76.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/0.6969, allocations: 110 kB / 1.072 GB, free: 76.43 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009505/0.6978, allocations: 0.8494 MB / 1.073 GB, free: 76.28 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1e-07/0.6978, allocations: 4.125 kB / 1.073 GB, free: 76.28 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002224/0.7, allocations: 1.264 MB / 1.074 GB, free: 76.14 MB / 0.9323 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.0005247/0.7006, allocations: 292.3 kB / 1.075 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003753/0.7043, allocations: 2.225 MB / 1.077 GB, free: 75.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7043, allocations: 3.938 kB / 1.077 GB, free: 75.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.7061, allocations: 1.263 MB / 1.078 GB, free: 75.89 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/0.7106, allocations: 1.509 MB / 1.08 GB, free: 75.69 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008689/0.7193, allocations: 6.281 MB / 1.086 GB, free: 73.27 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/0.7199, allocations: 0.7619 MB / 1.086 GB, free: 73.12 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003258/0.7232, allocations: 1.052 MB / 1.087 GB, free: 72.91 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008502/0.724, allocations: 266.7 kB / 1.088 GB, free: 72.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.944e-06/0.724, allocations: 0 / 1.088 GB, free: 72.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.05697/0.781, allocations: 57.98 MB / 1.144 GB, free: 33.57 MB / 0.9323 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 6.771367063745856]