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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 99.86 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.001225/0.001225, allocations: 177.3 kB / 15.94 MB, free: 228 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.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 12 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7374, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9523/1.69, allocations: 254.2 MB / 1.269 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02707/1.717, allocations: 18.59 MB / 1.287 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/1.72, allocations: 74.56 kB / 1.287 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005244/1.726, allocations: 1.877 MB / 1.289 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01876/1.745, allocations: 5.484 MB / 1.294 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01158/1.756, allocations: 2.453 MB / 1.297 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.011/1.767, allocations: 5.208 MB / 1.302 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005173/1.772, allocations: 2.397 MB / 1.304 GB, free: 23.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007908/1.78, allocations: 2.796 MB / 1.307 GB, free: 23.47 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/1.786, allocations: 2.09 MB / 1.309 GB, free: 23.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001061/1.787, allocations: 198 kB / 1.309 GB, free: 23.46 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/1.798, allocations: 2.767 MB / 1.312 GB, free: 23.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0025/1.801, allocations: 1.329 MB / 1.313 GB, free: 23.45 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002435/1.803, allocations: 0.8045 MB / 1.314 GB, free: 23.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009902/1.813, allocations: 4.878 MB / 1.319 GB, free: 23.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.813, allocations: 1.75 kB / 1.319 GB, free: 23.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.007e-06/1.813, allocations: 0 / 1.319 GB, free: 23.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001911/1.813, allocations: 2.906 kB / 1.319 GB, free: 23.04 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01433/1.828, allocations: 4.211 MB / 1.323 GB, free: 21.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.828, allocations: 11.31 kB / 1.323 GB, free: 21.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/1.835, allocations: 1.026 MB / 1.324 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005721/1.841, allocations: 2.087 MB / 1.326 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/1.841, allocations: 243.6 kB / 1.326 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007025/1.842, allocations: 323.6 kB / 1.326 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007245/1.849, allocations: 4.191 MB / 1.331 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.391e-05/1.849, allocations: 9.531 kB / 1.331 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/1.85, allocations: 137.4 kB / 1.331 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/1.85, allocations: 167.2 kB / 1.331 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0082/1.858, allocations: 4.755 MB / 1.336 GB, free: 20.19 MB / 1.014 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.0214/1.88, allocations: 14.39 MB / 1.35 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005551/1.885, allocations: 4.524 MB / 1.354 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/1.887, allocations: 1.533 MB / 1.355 GB, free: 9.406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.066e-05/1.887, allocations: 82.33 kB / 1.356 GB, free: 9.359 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 5.561e-06/1.887, allocations: 0 / 1.356 GB, free: 9.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.008961/1.896, allocations: 5.503 MB / 1.361 GB, free: 8.453 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/1.896, allocations: 93.33 kB / 1.361 GB, free: 8.387 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/1.899, allocations: 1.67 MB / 1.363 GB, free: 7.902 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003427/1.899, allocations: 96.55 kB / 1.363 GB, free: 7.867 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007846/1.9, allocations: 1.132 MB / 1.364 GB, free: 7.324 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.901, allocations: 1.318 MB / 1.365 GB, free: 6.352 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/1.901, allocations: 66.62 kB / 1.365 GB, free: 6.352 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002457/1.902, allocations: 441.5 kB / 1.366 GB, free: 6.004 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/1.904, allocations: 1.549 MB / 1.367 GB, free: 5.766 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/1.906, allocations: 1.893 MB / 1.369 GB, free: 5.281 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/1.909, allocations: 1.829 MB / 1.371 GB, free: 5.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/1.909, allocations: 7.141 kB / 1.371 GB, free: 5.066 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006271/1.915, allocations: 4.147 MB / 1.375 GB, free: 4.383 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.915, allocations: 6 kB / 1.375 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.915, allocations: 6.156 kB / 1.375 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/1.915, allocations: 18.09 kB / 1.375 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002926/1.918, allocations: 0.7002 MB / 1.376 GB, free: 4.297 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.456e-05/1.918, allocations: 27.52 kB / 1.376 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/1.923, allocations: 476 kB / 1.376 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/1.923, allocations: 113.8 kB / 1.376 GB, free: 4.055 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001837/1.925, allocations: 0.8034 MB / 1.377 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008524/1.925, allocations: 291.6 kB / 1.377 GB, free: 3.703 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006646/1.932, allocations: 4.417 MB / 1.382 GB, free: 2.852 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/1.932, allocations: 42.73 kB / 1.382 GB, free: 2.848 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.932, allocations: 0 / 1.382 GB, free: 2.848 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005352/1.938, allocations: 3.772 MB / 1.385 GB, free: 1.211 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.952, allocations: 8.615 MB / 1.394 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.953, allocations: 0 / 1.394 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.956, allocations: 0.7208 MB / 1.394 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.369e-05/1.956, allocations: 16 kB / 1.394 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/1.956, allocations: 86.97 kB / 1.394 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/1.956, allocations: 16 kB / 1.394 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.956, allocations: 6.438 kB / 1.394 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009603/1.966, allocations: 6.692 MB / 1.401 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/1.968, allocations: 0.7943 MB / 1.402 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/1.969, allocations: 78.67 kB / 1.402 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.971, allocations: 269.9 kB / 1.402 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004129/1.972, allocations: 238.6 kB / 1.402 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.972, allocations: 115.9 kB / 1.402 GB, free: 4.723 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001601/1.974, allocations: 1.135 MB / 1.404 GB, free: 3.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.974, allocations: 5.859 kB / 1.404 GB, free: 3.875 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003059/1.977, allocations: 1.227 MB / 1.405 GB, free: 2.762 MB / 1.029 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 (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.0009559/1.978, allocations: 462 kB / 1.405 GB, free: 2.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005866/1.984, allocations: 3.902 MB / 1.409 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.984, allocations: 2.531 kB / 1.409 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00313/1.987, allocations: 2.137 MB / 1.411 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007007/1.994, allocations: 1.479 MB / 1.413 GB, free: 13.12 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/2.007, allocations: 9.209 MB / 1.422 GB, free: 4.836 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/2.009, allocations: 2.265 MB / 1.424 GB, free: 2.648 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00487/2.013, allocations: 1.212 MB / 1.425 GB, free: 1.43 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009895/2.014, allocations: 267.6 kB / 1.425 GB, free: 1.18 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/2.014, allocations: 0 / 1.425 GB, free: 1.18 MB / 1.045 GB Notification: Performance of Templates: time 0.09723/2.112, allocations: 56.83 MB / 1.481 GB, free: 9.23 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches