Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001539/0.001539, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002289/0.002289, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.562/1.562, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.989/2.989, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.4e-05, allocations: 2.281 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.141/1.141, allocations: 262.3 MB / 1.256 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02826/1.17, allocations: 16.05 MB / 1.272 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006316/1.176, allocations: 107.5 kB / 1.272 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006629/1.182, allocations: 1.819 MB / 1.274 GB, free: 15.58 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.02344/1.206, allocations: 6.961 MB / 1.281 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01126/1.217, allocations: 3.047 MB / 1.284 GB, free: 10.21 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01442/1.232, allocations: 8.005 MB / 1.291 GB, free: 6.441 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004679/1.236, allocations: 1.97 MB / 1.293 GB, free: 5.488 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01296/1.249, allocations: 4.125 MB / 1.297 GB, free: 3.719 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007481/1.257, allocations: 2.539 MB / 1.3 GB, free: 2.914 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001737/1.258, allocations: 331 kB / 1.3 GB, free: 2.914 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01639/1.275, allocations: 5.166 MB / 1.305 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003547/1.278, allocations: 1.442 MB / 1.307 GB, free: 240 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006655/1.285, allocations: 1.379 MB / 1.308 GB, free: 15.68 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02386/1.309, allocations: 7.029 MB / 1.315 GB, free: 11.4 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.309, allocations: 0 / 1.315 GB, free: 11.4 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.274e-06/1.309, allocations: 2.719 kB / 1.315 GB, free: 11.4 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002863/1.309, allocations: 4 kB / 1.315 GB, free: 11.4 MB / 1.107 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.01749/1.327, allocations: 4.106 MB / 1.319 GB, free: 8.609 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.327, allocations: 14.5 kB / 1.319 GB, free: 8.605 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/1.34, allocations: 1.584 MB / 1.32 GB, free: 7.867 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006504/1.347, allocations: 1.872 MB / 1.322 GB, free: 6.547 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/1.347, allocations: 202.3 kB / 1.322 GB, free: 6.453 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/1.348, allocations: 260.9 kB / 1.323 GB, free: 6.363 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/1.362, allocations: 4.259 MB / 1.327 GB, free: 3.555 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/1.362, allocations: 3.625 kB / 1.327 GB, free: 3.555 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/1.363, allocations: 101.9 kB / 1.327 GB, free: 3.477 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002414/1.363, allocations: 163 kB / 1.327 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/1.374, allocations: 4.254 MB / 1.331 GB, free: 1.328 MB / 1.107 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.02396/1.398, allocations: 8.717 MB / 1.34 GB, free: 8.539 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008879/1.407, allocations: 3.569 MB / 1.343 GB, free: 4.98 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005043/1.412, allocations: 2.009 MB / 1.345 GB, free: 2.969 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/1.413, allocations: 46.16 kB / 1.345 GB, free: 2.922 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.235e-05/1.413, allocations: 68.73 kB / 1.345 GB, free: 2.844 MB / 1.123 GB Notification: Performance of pre-optimization done (n=278): time 6.062e-06/1.413, allocations: 0 / 1.345 GB, free: 2.844 MB / 1.123 GB Notification: Performance of matching and sorting (n=278): time 0.01305/1.426, allocations: 4.788 MB / 1.35 GB, free: 14 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/1.426, allocations: 77.59 kB / 1.35 GB, free: 13.91 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/1.429, allocations: 1.321 MB / 1.351 GB, free: 12.58 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004807/1.429, allocations: 75.77 kB / 1.351 GB, free: 12.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.43, allocations: 1.055 MB / 1.352 GB, free: 11.44 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.432, allocations: 0.9875 MB / 1.353 GB, free: 10.44 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/1.433, allocations: 445.4 kB / 1.354 GB, free: 10 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.433, allocations: 301.1 kB / 1.354 GB, free: 9.703 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/1.437, allocations: 1.477 MB / 1.356 GB, free: 8.223 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/1.441, allocations: 1.763 MB / 1.357 GB, free: 6.395 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007395/1.448, allocations: 3.329 MB / 1.361 GB, free: 2.977 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/1.448, allocations: 11.94 kB / 1.361 GB, free: 2.965 MB / 1.139 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009211/1.457, allocations: 3.744 MB / 1.364 GB, free: 15.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/1.457, allocations: 9.719 kB / 1.364 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.457, allocations: 4 kB / 1.364 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.865e-05/1.458, allocations: 16 kB / 1.364 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/1.461, allocations: 0.6163 MB / 1.365 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.971e-05/1.461, allocations: 23.92 kB / 1.365 GB, free: 14.51 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/1.465, allocations: 264.4 kB / 1.365 GB, free: 14.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/1.465, allocations: 91.97 kB / 1.365 GB, free: 14.16 MB / 1.154 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.001861/1.467, allocations: 0.6499 MB / 1.366 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.468, allocations: 238.5 kB / 1.366 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/1.469, allocations: 330.2 kB / 1.366 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/1.469, allocations: 24 kB / 1.366 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/1.47, allocations: 3.984 kB / 1.366 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007382/1.477, allocations: 3.25 MB / 1.37 GB, free: 9.59 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.493, allocations: 6.351 MB / 1.376 GB, free: 3.141 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/1.493, allocations: 3.984 kB / 1.376 GB, free: 3.137 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004039/1.497, allocations: 0.6125 MB / 1.376 GB, free: 2.523 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.093e-05/1.497, allocations: 12 kB / 1.376 GB, free: 2.512 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003891/1.497, allocations: 67.95 kB / 1.376 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.891e-05/1.497, allocations: 11.94 kB / 1.376 GB, free: 2.434 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.497, allocations: 4 kB / 1.376 GB, free: 2.43 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.51, allocations: 5.609 MB / 1.382 GB, free: 12.74 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.513, allocations: 0.5835 MB / 1.383 GB, free: 12.15 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000972/1.514, allocations: 53.86 kB / 1.383 GB, free: 12.1 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/1.517, allocations: 133.9 kB / 1.383 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/1.518, allocations: 169.8 kB / 1.383 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/1.518, allocations: 83.95 kB / 1.383 GB, free: 11.72 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002144/1.52, allocations: 0.8895 MB / 1.384 GB, free: 10.84 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/1.52, allocations: 0 / 1.384 GB, free: 10.84 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004217/1.524, allocations: 1.049 MB / 1.385 GB, free: 9.785 MB / 1.17 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.0009097/1.525, allocations: 324.3 kB / 1.385 GB, free: 9.465 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008173/1.533, allocations: 3.33 MB / 1.388 GB, free: 6.105 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.533, allocations: 4.062 kB / 1.388 GB, free: 6.102 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00403/1.538, allocations: 1.706 MB / 1.39 GB, free: 4.391 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008087/1.546, allocations: 1.291 MB / 1.391 GB, free: 3.141 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.561, allocations: 6.196 MB / 1.397 GB, free: 12.89 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/1.564, allocations: 1.342 MB / 1.399 GB, free: 11.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.005434/1.569, allocations: 0.9333 MB / 1.4 GB, free: 10.56 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/1.571, allocations: 220.4 kB / 1.4 GB, free: 10.35 MB / 1.186 GB Notification: Performance of SimCode: time 1.823e-06/1.571, allocations: 0 / 1.4 GB, free: 10.35 MB / 1.186 GB Notification: Performance of Templates: time 0.1034/1.674, allocations: 56.18 MB / 1.455 GB, free: 3.164 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.84715411439538]