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.00154/0.001541, allocations: 102.9 kB / 16.27 MB, free: 5.996 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.001621/0.001621, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.229/2.229, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.31 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3833, allocations: 140.4 MB / 0.9503 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.326/1.709, allocations: 314.1 MB / 1.257 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0355/1.745, allocations: 18.47 MB / 1.275 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007299/1.752, allocations: 87.31 kB / 1.275 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.008429/1.76, allocations: 2.155 MB / 1.277 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.02656/1.787, allocations: 7.312 MB / 1.284 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/1.799, allocations: 3.21 MB / 1.288 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01597/1.815, allocations: 9.104 MB / 1.296 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006303/1.821, allocations: 3.104 MB / 1.299 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009821/1.831, allocations: 3.294 MB / 1.303 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008473/1.84, allocations: 3.237 MB / 1.306 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001971/1.842, allocations: 404 kB / 1.306 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/1.862, allocations: 6.995 MB / 1.313 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003698/1.866, allocations: 1.683 MB / 1.315 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006974/1.873, allocations: 2.307 MB / 1.317 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02377/1.897, allocations: 8.13 MB / 1.325 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/1.897, allocations: 0 / 1.325 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.437e-06/1.897, allocations: 0 / 1.325 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002665/1.897, allocations: 0 / 1.325 GB, free: 1.707 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.01801/1.915, allocations: 4.993 MB / 1.33 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/1.915, allocations: 8.031 kB / 1.33 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007731/1.923, allocations: 1.018 MB / 1.331 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005916/1.929, allocations: 2.154 MB / 1.333 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/1.929, allocations: 246.4 kB / 1.333 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008525/1.93, allocations: 327.9 kB / 1.333 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008543/1.938, allocations: 4.243 MB / 1.338 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-05/1.939, allocations: 3.906 kB / 1.338 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003544/1.939, allocations: 136 kB / 1.338 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/1.939, allocations: 170.3 kB / 1.338 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008856/1.948, allocations: 4.783 MB / 1.343 GB, free: 15.42 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.02608/1.974, allocations: 14.53 MB / 1.357 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008031/1.982, allocations: 4.56 MB / 1.361 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004517/1.987, allocations: 2.452 MB / 1.364 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002071/1.989, allocations: 1.608 MB / 1.365 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.154e-05/1.989, allocations: 77.64 kB / 1.365 GB, free: 6.859 MB / 1.029 GB Notification: Performance of pre-optimization done (n=392): time 6.061e-06/1.989, allocations: 0 / 1.365 GB, free: 6.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=392): time 0.01222/2.001, allocations: 5.531 MB / 1.371 GB, free: 1.305 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/2.001, allocations: 90.48 kB / 1.371 GB, free: 1.203 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/2.005, allocations: 1.686 MB / 1.372 GB, free: 15.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005966/2.006, allocations: 93.7 kB / 1.372 GB, free: 15.38 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/2.007, allocations: 1.136 MB / 1.374 GB, free: 14.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001881/2.009, allocations: 1.32 MB / 1.375 GB, free: 12.89 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/2.01, allocations: 0.5507 MB / 1.375 GB, free: 12.33 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001355/2.01, allocations: 305.1 kB / 1.376 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003004/2.013, allocations: 1.572 MB / 1.377 GB, free: 10.46 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/2.017, allocations: 1.912 MB / 1.379 GB, free: 8.477 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008299/2.025, allocations: 3.762 MB / 1.383 GB, free: 4.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.213e-05/2.025, allocations: 4 kB / 1.383 GB, free: 4.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009672/2.035, allocations: 4.178 MB / 1.387 GB, free: 432 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/2.035, allocations: 8 kB / 1.387 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/2.035, allocations: 4 kB / 1.387 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/2.035, allocations: 23.94 kB / 1.387 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/2.038, allocations: 0.6905 MB / 1.388 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/2.039, allocations: 24.64 kB / 1.388 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/2.042, allocations: 261.1 kB / 1.388 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004542/2.043, allocations: 120 kB / 1.388 GB, free: 15.3 MB / 1.061 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.00254/2.045, allocations: 0.7937 MB / 1.389 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/2.047, allocations: 296.5 kB / 1.389 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009237/2.056, allocations: 4.434 MB / 1.393 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/2.056, allocations: 43.98 kB / 1.393 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/2.056, allocations: 0 / 1.393 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006606/2.063, allocations: 3.792 MB / 1.397 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/2.081, allocations: 8.641 MB / 1.405 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/2.081, allocations: 4 kB / 1.405 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003729/2.085, allocations: 0.7217 MB / 1.406 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-05/2.085, allocations: 16 kB / 1.406 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004195/2.085, allocations: 87.97 kB / 1.406 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.065e-05/2.086, allocations: 20.06 kB / 1.406 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/2.086, allocations: 3.938 kB / 1.406 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/2.098, allocations: 6.566 MB / 1.413 GB, free: 5.512 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/2.101, allocations: 0.7972 MB / 1.414 GB, free: 4.691 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/2.102, allocations: 72 kB / 1.414 GB, free: 4.621 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/2.106, allocations: 93.03 kB / 1.414 GB, free: 4.531 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/2.106, allocations: 230.6 kB / 1.414 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003498/2.107, allocations: 112 kB / 1.414 GB, free: 4.195 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002914/2.11, allocations: 1.157 MB / 1.415 GB, free: 3.016 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.21e-07/2.11, allocations: 0 / 1.415 GB, free: 3.016 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005616/2.115, allocations: 1.228 MB / 1.416 GB, free: 1.785 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.001674/2.117, allocations: 464.4 kB / 1.417 GB, free: 1.328 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02376/2.141, allocations: 9.834 MB / 1.426 GB, free: 7.477 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/2.141, allocations: 0 / 1.426 GB, free: 7.477 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004668/2.145, allocations: 2.15 MB / 1.428 GB, free: 5.328 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/2.156, allocations: 1.618 MB / 1.43 GB, free: 3.75 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/2.175, allocations: 7.912 MB / 1.438 GB, free: 11.76 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003319/2.179, allocations: 2.205 MB / 1.44 GB, free: 9.52 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/2.181, allocations: 307.4 kB / 1.44 GB, free: 9.219 MB / 1.107 GB Notification: Performance of SimCode: time 2.174e-06/2.181, allocations: 3.938 kB / 1.44 GB, free: 9.215 MB / 1.107 GB Notification: Performance of Templates: time 0.104/2.285, allocations: 54.4 MB / 1.493 GB, free: 3.07 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