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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001801/0.001802, allocations: 108.2 kB / 15.99 MB, free: 6.348 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.001945/0.001945, allocations: 191.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.2 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 66.38 kB / 0.8127 GB, free: 32.39 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.072/1.389, allocations: 310.6 MB / 1.253 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02921/1.419, allocations: 18.39 MB / 1.271 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005822/1.425, allocations: 78.53 kB / 1.271 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006378/1.431, allocations: 1.928 MB / 1.273 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.02213/1.453, allocations: 6.893 MB / 1.28 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/1.463, allocations: 2.956 MB / 1.283 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01419/1.477, allocations: 9.104 MB / 1.291 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004969/1.482, allocations: 3.042 MB / 1.294 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00854/1.491, allocations: 3.356 MB / 1.298 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008705/1.5, allocations: 3.436 MB / 1.301 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001944/1.502, allocations: 408 kB / 1.301 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02061/1.522, allocations: 7.294 MB / 1.309 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003779/1.526, allocations: 1.691 MB / 1.31 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.006482/1.533, allocations: 2.303 MB / 1.312 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01298/1.546, allocations: 6.05 MB / 1.318 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/1.546, allocations: 0 / 1.318 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.284e-06/1.546, allocations: 3.938 kB / 1.318 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002691/1.546, allocations: 0 / 1.318 GB, free: 8.23 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01854/1.565, allocations: 4.993 MB / 1.323 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.565, allocations: 12.03 kB / 1.323 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007943/1.573, allocations: 1.01 MB / 1.324 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00603/1.579, allocations: 2.162 MB / 1.326 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/1.579, allocations: 250.4 kB / 1.327 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/1.58, allocations: 331.9 kB / 1.327 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/1.592, allocations: 4.235 MB / 1.331 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/1.592, allocations: 11.89 kB / 1.331 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007832/1.593, allocations: 132 kB / 1.331 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/1.593, allocations: 162.4 kB / 1.331 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009734/1.602, allocations: 4.787 MB / 1.336 GB, free: 5.938 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.02407/1.627, allocations: 14.37 MB / 1.35 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00691/1.634, allocations: 4.554 MB / 1.355 GB, free: 2.027 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004019/1.638, allocations: 2.452 MB / 1.357 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/1.64, allocations: 1.612 MB / 1.358 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/1.64, allocations: 80.11 kB / 1.359 GB, free: 13.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=392): time 9.087e-06/1.64, allocations: 0 / 1.359 GB, free: 13.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=392): time 0.01172/1.652, allocations: 5.535 MB / 1.364 GB, free: 7.984 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/1.652, allocations: 94.48 kB / 1.364 GB, free: 7.879 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/1.656, allocations: 1.684 MB / 1.366 GB, free: 6.152 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004047/1.656, allocations: 93.7 kB / 1.366 GB, free: 6.055 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/1.657, allocations: 1.128 MB / 1.367 GB, free: 4.914 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001827/1.659, allocations: 1.32 MB / 1.368 GB, free: 3.574 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/1.661, allocations: 0.5546 MB / 1.369 GB, free: 3.012 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.661, allocations: 305.1 kB / 1.369 GB, free: 2.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/1.664, allocations: 1.56 MB / 1.371 GB, free: 1.148 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/1.667, allocations: 1.923 MB / 1.372 GB, free: 15.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006875/1.674, allocations: 3.758 MB / 1.376 GB, free: 11.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/1.674, allocations: 4 kB / 1.376 GB, free: 11.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009017/1.683, allocations: 4.181 MB / 1.38 GB, free: 7.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/1.683, allocations: 4.656 kB / 1.38 GB, free: 7.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/1.683, allocations: 12 kB / 1.38 GB, free: 7.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.829e-05/1.683, allocations: 16 kB / 1.38 GB, free: 7.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/1.687, allocations: 0.6982 MB / 1.381 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-05/1.687, allocations: 31.91 kB / 1.381 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/1.691, allocations: 468.9 kB / 1.381 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003758/1.692, allocations: 116 kB / 1.381 GB, free: 5.766 MB / 1.045 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002007/1.694, allocations: 0.8054 MB / 1.382 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.695, allocations: 288.5 kB / 1.383 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007964/1.703, allocations: 4.433 MB / 1.387 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/1.703, allocations: 36 kB / 1.387 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/1.703, allocations: 4 kB / 1.387 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005685/1.708, allocations: 3.792 MB / 1.391 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.724, allocations: 8.644 MB / 1.399 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.724, allocations: 0 / 1.399 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003376/1.728, allocations: 0.7259 MB / 1.4 GB, free: 2.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.02e-05/1.728, allocations: 12 kB / 1.4 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003079/1.728, allocations: 87.97 kB / 1.4 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.601e-05/1.728, allocations: 16 kB / 1.4 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.728, allocations: 4 kB / 1.4 GB, free: 2.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.739, allocations: 6.566 MB / 1.406 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.741, allocations: 0.7972 MB / 1.407 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007793/1.742, allocations: 72 kB / 1.407 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003189/1.745, allocations: 271.4 kB / 1.407 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/1.745, allocations: 234.5 kB / 1.408 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002787/1.746, allocations: 119.9 kB / 1.408 GB, free: 10.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002226/1.748, allocations: 1.157 MB / 1.409 GB, free: 9.301 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.748, allocations: 0 / 1.409 GB, free: 9.301 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003549/1.751, allocations: 1.228 MB / 1.41 GB, free: 8.07 MB / 1.076 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 (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.001126/1.753, allocations: 476.7 kB / 1.411 GB, free: 7.602 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02321/1.776, allocations: 9.838 MB / 1.42 GB, free: 13.75 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.776, allocations: 320 / 1.42 GB, free: 13.75 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004302/1.78, allocations: 2.152 MB / 1.422 GB, free: 11.6 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008923/1.789, allocations: 1.6 MB / 1.424 GB, free: 10.03 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/1.807, allocations: 9.33 MB / 1.433 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/1.81, allocations: 2.209 MB / 1.435 GB, free: 14.38 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002369/1.812, allocations: 311.4 kB / 1.435 GB, free: 14.07 MB / 1.107 GB Notification: Performance of SimCode: time 1.072e-06/1.812, allocations: 0 / 1.435 GB, free: 14.07 MB / 1.107 GB Notification: Performance of Templates: time 0.09197/1.904, allocations: 54.39 MB / 1.488 GB, free: 7.93 MB / 1.154 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches