Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 15.98 kB / 0.8145 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.63, allocations: 142.3 MB / 0.9535 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2374/0.8674, allocations: 239.4 MB / 1.187 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.891, allocations: 17.13 MB / 1.204 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.8942, allocations: 63.62 kB / 1.204 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005255/0.8995, allocations: 1.649 MB / 1.206 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01534/0.9148, allocations: 4.947 MB / 1.211 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00681/0.9217, allocations: 2.192 MB / 1.213 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009144/0.9308, allocations: 4.401 MB / 1.217 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/0.9343, allocations: 1.946 MB / 1.219 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.9398, allocations: 2.263 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.9434, allocations: 1.721 MB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008328/0.9443, allocations: 156 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00772/0.952, allocations: 2.43 MB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002896/0.9549, allocations: 1.048 MB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002973/0.9579, allocations: 0.6603 MB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008407/0.9664, allocations: 4.076 MB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9664, allocations: 4 kB / 1.231 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.185e-06/0.9664, allocations: 7.875 kB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001868/0.9666, allocations: 0 / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01067/0.9773, allocations: 3.457 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.9774, allocations: 8.031 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006823/0.9842, allocations: 0.9211 MB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.9885, allocations: 1.789 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.9886, allocations: 197 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004634/0.9891, allocations: 256 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005723/0.9948, allocations: 3.295 MB / 1.241 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.9949, allocations: 7.938 kB / 1.241 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.9952, allocations: 108 kB / 1.241 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.9954, allocations: 141 kB / 1.241 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005771/1.001, allocations: 3.482 MB / 1.244 GB, free: 5.543 MB / 0.9981 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.5789/1.58, allocations: 12.08 MB / 1.256 GB, free: 33.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/1.585, allocations: 3.488 MB / 1.259 GB, free: 32.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/1.586, allocations: 1.498 MB / 1.261 GB, free: 31.22 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/1.586, allocations: 67.56 kB / 1.261 GB, free: 31.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=278): time 4.278e-06/1.586, allocations: 0 / 1.261 GB, free: 31.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=278): time 0.006996/1.593, allocations: 3.867 MB / 1.265 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/1.593, allocations: 82.94 kB / 1.265 GB, free: 30.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.595, allocations: 1.363 MB / 1.266 GB, free: 30.69 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/1.595, allocations: 75.17 kB / 1.266 GB, free: 30.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/1.595, allocations: 0.9871 MB / 1.267 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/1.596, allocations: 0.9401 MB / 1.268 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/1.596, allocations: 50.06 kB / 1.268 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.596, allocations: 404.2 kB / 1.269 GB, free: 29.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.598, allocations: 1.082 MB / 1.27 GB, free: 29.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.6, allocations: 1.336 MB / 1.271 GB, free: 29.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/1.602, allocations: 1.28 MB / 1.272 GB, free: 29.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.602, allocations: 2 kB / 1.272 GB, free: 29.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004787/1.607, allocations: 2.942 MB / 1.275 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.607, allocations: 18.11 kB / 1.275 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.607, allocations: 4.781 kB / 1.275 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/1.607, allocations: 15.09 kB / 1.275 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/1.609, allocations: 0.5125 MB / 1.276 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/1.609, allocations: 17.44 kB / 1.276 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.612, allocations: 382.1 kB / 1.276 GB, free: 28.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/1.612, allocations: 82 kB / 1.276 GB, free: 28.81 MB / 0.9981 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 (311): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001088/1.613, allocations: 0.6434 MB / 1.277 GB, free: 28.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/1.613, allocations: 228.9 kB / 1.277 GB, free: 28.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/1.618, allocations: 3.108 MB / 1.28 GB, free: 28.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.618, allocations: 24.78 kB / 1.28 GB, free: 28.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/1.618, allocations: 6.406 kB / 1.28 GB, free: 28.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003097/1.621, allocations: 2.635 MB / 1.283 GB, free: 28.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00881/1.63, allocations: 6.182 MB / 1.289 GB, free: 27.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.63, allocations: 3.094 kB / 1.289 GB, free: 27.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/1.632, allocations: 0.5403 MB / 1.289 GB, free: 27.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/1.632, allocations: 11 kB / 1.289 GB, free: 27.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.632, allocations: 60.81 kB / 1.289 GB, free: 27.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/1.632, allocations: 10.91 kB / 1.289 GB, free: 27.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.632, allocations: 1.25 kB / 1.289 GB, free: 27.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/1.638, allocations: 4.536 MB / 1.294 GB, free: 27.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.64, allocations: 0.6101 MB / 1.294 GB, free: 26.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/1.64, allocations: 46.94 kB / 1.294 GB, free: 26.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.642, allocations: 236.1 kB / 1.294 GB, free: 26.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/1.642, allocations: 160 kB / 1.295 GB, free: 26.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.642, allocations: 82.55 kB / 1.295 GB, free: 26.94 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001148/1.644, allocations: 0.9342 MB / 1.296 GB, free: 26.83 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.644, allocations: 0 / 1.296 GB, free: 26.83 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002101/1.646, allocations: 0.9822 MB / 1.297 GB, free: 26.72 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000571/1.646, allocations: 378.2 kB / 1.297 GB, free: 26.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003662/1.65, allocations: 2.735 MB / 1.3 GB, free: 26.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.65, allocations: 0 / 1.3 GB, free: 26.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.652, allocations: 1.494 MB / 1.301 GB, free: 26.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005626/1.657, allocations: 1.249 MB / 1.302 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.668, allocations: 7.298 MB / 1.309 GB, free: 22.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.67, allocations: 1.948 MB / 1.311 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004082/1.674, allocations: 0.8382 MB / 1.312 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/1.675, allocations: 209.9 kB / 1.312 GB, free: 22.03 MB / 0.9981 GB Notification: Performance of SimCode: time 1.542e-06/1.675, allocations: 0 / 1.312 GB, free: 22.03 MB / 0.9981 GB Notification: Performance of Templates: time 0.06846/1.744, allocations: 45.61 MB / 1.357 GB, free: 3.262 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches