Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.001907/0.001907, allocations: 79.69 kB / 20.23 MB, free: 4.188 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.002005/0.002005, allocations: 157.3 kB / 23.55 MB, free: 0.8633 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 1.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.062/3.062, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] 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.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.623e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7756/0.7756, allocations: 295.7 MB / 1.1 GB, free: 48.29 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.798, allocations: 17.52 MB / 1.117 GB, free: 48.14 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00336/0.8014, allocations: 105.3 kB / 1.117 GB, free: 48.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004592/0.8059, allocations: 1.817 MB / 1.118 GB, free: 48.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01619/0.8221, allocations: 6.903 MB / 1.125 GB, free: 47.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.007672/0.8298, allocations: 3.055 MB / 1.128 GB, free: 46.8 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.009374/0.8392, allocations: 7.966 MB / 1.136 GB, free: 45.38 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.8423, allocations: 2.042 MB / 1.138 GB, free: 45.16 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007306/0.8496, allocations: 4.109 MB / 1.142 GB, free: 44.81 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.854, allocations: 2.566 MB / 1.145 GB, free: 44.56 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005719/0.8546, allocations: 327.4 kB / 1.145 GB, free: 44.56 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.8647, allocations: 5.14 MB / 1.15 GB, free: 43.99 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.8662, allocations: 1.444 MB / 1.151 GB, free: 43.82 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.8685, allocations: 1.372 MB / 1.153 GB, free: 43.68 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.8798, allocations: 7.006 MB / 1.159 GB, free: 42.53 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8798, allocations: 0 / 1.159 GB, free: 42.53 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8798, allocations: 0 / 1.159 GB, free: 42.53 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.986e-05/0.8799, allocations: 0 / 1.159 GB, free: 42.53 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.008991/0.8889, allocations: 4.36 MB / 1.164 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.8889, allocations: 11.5 kB / 1.164 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006174/0.8951, allocations: 1.255 MB / 1.165 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.8987, allocations: 1.825 MB / 1.167 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.8988, allocations: 192.3 kB / 1.167 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/0.8992, allocations: 268.6 kB / 1.167 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.9037, allocations: 3.24 MB / 1.17 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.9038, allocations: 2.531 kB / 1.17 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.904, allocations: 109.8 kB / 1.17 GB, free: 36.91 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.9041, allocations: 156 kB / 1.171 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.9084, allocations: 2.493 MB / 1.173 GB, free: 36.27 MB / 0.9948 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.01269/0.921, allocations: 9.191 MB / 1.182 GB, free: 31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.9243, allocations: 2.278 MB / 1.184 GB, free: 30.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.9263, allocations: 1.229 MB / 1.185 GB, free: 29.76 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009491/0.9272, allocations: 236.4 kB / 1.186 GB, free: 29.74 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.9273, allocations: 75.78 kB / 1.186 GB, free: 29.67 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=278): time 5.05e-06/0.9273, allocations: 0 / 1.186 GB, free: 29.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=278): time 0.005103/0.9324, allocations: 2.734 MB / 1.188 GB, free: 28.78 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.9324, allocations: 77.25 kB / 1.188 GB, free: 28.71 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.9341, allocations: 1.563 MB / 1.19 GB, free: 28.03 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.9343, allocations: 73.27 kB / 1.19 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.9349, allocations: 1.177 MB / 1.191 GB, free: 27.07 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006738/0.9355, allocations: 1.066 MB / 1.192 GB, free: 26.23 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007094/0.9362, allocations: 0.5025 MB / 1.193 GB, free: 25.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.9363, allocations: 479.8 kB / 1.193 GB, free: 25.51 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.9376, allocations: 0.6856 MB / 1.194 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.9391, allocations: 1.1 MB / 1.195 GB, free: 24.81 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/0.942, allocations: 2.095 MB / 1.197 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.942, allocations: 3.938 kB / 1.197 GB, free: 23.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003949/0.9459, allocations: 2.334 MB / 1.199 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.946, allocations: 10.12 kB / 1.199 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.946, allocations: 6.062 kB / 1.199 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.946, allocations: 18.66 kB / 1.199 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/0.9483, allocations: 0.538 MB / 1.2 GB, free: 23.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-05/0.9484, allocations: 19.91 kB / 1.2 GB, free: 23.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/0.9507, allocations: 201.3 kB / 1.2 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.9509, allocations: 88.78 kB / 1.2 GB, free: 22.87 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (332): * Single equations (assignments): 332 * 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.0009825/0.9519, allocations: 477.5 kB / 1.201 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006569/0.9525, allocations: 321.8 kB / 1.201 GB, free: 22.38 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/0.9566, allocations: 2.281 MB / 1.203 GB, free: 21.49 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.9567, allocations: 24.53 kB / 1.203 GB, free: 21.49 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.9567, allocations: 3.906 kB / 1.203 GB, free: 21.49 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002859/0.9595, allocations: 1.83 MB / 1.205 GB, free: 20.79 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00855/0.9681, allocations: 4.79 MB / 1.21 GB, free: 18.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9681, allocations: 0 / 1.21 GB, free: 18.72 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/0.9706, allocations: 0.5434 MB / 1.21 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-05/0.9706, allocations: 15.78 kB / 1.21 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.9708, allocations: 61.39 kB / 1.21 GB, free: 18.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/0.9708, allocations: 8.156 kB / 1.21 GB, free: 18.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9708, allocations: 1.094 kB / 1.21 GB, free: 18.66 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/0.9759, allocations: 3.316 MB / 1.213 GB, free: 17.34 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.9774, allocations: 0.5238 MB / 1.214 GB, free: 17.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/0.9777, allocations: 53.52 kB / 1.214 GB, free: 17.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/0.9795, allocations: 64.34 kB / 1.214 GB, free: 16.97 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.9798, allocations: 174.4 kB / 1.214 GB, free: 16.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.98, allocations: 86.23 kB / 1.214 GB, free: 16.92 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001135/0.9811, allocations: 0.9213 MB / 1.215 GB, free: 16.55 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9811, allocations: 0 / 1.215 GB, free: 16.55 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002081/0.9832, allocations: 1.021 MB / 1.216 GB, free: 16.34 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.0005732/0.9838, allocations: 380.2 kB / 1.217 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00323/0.987, allocations: 2.008 MB / 1.219 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.987, allocations: 2.938 kB / 1.219 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.9887, allocations: 1.115 MB / 1.22 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/0.9947, allocations: 1.288 MB / 1.221 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/1.002, allocations: 5.202 MB / 1.226 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.004, allocations: 1.28 MB / 1.227 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002462/1.006, allocations: 0.7302 MB / 1.228 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007291/1.007, allocations: 208.5 kB / 1.228 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of SimCode: time 1.212e-06/1.007, allocations: 0 / 1.228 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of Templates: time 0.08708/1.094, allocations: 49.48 MB / 1.276 GB, free: 10.71 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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: 10.715873562032357]