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.001075/0.001075, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001472/0.001472, allocations: 181 kB / 23.36 MB, free: 1.133 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.8842/0.8842, allocations: 177.1 MB / 203.8 MB, free: 5.48 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 2.258/2.258, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.102e-06/1.102e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.342e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1316/0.1316, allocations: 162.5 MB / 0.9973 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.1439, allocations: 8.583 MB / 1.006 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.1453, allocations: 119.1 kB / 1.006 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.1465, allocations: 0.7447 MB / 1.007 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.1507, allocations: 3.282 MB / 1.01 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.1532, allocations: 1.93 MB / 1.012 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.006435/0.1596, allocations: 9.205 MB / 1.021 GB, free: 3.082 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.162, allocations: 2.462 MB / 1.023 GB, free: 0.543 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.1664, allocations: 4.648 MB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.169, allocations: 2.891 MB / 1.03 GB, free: 9.055 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003707/0.1693, allocations: 400 kB / 1.031 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1705, allocations: 0.8347 MB / 1.032 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009876/0.1715, allocations: 1.792 MB / 1.033 GB, free: 6.031 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.1727, allocations: 1.669 MB / 1.035 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.1758, allocations: 3.98 MB / 1.039 GB, free: 376 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1758, allocations: 4 kB / 1.039 GB, free: 372 kB / 0.9948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1758, allocations: 0 / 1.039 GB, free: 372 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.116e-05/0.1758, allocations: 0 / 1.039 GB, free: 372 kB / 0.9948 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.004811/0.1806, allocations: 4.33 MB / 1.043 GB, free: 11.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1806, allocations: 8.922 kB / 1.043 GB, free: 11.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006793/0.1874, allocations: 2.548 MB / 1.046 GB, free: 9.418 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.1896, allocations: 1.573 MB / 1.047 GB, free: 7.793 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.1898, allocations: 258.5 kB / 1.047 GB, free: 7.539 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000408/0.1902, allocations: 331.9 kB / 1.048 GB, free: 7.215 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/0.1938, allocations: 3.511 MB / 1.051 GB, free: 3.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/0.1939, allocations: 0 / 1.051 GB, free: 3.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.1942, allocations: 140 kB / 1.051 GB, free: 3.383 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.1943, allocations: 206.7 kB / 1.051 GB, free: 3.18 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.1969, allocations: 2.03 MB / 1.053 GB, free: 1.133 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.3777/0.5746, allocations: 7.849 MB / 1.061 GB, free: 82.14 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.5777, allocations: 3.074 MB / 1.064 GB, free: 81.95 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.579, allocations: 1.052 MB / 1.065 GB, free: 81.91 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.5792, allocations: 99.16 kB / 1.065 GB, free: 81.91 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.5793, allocations: 79.48 kB / 1.065 GB, free: 81.86 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 6.091e-06/0.5793, allocations: 2.156 kB / 1.065 GB, free: 81.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.003746/0.583, allocations: 2.253 MB / 1.067 GB, free: 81.75 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5831, allocations: 96.23 kB / 1.068 GB, free: 81.68 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5841, allocations: 1.336 MB / 1.069 GB, free: 81.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/0.5843, allocations: 94.11 kB / 1.069 GB, free: 81.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.5847, allocations: 1.051 MB / 1.07 GB, free: 80.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/0.5853, allocations: 1.387 MB / 1.071 GB, free: 80.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008431/0.5862, allocations: 0.6192 MB / 1.072 GB, free: 80.16 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.433e-05/0.5862, allocations: 306.5 kB / 1.072 GB, free: 79.87 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.5872, allocations: 0.6278 MB / 1.073 GB, free: 79.85 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.5884, allocations: 1.15 MB / 1.074 GB, free: 79.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.5909, allocations: 2.117 MB / 1.076 GB, free: 78.94 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.5909, allocations: 3.906 kB / 1.076 GB, free: 78.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=496) (initialization): time 0.003353/0.5943, allocations: 2.189 MB / 1.078 GB, free: 78.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.5943, allocations: 11.19 kB / 1.078 GB, free: 78.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.5943, allocations: 9.531 kB / 1.078 GB, free: 78.83 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/0.5944, allocations: 27.62 kB / 1.078 GB, free: 78.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.597, allocations: 0.9136 MB / 1.079 GB, free: 78.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.477e-05/0.597, allocations: 33.67 kB / 1.079 GB, free: 78.83 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.5988, allocations: 429.1 kB / 1.08 GB, free: 78.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.5991, allocations: 106.1 kB / 1.08 GB, free: 78.73 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (496): * Single equations (assignments): 496 * 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.0007084/0.5998, allocations: 319.5 kB / 1.08 GB, free: 78.61 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/0.6003, allocations: 313 kB / 1.08 GB, free: 78.61 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.6007, allocations: 445.2 kB / 1.081 GB, free: 78.57 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.6007, allocations: 39.12 kB / 1.081 GB, free: 78.57 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.699e-05/0.6007, allocations: 3.938 kB / 1.081 GB, free: 78.57 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001858/0.6026, allocations: 1.537 MB / 1.082 GB, free: 78.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/0.6082, allocations: 4.201 MB / 1.086 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6082, allocations: 5.562 kB / 1.086 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/0.6105, allocations: 0.829 MB / 1.087 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.467e-05/0.6105, allocations: 16.81 kB / 1.087 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.6108, allocations: 89.06 kB / 1.087 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.6108, allocations: 19.53 kB / 1.087 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6108, allocations: 2.656 kB / 1.087 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.6144, allocations: 2.995 MB / 1.09 GB, free: 77.24 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008535/0.6153, allocations: 0.5281 MB / 1.091 GB, free: 77.09 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003514/0.6156, allocations: 71.33 kB / 1.091 GB, free: 77.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.617, allocations: 195.6 kB / 1.091 GB, free: 77.09 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.6174, allocations: 241.4 kB / 1.091 GB, free: 77.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/0.6176, allocations: 86.5 kB / 1.091 GB, free: 77.08 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004422/0.618, allocations: 0.665 MB / 1.092 GB, free: 76.99 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.618, allocations: 0 / 1.092 GB, free: 76.99 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001691/0.6197, allocations: 1.352 MB / 1.093 GB, free: 76.92 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.0004095/0.6201, allocations: 219.7 kB / 1.093 GB, free: 76.85 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.6224, allocations: 2.023 MB / 1.095 GB, free: 76.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.45e-05/0.6224, allocations: 25.97 kB / 1.095 GB, free: 76.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.6236, allocations: 1.116 MB / 1.097 GB, free: 76.72 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.6266, allocations: 1.605 MB / 1.098 GB, free: 76.53 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.6327, allocations: 6.111 MB / 1.104 GB, free: 74.24 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.6332, allocations: 0.7459 MB / 1.105 GB, free: 74.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002235/0.6354, allocations: 0.6776 MB / 1.105 GB, free: 74.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002661/0.6381, allocations: 1.082 MB / 1.107 GB, free: 73.92 MB / 1.01 GB Notification: Performance of SimCode: time 7.31e-07/0.6381, allocations: 0 / 1.107 GB, free: 73.92 MB / 1.01 GB Notification: Performance of Templates: time 0.06336/0.7015, allocations: 76.32 MB / 1.181 GB, free: 20.1 MB / 1.01 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.311504120007157]