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.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.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.001751/0.001751, allocations: 105.9 kB / 16.27 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.00203/0.00203, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.474/1.474, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.516/2.516, allocations: 390.3 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 66.75 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4031, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.226/1.629, allocations: 295.1 MB / 1.238 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02994/1.659, allocations: 17.01 MB / 1.255 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006265/1.665, allocations: 79.31 kB / 1.255 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006738/1.672, allocations: 1.891 MB / 1.257 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.02213/1.694, allocations: 6.435 MB / 1.263 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/1.704, allocations: 2.933 MB / 1.266 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01378/1.718, allocations: 7.696 MB / 1.274 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004918/1.723, allocations: 2.595 MB / 1.276 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007302/1.731, allocations: 2.772 MB / 1.279 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0067/1.737, allocations: 2.695 MB / 1.282 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001216/1.739, allocations: 328 kB / 1.282 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/1.755, allocations: 6.165 MB / 1.288 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002698/1.758, allocations: 1.336 MB / 1.289 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003835/1.762, allocations: 1.883 MB / 1.291 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01858/1.78, allocations: 6.841 MB / 1.298 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/1.78, allocations: 0 / 1.298 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.997e-06/1.78, allocations: 3.984 kB / 1.298 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001427/1.78, allocations: 0 / 1.298 GB, free: 13.39 MB / 0.9669 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.01205/1.793, allocations: 4.12 MB / 1.302 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.793, allocations: 15.97 kB / 1.302 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006469/1.799, allocations: 0.9171 MB / 1.303 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004083/1.803, allocations: 1.838 MB / 1.304 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/1.803, allocations: 197.1 kB / 1.305 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004293/1.804, allocations: 267.9 kB / 1.305 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/1.81, allocations: 3.323 MB / 1.308 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/1.81, allocations: 15.84 kB / 1.308 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/1.81, allocations: 111.9 kB / 1.308 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/1.81, allocations: 141 kB / 1.308 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006096/1.816, allocations: 3.494 MB / 1.312 GB, free: 14.71 MB / 0.9825 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.01802/1.834, allocations: 12.22 MB / 1.324 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004693/1.839, allocations: 3.514 MB / 1.327 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/1.842, allocations: 1.826 MB / 1.329 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/1.843, allocations: 1.493 MB / 1.33 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/1.844, allocations: 64.75 kB / 1.33 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=278): time 4.468e-06/1.844, allocations: 0 / 1.33 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=278): time 0.006646/1.85, allocations: 3.873 MB / 1.334 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/1.85, allocations: 89.47 kB / 1.334 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.852, allocations: 1.383 MB / 1.336 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/1.853, allocations: 73.7 kB / 1.336 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/1.853, allocations: 0.9843 MB / 1.337 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009494/1.854, allocations: 0.9431 MB / 1.338 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006064/1.855, allocations: 404.9 kB / 1.338 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.855, allocations: 301.1 kB / 1.338 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/1.857, allocations: 1.098 MB / 1.339 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/1.859, allocations: 1.362 MB / 1.341 GB, free: 15.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/1.862, allocations: 2.65 MB / 1.343 GB, free: 12.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.862, allocations: 0 / 1.343 GB, free: 12.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004868/1.867, allocations: 2.974 MB / 1.346 GB, free: 9.832 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/1.867, allocations: 8 kB / 1.346 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.867, allocations: 4 kB / 1.346 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/1.867, allocations: 16 kB / 1.346 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/1.869, allocations: 0.511 MB / 1.347 GB, free: 9.293 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/1.869, allocations: 19.92 kB / 1.347 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.872, allocations: 190.1 kB / 1.347 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.872, allocations: 80 kB / 1.347 GB, free: 9.008 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.001337/1.873, allocations: 0.6436 MB / 1.348 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/1.874, allocations: 229.3 kB / 1.348 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/1.879, allocations: 3.12 MB / 1.351 GB, free: 4.953 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/1.879, allocations: 24 kB / 1.351 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/1.879, allocations: 3.938 kB / 1.351 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003701/1.882, allocations: 2.657 MB / 1.354 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009397/1.892, allocations: 6.217 MB / 1.36 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.892, allocations: 0 / 1.36 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/1.894, allocations: 0.5462 MB / 1.36 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/1.894, allocations: 8 kB / 1.36 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.894, allocations: 63.98 kB / 1.36 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/1.894, allocations: 8 kB / 1.36 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.894, allocations: 3.938 kB / 1.36 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006708/1.901, allocations: 4.577 MB / 1.365 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.903, allocations: 0.611 MB / 1.365 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/1.903, allocations: 51.98 kB / 1.365 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/1.905, allocations: 62.2 kB / 1.365 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/1.905, allocations: 162 kB / 1.366 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.905, allocations: 83.97 kB / 1.366 GB, free: 5.605 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001436/1.906, allocations: 0.95 MB / 1.367 GB, free: 4.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.41e-07/1.907, allocations: 4 kB / 1.367 GB, free: 4.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002408/1.909, allocations: 0.9823 MB / 1.367 GB, free: 3.672 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.0006834/1.91, allocations: 374.6 kB / 1.368 GB, free: 3.297 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.921, allocations: 5.524 MB / 1.373 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.921, allocations: 5.062 kB / 1.373 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/1.923, allocations: 1.511 MB / 1.375 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/1.93, allocations: 1.346 MB / 1.376 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.94, allocations: 6.204 MB / 1.382 GB, free: 4.648 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.941, allocations: 1.899 MB / 1.384 GB, free: 2.711 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.942, allocations: 235.4 kB / 1.384 GB, free: 2.48 MB / 1.045 GB Notification: Performance of SimCode: time 1.072e-06/1.943, allocations: 0 / 1.384 GB, free: 2.48 MB / 1.045 GB Notification: Performance of Templates: time 0.07605/2.019, allocations: 42.83 MB / 1.426 GB, free: 7.887 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