Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001373/0.001373, 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.001653/0.001653, 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.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.323/2.323, allocations: 390.2 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5894, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.2575/0.847, allocations: 254.2 MB / 1.202 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02574/0.8728, allocations: 18.59 MB / 1.22 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/0.8761, allocations: 75.56 kB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005785/0.8819, allocations: 1.871 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01559/0.8975, allocations: 5.48 MB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006753/0.9043, allocations: 2.465 MB / 1.23 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008127/0.9124, allocations: 5.208 MB / 1.235 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/0.9165, allocations: 2.393 MB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.9225, allocations: 2.804 MB / 1.24 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003827/0.9263, allocations: 2.083 MB / 1.242 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.9274, allocations: 196 kB / 1.242 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008484/0.9359, allocations: 2.773 MB / 1.245 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.938, allocations: 1.329 MB / 1.246 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.9402, allocations: 0.7966 MB / 1.247 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5964/1.537, allocations: 4.877 MB / 1.251 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.537, allocations: 0 / 1.251 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.306e-06/1.537, allocations: 0 / 1.251 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002432/1.537, allocations: 1.188 kB / 1.251 GB, free: 19.16 MB / 0.9981 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.01475/1.552, allocations: 4.216 MB / 1.256 GB, free: 17.42 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.552, allocations: 9.469 kB / 1.256 GB, free: 17.42 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008311/1.56, allocations: 1.023 MB / 1.257 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00849/1.569, allocations: 2.082 MB / 1.259 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005031/1.569, allocations: 242.8 kB / 1.259 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/1.571, allocations: 329 kB / 1.259 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/1.583, allocations: 4.193 MB / 1.263 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/1.584, allocations: 6.094 kB / 1.263 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004694/1.584, allocations: 138.2 kB / 1.263 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/1.584, allocations: 171.8 kB / 1.264 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/1.595, allocations: 4.751 MB / 1.268 GB, free: 16.35 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.0218/1.616, allocations: 14.39 MB / 1.282 GB, free: 25.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00608/1.622, allocations: 4.526 MB / 1.287 GB, free: 25.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/1.624, allocations: 1.531 MB / 1.288 GB, free: 24.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/1.624, allocations: 79.33 kB / 1.288 GB, free: 24.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 6.262e-06/1.624, allocations: 4 kB / 1.288 GB, free: 24.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.009758/1.634, allocations: 5.5 MB / 1.294 GB, free: 23.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/1.634, allocations: 97 kB / 1.294 GB, free: 23.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/1.637, allocations: 1.667 MB / 1.295 GB, free: 23.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003513/1.637, allocations: 95.2 kB / 1.295 GB, free: 23.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007538/1.638, allocations: 1.135 MB / 1.297 GB, free: 23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.639, allocations: 1.324 MB / 1.298 GB, free: 22.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.639, allocations: 67 kB / 1.298 GB, free: 22.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002498/1.64, allocations: 438.3 kB / 1.298 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/1.642, allocations: 1.556 MB / 1.3 GB, free: 21.81 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/1.645, allocations: 1.883 MB / 1.302 GB, free: 21.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/1.648, allocations: 1.832 MB / 1.303 GB, free: 21.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/1.648, allocations: 0 / 1.303 GB, free: 21.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006601/1.654, allocations: 4.15 MB / 1.308 GB, free: 21.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.654, allocations: 6.531 kB / 1.308 GB, free: 21.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/1.654, allocations: 3.344 kB / 1.308 GB, free: 21.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.907e-05/1.654, allocations: 20.47 kB / 1.308 GB, free: 21.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/1.658, allocations: 0.6929 MB / 1.308 GB, free: 21.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.474e-05/1.658, allocations: 20.16 kB / 1.308 GB, free: 21.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/1.661, allocations: 488 kB / 1.309 GB, free: 21.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/1.662, allocations: 112.2 kB / 1.309 GB, free: 21.1 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.001612/1.663, allocations: 0.7998 MB / 1.31 GB, free: 20.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008167/1.664, allocations: 293.4 kB / 1.31 GB, free: 20.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007054/1.671, allocations: 4.422 MB / 1.314 GB, free: 20.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/1.671, allocations: 36.69 kB / 1.314 GB, free: 20.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/1.671, allocations: 7.125 kB / 1.314 GB, free: 20.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005159/1.676, allocations: 3.775 MB / 1.318 GB, free: 20.26 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.691, allocations: 8.612 MB / 1.326 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.691, allocations: 2.656 kB / 1.326 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/1.695, allocations: 0.7182 MB / 1.327 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-05/1.695, allocations: 19.19 kB / 1.327 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004513/1.695, allocations: 86.69 kB / 1.327 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.199e-05/1.695, allocations: 16.12 kB / 1.327 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.695, allocations: 1.688 kB / 1.327 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.706, allocations: 6.7 MB / 1.334 GB, free: 18.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002572/1.708, allocations: 0.7986 MB / 1.334 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008874/1.709, allocations: 70.97 kB / 1.335 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003325/1.712, allocations: 263.1 kB / 1.335 GB, free: 18.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/1.713, allocations: 241.7 kB / 1.335 GB, free: 18.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003019/1.713, allocations: 118.2 kB / 1.335 GB, free: 18.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001839/1.715, allocations: 1.138 MB / 1.336 GB, free: 18.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.715, allocations: 3.281 kB / 1.336 GB, free: 18.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003704/1.719, allocations: 1.226 MB / 1.337 GB, free: 18.05 MB / 1.014 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.001142/1.72, allocations: 472.1 kB / 1.338 GB, free: 17.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006112/1.726, allocations: 3.898 MB / 1.342 GB, free: 17.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.726, allocations: 0 / 1.342 GB, free: 17.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/1.729, allocations: 2.137 MB / 1.344 GB, free: 17.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007635/1.737, allocations: 1.484 MB / 1.345 GB, free: 17.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.751, allocations: 9.19 MB / 1.354 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/1.753, allocations: 2.27 MB / 1.356 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00598/1.759, allocations: 1.21 MB / 1.358 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/1.761, allocations: 268.4 kB / 1.358 GB, free: 12.53 MB / 1.014 GB Notification: Performance of SimCode: time 1.222e-06/1.761, allocations: 2.734 kB / 1.358 GB, free: 12.53 MB / 1.014 GB Notification: Performance of Templates: time 0.09267/1.854, allocations: 56.83 MB / 1.413 GB, free: 7.391 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches