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.001387/0.001387, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 202 kB / 16.79 MB, free: 6.828 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.471/1.471, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.448/2.448, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7932, allocations: 140.4 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.128/1.921, allocations: 312 MB / 1.254 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02892/1.95, allocations: 18.68 MB / 1.272 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006038/1.956, allocations: 78.12 kB / 1.273 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006843/1.963, allocations: 1.876 MB / 1.274 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02167/1.985, allocations: 6.903 MB / 1.281 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009784/1.995, allocations: 2.923 MB / 1.284 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01864/2.014, allocations: 13.13 MB / 1.297 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006234/2.02, allocations: 2.648 MB / 1.299 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009899/2.03, allocations: 2.892 MB / 1.302 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009975/2.04, allocations: 3.364 MB / 1.306 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002215/2.042, allocations: 226.3 kB / 1.306 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02095/2.063, allocations: 8.133 MB / 1.314 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005009/2.068, allocations: 1.52 MB / 1.315 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009242/2.077, allocations: 2.125 MB / 1.317 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.014/2.091, allocations: 5.997 MB / 1.323 GB, free: 324 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/2.091, allocations: 0 / 1.323 GB, free: 324 kB / 0.9981 GB Notification: Performance of FrontEnd: time 3.506e-06/2.091, allocations: 2.844 kB / 1.323 GB, free: 324 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003199/2.092, allocations: 0 / 1.323 GB, free: 324 kB / 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.02257/2.114, allocations: 4.992 MB / 1.328 GB, free: 14.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/2.114, allocations: 7.969 kB / 1.328 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00901/2.123, allocations: 1.013 MB / 1.329 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006737/2.13, allocations: 2.156 MB / 1.331 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/2.13, allocations: 250 kB / 1.331 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/2.132, allocations: 330.4 kB / 1.332 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008057/2.14, allocations: 4.234 MB / 1.336 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.631e-05/2.14, allocations: 10.34 kB / 1.336 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/2.14, allocations: 131.6 kB / 1.336 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/2.14, allocations: 175.2 kB / 1.336 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008338/2.149, allocations: 4.783 MB / 1.341 GB, free: 11.96 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.02552/2.174, allocations: 14.36 MB / 1.355 GB, free: 3.242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006714/2.181, allocations: 4.565 MB / 1.359 GB, free: 2.609 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/2.185, allocations: 2.453 MB / 1.362 GB, free: 2.266 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/2.187, allocations: 1.609 MB / 1.363 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/2.187, allocations: 86 kB / 1.363 GB, free: 468 kB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 5.08e-06/2.187, allocations: 0 / 1.363 GB, free: 468 kB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.009625/2.196, allocations: 5.528 MB / 1.369 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/2.197, allocations: 101 kB / 1.369 GB, free: 15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/2.2, allocations: 1.679 MB / 1.37 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004006/2.2, allocations: 93.7 kB / 1.37 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009282/2.201, allocations: 1.134 MB / 1.372 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/2.202, allocations: 1.324 MB / 1.373 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009022/2.203, allocations: 0.543 MB / 1.373 GB, free: 10.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001177/2.203, allocations: 305.1 kB / 1.374 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/2.206, allocations: 1.564 MB / 1.375 GB, free: 8.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002911/2.209, allocations: 1.918 MB / 1.377 GB, free: 6.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0058/2.215, allocations: 3.762 MB / 1.381 GB, free: 2.902 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/2.215, allocations: 0 / 1.381 GB, free: 2.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007989/2.223, allocations: 4.184 MB / 1.385 GB, free: 14.72 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/2.223, allocations: 8.656 kB / 1.385 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/2.223, allocations: 4 kB / 1.385 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/2.223, allocations: 27.94 kB / 1.385 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/2.226, allocations: 0.688 MB / 1.386 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.815e-05/2.226, allocations: 30.41 kB / 1.386 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/2.23, allocations: 480.8 kB / 1.386 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/2.231, allocations: 116 kB / 1.386 GB, free: 13.42 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.00216/2.233, allocations: 0.7976 MB / 1.387 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/2.234, allocations: 296.5 kB / 1.387 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008197/2.242, allocations: 4.431 MB / 1.392 GB, free: 7.895 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.479e-05/2.242, allocations: 36 kB / 1.392 GB, free: 7.859 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/2.242, allocations: 4 kB / 1.392 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006101/2.248, allocations: 3.788 MB / 1.395 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/2.266, allocations: 8.635 MB / 1.404 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/2.266, allocations: 4 kB / 1.404 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003434/2.27, allocations: 0.7287 MB / 1.404 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-05/2.27, allocations: 19.94 kB / 1.404 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003073/2.27, allocations: 87.97 kB / 1.405 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.058e-05/2.27, allocations: 16 kB / 1.405 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/2.27, allocations: 0 / 1.405 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/2.281, allocations: 6.572 MB / 1.411 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/2.284, allocations: 0.7972 MB / 1.412 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/2.285, allocations: 71.94 kB / 1.412 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003824/2.289, allocations: 272.2 kB / 1.412 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005858/2.289, allocations: 229.3 kB / 1.412 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002799/2.289, allocations: 120 kB / 1.412 GB, free: 2.355 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00198/2.291, allocations: 1.149 MB / 1.414 GB, free: 1.184 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/2.291, allocations: 0 / 1.414 GB, free: 1.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004518/2.296, allocations: 1.236 MB / 1.415 GB, free: 15.94 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.001177/2.297, allocations: 468.5 kB / 1.415 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006855/2.304, allocations: 3.927 MB / 1.419 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/2.304, allocations: 0 / 1.419 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/2.308, allocations: 2.153 MB / 1.421 GB, free: 9.586 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008917/2.317, allocations: 1.518 MB / 1.423 GB, free: 8.082 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/2.332, allocations: 9.342 MB / 1.432 GB, free: 14.69 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/2.334, allocations: 2.2 MB / 1.434 GB, free: 12.45 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/2.336, allocations: 311.4 kB / 1.434 GB, free: 12.15 MB / 1.092 GB Notification: Performance of SimCode: time 1.513e-06/2.336, allocations: 0 / 1.434 GB, free: 12.15 MB / 1.092 GB Notification: Performance of Templates: time 0.08917/2.426, allocations: 54.41 MB / 1.487 GB, free: 6.113 MB / 1.139 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