Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, 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.001984/0.001984, allocations: 197 kB / 16.79 MB, free: 6.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.378/2.378, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7473, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2984/1.046, allocations: 293 MB / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7825/1.828, allocations: 17.22 MB / 1.252 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004831/1.833, allocations: 72.16 kB / 1.253 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006179/1.839, allocations: 1.656 MB / 1.254 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01835/1.858, allocations: 6.072 MB / 1.26 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008791/1.867, allocations: 2.666 MB / 1.263 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01875/1.885, allocations: 11.2 MB / 1.274 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00509/1.891, allocations: 2.21 MB / 1.276 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008014/1.899, allocations: 2.424 MB / 1.278 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008334/1.907, allocations: 2.803 MB / 1.281 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001336/1.908, allocations: 183.2 kB / 1.281 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01814/1.926, allocations: 7.183 MB / 1.288 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003407/1.93, allocations: 1.201 MB / 1.289 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005865/1.936, allocations: 1.726 MB / 1.291 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/1.947, allocations: 5.064 MB / 1.296 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.947, allocations: 0 / 1.296 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.828e-06/1.947, allocations: 0 / 1.296 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001807/1.947, allocations: 6.438 kB / 1.296 GB, free: 1.312 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.015/1.962, allocations: 4.121 MB / 1.3 GB, free: 15.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.963, allocations: 8.375 kB / 1.3 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007004/1.97, allocations: 0.9185 MB / 1.301 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/1.974, allocations: 1.837 MB / 1.303 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/1.974, allocations: 195.7 kB / 1.303 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006555/1.975, allocations: 263.9 kB / 1.303 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007034/1.982, allocations: 3.333 MB / 1.306 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-05/1.982, allocations: 11.22 kB / 1.306 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/1.982, allocations: 112.2 kB / 1.306 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/1.982, allocations: 138.5 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/1.989, allocations: 3.497 MB / 1.31 GB, free: 14.6 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.01873/2.007, allocations: 12.09 MB / 1.322 GB, free: 8.578 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/2.012, allocations: 3.506 MB / 1.325 GB, free: 7.984 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/2.015, allocations: 1.812 MB / 1.327 GB, free: 7.941 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/2.017, allocations: 1.494 MB / 1.328 GB, free: 6.336 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.762e-05/2.017, allocations: 67.78 kB / 1.329 GB, free: 6.289 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 5.53e-06/2.017, allocations: 4 kB / 1.329 GB, free: 6.285 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.006943/2.024, allocations: 3.887 MB / 1.332 GB, free: 6.027 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/2.024, allocations: 79.19 kB / 1.332 GB, free: 5.961 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/2.026, allocations: 1.38 MB / 1.334 GB, free: 5.797 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002921/2.027, allocations: 78.2 kB / 1.334 GB, free: 5.766 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007788/2.027, allocations: 0.98 MB / 1.335 GB, free: 5.328 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/2.028, allocations: 0.9513 MB / 1.336 GB, free: 4.621 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006378/2.029, allocations: 402.1 kB / 1.336 GB, free: 4.562 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001184/2.029, allocations: 305.4 kB / 1.336 GB, free: 4.266 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/2.031, allocations: 1.099 MB / 1.337 GB, free: 4.102 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/2.033, allocations: 1.358 MB / 1.339 GB, free: 3.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/2.037, allocations: 2.647 MB / 1.341 GB, free: 3.285 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/2.037, allocations: 2.5 kB / 1.341 GB, free: 3.285 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005175/2.042, allocations: 2.974 MB / 1.344 GB, free: 2.766 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/2.042, allocations: 10.78 kB / 1.344 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/2.042, allocations: 9.594 kB / 1.344 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/2.042, allocations: 18.12 kB / 1.344 GB, free: 2.754 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/2.044, allocations: 0.5094 MB / 1.345 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.984e-05/2.044, allocations: 19.09 kB / 1.345 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/2.048, allocations: 377.6 kB / 1.345 GB, free: 2.516 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/2.048, allocations: 88.23 kB / 1.345 GB, free: 2.508 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001494/2.05, allocations: 0.6409 MB / 1.346 GB, free: 2.328 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/2.05, allocations: 229.3 kB / 1.346 GB, free: 2.215 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/2.055, allocations: 3.114 MB / 1.349 GB, free: 1.602 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/2.055, allocations: 30.06 kB / 1.349 GB, free: 1.598 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/2.055, allocations: 0 / 1.349 GB, free: 1.598 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003712/2.059, allocations: 2.655 MB / 1.352 GB, free: 1.074 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/2.07, allocations: 6.219 MB / 1.358 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/2.07, allocations: 0 / 1.358 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/2.073, allocations: 0.5452 MB / 1.358 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/2.073, allocations: 8 kB / 1.358 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/2.073, allocations: 61.61 kB / 1.358 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/2.073, allocations: 8 kB / 1.358 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/2.073, allocations: 0 / 1.358 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007184/2.08, allocations: 4.577 MB / 1.363 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/2.082, allocations: 0.611 MB / 1.364 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/2.082, allocations: 48 kB / 1.364 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/2.085, allocations: 225.1 kB / 1.364 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003408/2.085, allocations: 165.9 kB / 1.364 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/2.085, allocations: 83.97 kB / 1.364 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001387/2.086, allocations: 0.9423 MB / 1.365 GB, free: 9.094 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/2.086, allocations: 4 kB / 1.365 GB, free: 9.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00266/2.089, allocations: 0.9784 MB / 1.366 GB, free: 8.109 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.0007288/2.09, allocations: 382.1 kB / 1.366 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004447/2.094, allocations: 2.757 MB / 1.369 GB, free: 5.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/2.094, allocations: 5.125 kB / 1.369 GB, free: 5.016 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/2.096, allocations: 1.505 MB / 1.37 GB, free: 3.559 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006217/2.103, allocations: 1.283 MB / 1.372 GB, free: 2.289 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/2.113, allocations: 7.375 MB / 1.379 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/2.115, allocations: 1.899 MB / 1.381 GB, free: 8.953 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/2.116, allocations: 231.4 kB / 1.381 GB, free: 8.727 MB / 1.045 GB Notification: Performance of SimCode: time 1.452e-06/2.116, allocations: 0 / 1.381 GB, free: 8.727 MB / 1.045 GB Notification: Performance of Templates: time 0.07425/2.19, allocations: 42.81 MB / 1.423 GB, free: 14.24 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches