Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.298/2.298, allocations: 390.5 MB / 398 MB, free: 10.94 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.001625/0.001625, allocations: 184.8 kB / 491.2 MB, free: 1.559 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.757/1.757, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001005/0.001005, allocations: 91.89 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.769e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3635, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.214/6.578, allocations: 1.935 GB / 3.147 GB, free: 335.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/6.578, allocations: 87.27 kB / 3.147 GB, free: 335.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.614/13.19, allocations: 1.74 GB / 4.887 GB, free: 142.5 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.284e-06/13.19, allocations: 0 / 4.887 GB, free: 142.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004112/13.19, allocations: 75.97 kB / 4.887 GB, free: 142.5 MB / 1.198 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.0163/13.21, allocations: 3.547 MB / 4.891 GB, free: 141.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/13.21, allocations: 11.66 kB / 4.891 GB, free: 141.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007981/13.22, allocations: 0.9027 MB / 4.892 GB, free: 141.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007076/13.22, allocations: 1.906 MB / 4.893 GB, free: 141.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/13.22, allocations: 82.03 kB / 4.894 GB, free: 141.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/13.23, allocations: 157.2 kB / 4.894 GB, free: 141.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008008/13.23, allocations: 2.999 MB / 4.897 GB, free: 141.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008693/13.24, allocations: 2.853 MB / 4.899 GB, free: 140.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/13.24, allocations: 15.2 kB / 4.899 GB, free: 140.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006671/13.24, allocations: 6.75 kB / 4.899 GB, free: 140.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/13.24, allocations: 117.5 kB / 4.9 GB, free: 140.8 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.02056/13.26, allocations: 12.12 MB / 4.911 GB, free: 134.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00509/13.27, allocations: 3.804 MB / 4.915 GB, free: 133.7 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002681/13.27, allocations: 1.711 MB / 4.917 GB, free: 133.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/13.27, allocations: 1.495 MB / 4.918 GB, free: 132.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.292e-05/13.27, allocations: 76.22 kB / 4.918 GB, free: 132 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 6.161e-06/13.27, allocations: 3.188 kB / 4.918 GB, free: 132 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.007137/13.28, allocations: 2.825 MB / 4.921 GB, free: 131.8 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/13.28, allocations: 82.45 kB / 4.921 GB, free: 131.7 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/13.28, allocations: 1.023 MB / 4.922 GB, free: 131.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002992/13.28, allocations: 29.08 kB / 4.922 GB, free: 131.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009279/13.29, allocations: 0.9764 MB / 4.923 GB, free: 131.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/13.29, allocations: 0.9067 MB / 4.924 GB, free: 130.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/13.29, allocations: 0 / 4.924 GB, free: 130.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002449/13.29, allocations: 397.4 kB / 4.924 GB, free: 130.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/13.29, allocations: 1.064 MB / 4.925 GB, free: 130.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/13.29, allocations: 1.357 MB / 4.927 GB, free: 130.2 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/13.29, allocations: 1.403 MB / 4.928 GB, free: 130.2 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/13.29, allocations: 3.719 kB / 4.928 GB, free: 130.2 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005927/13.3, allocations: 2.976 MB / 4.931 GB, free: 130 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/13.3, allocations: 7.656 kB / 4.931 GB, free: 130 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/13.3, allocations: 5.375 kB / 4.931 GB, free: 130 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.585e-05/13.3, allocations: 22.36 kB / 4.931 GB, free: 130 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/13.3, allocations: 0.5331 MB / 4.932 GB, free: 130 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.464e-05/13.3, allocations: 17.38 kB / 4.932 GB, free: 130 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/13.31, allocations: 325.8 kB / 4.932 GB, free: 129.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/13.31, allocations: 94.5 kB / 4.932 GB, free: 129.9 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 () * 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.0005639/13.31, allocations: 146.9 kB / 4.932 GB, free: 129.8 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/13.31, allocations: 225.3 kB / 4.932 GB, free: 129.7 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007124/13.32, allocations: 3.11 MB / 4.935 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/13.32, allocations: 26.69 kB / 4.935 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/13.32, allocations: 3.953 kB / 4.935 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005059/13.32, allocations: 2.721 MB / 4.938 GB, free: 129.2 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01464/13.34, allocations: 6.309 MB / 4.944 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/13.34, allocations: 0 / 4.944 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/13.34, allocations: 0.5624 MB / 4.945 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-05/13.34, allocations: 7.5 kB / 4.945 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/13.34, allocations: 30.69 kB / 4.945 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.26e-05/13.34, allocations: 11 kB / 4.945 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/13.34, allocations: 0 / 4.945 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/13.35, allocations: 4.505 MB / 4.949 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002852/13.35, allocations: 0.6178 MB / 4.95 GB, free: 127.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/13.35, allocations: 13.28 kB / 4.95 GB, free: 127.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003714/13.35, allocations: 182.1 kB / 4.95 GB, free: 127.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/13.36, allocations: 153.6 kB / 4.95 GB, free: 127.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/13.36, allocations: 88.94 kB / 4.95 GB, free: 127.8 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002182/13.36, allocations: 0.7824 MB / 4.951 GB, free: 127.7 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.11e-07/13.36, allocations: 0 / 4.951 GB, free: 127.7 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005583/13.36, allocations: 1.173 MB / 4.952 GB, free: 127.6 MB / 1.198 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 () * 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.008214/13.37, allocations: 4.685 MB / 4.957 GB, free: 125.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.005473/13.38, allocations: 2.701 MB / 4.959 GB, free: 125.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/13.38, allocations: 0 / 4.959 GB, free: 125.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002544/13.38, allocations: 1.459 MB / 4.961 GB, free: 125.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00715/13.39, allocations: 1.13 MB / 4.962 GB, free: 125.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/13.4, allocations: 5.133 MB / 4.967 GB, free: 124.5 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/13.4, allocations: 1.954 MB / 4.969 GB, free: 123.7 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005995/13.41, allocations: 0.8547 MB / 4.97 GB, free: 123.7 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/13.41, allocations: 225.2 kB / 4.97 GB, free: 123.7 MB / 1.198 GB Notification: Performance of SimCode: time 2.113e-06/13.41, allocations: 0 / 4.97 GB, free: 123.7 MB / 1.198 GB Notification: Performance of Templates: time 0.1042/13.51, allocations: 63.58 MB / 5.032 GB, free: 120.6 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches