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.001535/0.001535, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001739/0.001739, allocations: 173 kB / 23.49 MB, free: 1.055 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.9176/0.9176, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.989/1.989, allocations: 429.5 MB / 0.6736 GB, free: 4.066 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.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 4 kB / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.709e-05, allocations: 3.531 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6251/0.6251, allocations: 296 MB / 1.167 GB, free: 41.13 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01804/0.6431, allocations: 17.66 MB / 1.184 GB, free: 30.36 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.6456, allocations: 109 kB / 1.185 GB, free: 30.36 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.6487, allocations: 1.813 MB / 1.186 GB, free: 29.77 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.66, allocations: 6.974 MB / 1.193 GB, free: 26.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004998/0.665, allocations: 3.055 MB / 1.196 GB, free: 24.94 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.005977/0.671, allocations: 8.019 MB / 1.204 GB, free: 21.22 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.6732, allocations: 2.061 MB / 1.206 GB, free: 19.94 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004489/0.6777, allocations: 4.143 MB / 1.21 GB, free: 18.23 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.6806, allocations: 2.594 MB / 1.213 GB, free: 17.42 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.681, allocations: 337.5 kB / 1.213 GB, free: 17.42 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007548/0.6885, allocations: 5.164 MB / 1.218 GB, free: 15.54 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0009469/0.6895, allocations: 1.455 MB / 1.219 GB, free: 14.8 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.6908, allocations: 1.384 MB / 1.221 GB, free: 14.25 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.007245/0.698, allocations: 5.535 MB / 1.226 GB, free: 12.32 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.698, allocations: 0 / 1.226 GB, free: 12.32 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.482e-06/0.698, allocations: 0 / 1.226 GB, free: 12.32 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.508e-05/0.698, allocations: 4 kB / 1.226 GB, free: 12.31 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.005035/0.7031, allocations: 4.179 MB / 1.23 GB, free: 9.938 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7031, allocations: 13.5 kB / 1.23 GB, free: 9.934 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006482/0.7096, allocations: 2.053 MB / 1.232 GB, free: 9.395 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.7116, allocations: 1.847 MB / 1.234 GB, free: 8.484 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/0.7117, allocations: 195.9 kB / 1.234 GB, free: 8.395 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.712, allocations: 269.3 kB / 1.234 GB, free: 8.309 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.7152, allocations: 2.974 MB / 1.237 GB, free: 6.801 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.7152, allocations: 13.59 kB / 1.237 GB, free: 6.793 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.7154, allocations: 107.9 kB / 1.237 GB, free: 6.711 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.7155, allocations: 158.1 kB / 1.238 GB, free: 6.676 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.7184, allocations: 1.971 MB / 1.24 GB, free: 5.961 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.007717/0.7261, allocations: 8.45 MB / 1.248 GB, free: 15.83 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.729, allocations: 2.396 MB / 1.25 GB, free: 14.91 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.7305, allocations: 1.109 MB / 1.251 GB, free: 14.54 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.7306, allocations: 54.7 kB / 1.251 GB, free: 14.53 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.7307, allocations: 73.69 kB / 1.251 GB, free: 14.46 MB / 1.026 GB Notification: Performance of pre-optimization done (n=278): time 4.829e-06/0.7307, allocations: 4 kB / 1.251 GB, free: 14.45 MB / 1.026 GB Notification: Performance of matching and sorting (n=278): time 0.003926/0.7346, allocations: 2.508 MB / 1.254 GB, free: 13.58 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.7346, allocations: 78.31 kB / 1.254 GB, free: 13.51 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.7357, allocations: 1.238 MB / 1.255 GB, free: 12.79 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.7359, allocations: 78.7 kB / 1.255 GB, free: 12.72 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/0.7364, allocations: 1.117 MB / 1.256 GB, free: 11.73 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005628/0.7369, allocations: 1.005 MB / 1.257 GB, free: 10.84 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005445/0.7375, allocations: 453.6 kB / 1.258 GB, free: 10.57 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7376, allocations: 476.8 kB / 1.258 GB, free: 10.1 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000978/0.7386, allocations: 0.6245 MB / 1.259 GB, free: 9.922 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.7398, allocations: 0.9812 MB / 1.26 GB, free: 9.395 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.742, allocations: 1.723 MB / 1.261 GB, free: 7.711 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.742, allocations: 0 / 1.261 GB, free: 7.711 MB / 1.026 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003063/0.7451, allocations: 2.207 MB / 1.264 GB, free: 5.492 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7451, allocations: 13.97 kB / 1.264 GB, free: 5.48 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.7451, allocations: 7.375 kB / 1.264 GB, free: 5.477 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.7451, allocations: 23.92 kB / 1.264 GB, free: 5.453 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.7468, allocations: 0.6154 MB / 1.264 GB, free: 4.867 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.7469, allocations: 18.62 kB / 1.264 GB, free: 4.852 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.7483, allocations: 274.4 kB / 1.264 GB, free: 4.582 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.7484, allocations: 91.97 kB / 1.265 GB, free: 4.492 MB / 1.026 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.0005732/0.749, allocations: 288.8 kB / 1.265 GB, free: 4.23 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.7494, allocations: 329.7 kB / 1.265 GB, free: 3.91 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.7497, allocations: 322.2 kB / 1.265 GB, free: 3.586 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.7498, allocations: 27.94 kB / 1.265 GB, free: 3.559 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/0.7498, allocations: 0 / 1.265 GB, free: 3.559 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002301/0.7521, allocations: 1.673 MB / 1.267 GB, free: 1.816 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/0.7576, allocations: 4.375 MB / 1.271 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.7576, allocations: 3.938 kB / 1.271 GB, free: 13.33 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.7593, allocations: 0.6218 MB / 1.272 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.7594, allocations: 12 kB / 1.272 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.7595, allocations: 63.97 kB / 1.272 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.7595, allocations: 14.5 kB / 1.272 GB, free: 12.65 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7595, allocations: 0 / 1.272 GB, free: 12.65 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003929/0.7634, allocations: 2.902 MB / 1.275 GB, free: 9.66 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.7642, allocations: 0.5757 MB / 1.275 GB, free: 9.082 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.7645, allocations: 51.98 kB / 1.276 GB, free: 9.031 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.7655, allocations: 127.9 kB / 1.276 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.7658, allocations: 173.8 kB / 1.276 GB, free: 8.734 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.766, allocations: 84.83 kB / 1.276 GB, free: 8.652 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000651/0.7666, allocations: 0.7488 MB / 1.277 GB, free: 7.906 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7666, allocations: 0 / 1.277 GB, free: 7.906 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001625/0.7682, allocations: 1.049 MB / 1.278 GB, free: 6.855 MB / 1.042 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.0004259/0.7687, allocations: 328.3 kB / 1.278 GB, free: 6.551 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00251/0.7712, allocations: 1.837 MB / 1.28 GB, free: 4.723 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7712, allocations: 4 kB / 1.28 GB, free: 4.719 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.7724, allocations: 1.009 MB / 1.281 GB, free: 3.75 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/0.7753, allocations: 1.353 MB / 1.282 GB, free: 2.438 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005984/0.7813, allocations: 5.219 MB / 1.287 GB, free: 13.16 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.7817, allocations: 0.6053 MB / 1.288 GB, free: 12.52 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001976/0.7836, allocations: 0.7888 MB / 1.289 GB, free: 11.73 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007174/0.7844, allocations: 220.4 kB / 1.289 GB, free: 11.51 MB / 1.057 GB Notification: Performance of SimCode: time 1.343e-06/0.7844, allocations: 0 / 1.289 GB, free: 11.51 MB / 1.057 GB Notification: Performance of Templates: time 0.05597/0.8403, allocations: 56.87 MB / 1.344 GB, free: 3.793 MB / 1.104 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.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.186121211852878]