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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.473/2.473, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 179.3 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.871/1.871, allocations: 223.2 MB / 0.7949 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 91.97 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004581, allocations: 9.625 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3644, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.977/5.341, allocations: 1.935 GB / 3.157 GB, free: 44.08 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/5.341, allocations: 97.5 kB / 3.157 GB, free: 43.99 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.288/11.63, allocations: 1.76 GB / 4.917 GB, free: 48.07 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.957e-06/11.63, allocations: 4 kB / 4.917 GB, free: 48.07 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002507/11.63, allocations: 71.92 kB / 4.917 GB, free: 48 MB / 1.182 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.01611/11.65, allocations: 3.957 MB / 4.921 GB, free: 43.97 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/11.65, allocations: 8.031 kB / 4.921 GB, free: 43.96 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007615/11.65, allocations: 0.9092 MB / 4.922 GB, free: 43.05 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005915/11.66, allocations: 1.918 MB / 4.924 GB, free: 41.08 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/11.66, allocations: 205.1 kB / 4.924 GB, free: 40.88 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006137/11.66, allocations: 260 kB / 4.924 GB, free: 40.62 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00573/11.67, allocations: 3.27 MB / 4.928 GB, free: 37.23 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.258e-05/11.67, allocations: 3.906 kB / 4.928 GB, free: 37.23 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/11.67, allocations: 120 kB / 4.928 GB, free: 37.11 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/11.67, allocations: 117.1 kB / 4.928 GB, free: 37 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005246/11.67, allocations: 3.4 MB / 4.931 GB, free: 33.58 MB / 1.182 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.01639/11.69, allocations: 12.35 MB / 4.943 GB, free: 20.33 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/11.69, allocations: 3.371 MB / 4.947 GB, free: 16.88 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/11.69, allocations: 1.493 MB / 4.948 GB, free: 15.07 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/11.69, allocations: 64.75 kB / 4.948 GB, free: 15 MB / 1.182 GB Notification: Performance of pre-optimization done (n=278): time 4.599e-06/11.69, allocations: 3.938 kB / 4.948 GB, free: 15 MB / 1.182 GB Notification: Performance of matching and sorting (n=278): time 0.006256/11.7, allocations: 3.854 MB / 4.952 GB, free: 11.09 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/11.7, allocations: 89.62 kB / 4.952 GB, free: 10.98 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/11.7, allocations: 1.196 MB / 4.953 GB, free: 9.785 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/11.7, allocations: 73.7 kB / 4.953 GB, free: 9.707 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/11.7, allocations: 0.9805 MB / 4.954 GB, free: 8.715 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/11.7, allocations: 0.9431 MB / 4.955 GB, free: 7.758 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/11.7, allocations: 52 kB / 4.955 GB, free: 7.707 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.000128/11.7, allocations: 406.8 kB / 4.955 GB, free: 7.305 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/11.7, allocations: 1.078 MB / 4.957 GB, free: 6.223 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/11.71, allocations: 1.385 MB / 4.958 GB, free: 4.746 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/11.71, allocations: 1.278 MB / 4.959 GB, free: 3.449 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/11.71, allocations: 0 / 4.959 GB, free: 3.449 MB / 1.182 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004354/11.71, allocations: 2.95 MB / 4.962 GB, free: 464 kB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/11.71, allocations: 7.984 kB / 4.962 GB, free: 456 kB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/11.71, allocations: 4.641 kB / 4.962 GB, free: 452 kB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/11.71, allocations: 20 kB / 4.962 GB, free: 432 kB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/11.71, allocations: 0.5111 MB / 4.963 GB, free: 15.91 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-05/11.71, allocations: 23.92 kB / 4.963 GB, free: 15.88 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/11.72, allocations: 381.7 kB / 4.963 GB, free: 15.51 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/11.72, allocations: 91.98 kB / 4.963 GB, free: 15.42 MB / 1.198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00176/11.72, allocations: 0.6494 MB / 4.964 GB, free: 14.76 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007189/11.72, allocations: 225.3 kB / 4.964 GB, free: 14.54 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/11.73, allocations: 3.104 MB / 4.967 GB, free: 11.38 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/11.73, allocations: 28 kB / 4.967 GB, free: 11.35 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/11.73, allocations: 3.984 kB / 4.967 GB, free: 11.34 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003853/11.73, allocations: 2.642 MB / 4.969 GB, free: 8.633 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/11.74, allocations: 6.179 MB / 4.976 GB, free: 2.352 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/11.74, allocations: 4 kB / 4.976 GB, free: 2.348 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/11.74, allocations: 0.5423 MB / 4.976 GB, free: 1.805 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/11.74, allocations: 8 kB / 4.976 GB, free: 1.797 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/11.74, allocations: 71.86 kB / 4.976 GB, free: 1.727 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/11.74, allocations: 8 kB / 4.976 GB, free: 1.719 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/11.74, allocations: 0 / 4.976 GB, free: 1.719 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006935/11.75, allocations: 4.538 MB / 4.981 GB, free: 13.09 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/11.75, allocations: 0.6071 MB / 4.981 GB, free: 12.46 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/11.75, allocations: 48 kB / 4.981 GB, free: 12.42 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/11.76, allocations: 227.3 kB / 4.981 GB, free: 12.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/11.76, allocations: 154 kB / 4.982 GB, free: 12.05 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/11.76, allocations: 87.95 kB / 4.982 GB, free: 11.96 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001491/11.76, allocations: 0.9344 MB / 4.983 GB, free: 11.03 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.4e-07/11.76, allocations: 3.938 kB / 4.983 GB, free: 11.03 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004643/11.76, allocations: 1.361 MB / 4.984 GB, free: 9.664 MB / 1.214 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006743/11.77, allocations: 4.294 MB / 4.988 GB, free: 4.953 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005397/11.78, allocations: 2.731 MB / 4.991 GB, free: 2.191 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/11.78, allocations: 1.125 kB / 4.991 GB, free: 2.191 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002408/11.78, allocations: 1.476 MB / 4.992 GB, free: 0.7109 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.7987/12.58, allocations: 1.234 MB / 4.993 GB, free: 164.3 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/12.59, allocations: 7.286 MB / 5.001 GB, free: 161.7 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/12.6, allocations: 1.948 MB / 5.002 GB, free: 160.9 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.005001/12.6, allocations: 0.8485 MB / 5.003 GB, free: 160.9 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/12.6, allocations: 214.4 kB / 5.003 GB, free: 160.9 MB / 1.214 GB Notification: Performance of SimCode: time 1.443e-06/12.6, allocations: 0 / 5.003 GB, free: 160.9 MB / 1.214 GB Notification: Performance of Templates: time 0.1534/12.75, allocations: 88 MB / 5.089 GB, free: 158.4 MB / 1.214 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","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches