Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 180 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 93.11 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 9.984 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2542, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.147/5.401, allocations: 2.206 GB / 3.106 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/5.401, allocations: 96.66 kB / 3.106 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.27/11.67, allocations: 1.683 GB / 4.789 GB, free: 27.06 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.124e-06/11.67, allocations: 0 / 4.789 GB, free: 27.06 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003411/11.67, allocations: 79.92 kB / 4.789 GB, free: 26.98 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 0.01591/11.69, allocations: 3.977 MB / 4.793 GB, free: 22.94 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/11.69, allocations: 8.031 kB / 4.793 GB, free: 22.93 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007675/11.7, allocations: 0.9057 MB / 4.794 GB, free: 22.02 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/11.7, allocations: 1.898 MB / 4.796 GB, free: 20.07 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/11.7, allocations: 205.2 kB / 4.796 GB, free: 19.87 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/11.7, allocations: 264 kB / 4.796 GB, free: 19.61 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008778/11.71, allocations: 3.296 MB / 4.8 GB, free: 16.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.361e-05/11.71, allocations: 11.84 kB / 4.8 GB, free: 16.19 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/11.71, allocations: 112 kB / 4.8 GB, free: 16.08 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/11.71, allocations: 125.1 kB / 4.8 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006462/11.72, allocations: 3.412 MB / 4.803 GB, free: 12.53 MB / 0.9167 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.01692/11.74, allocations: 12.37 MB / 4.815 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/11.74, allocations: 3.297 MB / 4.819 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/11.74, allocations: 1.497 MB / 4.82 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/11.74, allocations: 68.73 kB / 4.82 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=278): time 4.469e-06/11.74, allocations: 0 / 4.82 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of matching and sorting (n=278): time 0.007326/11.75, allocations: 3.823 MB / 4.824 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/11.75, allocations: 77.59 kB / 4.824 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/11.75, allocations: 1.207 MB / 4.825 GB, free: 4.809 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002875/11.75, allocations: 77.7 kB / 4.825 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007587/11.75, allocations: 0.9882 MB / 4.826 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009841/11.75, allocations: 0.947 MB / 4.827 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/11.75, allocations: 48 kB / 4.827 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002077/11.75, allocations: 406.9 kB / 4.827 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/11.76, allocations: 1.071 MB / 4.829 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/11.76, allocations: 1.388 MB / 4.83 GB, free: 15.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/11.76, allocations: 1.277 MB / 4.831 GB, free: 14.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/11.76, allocations: 0 / 4.831 GB, free: 14.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005121/11.77, allocations: 2.931 MB / 4.834 GB, free: 11.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/11.77, allocations: 10.97 kB / 4.834 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/11.77, allocations: 7.938 kB / 4.834 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/11.77, allocations: 16 kB / 4.834 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/11.77, allocations: 0.5071 MB / 4.835 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.372e-05/11.77, allocations: 15.94 kB / 4.835 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/11.77, allocations: 346 kB / 4.835 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/11.77, allocations: 87.94 kB / 4.835 GB, free: 10.5 MB / 0.948 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.001892/11.77, allocations: 0.6611 MB / 4.836 GB, free: 9.828 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008056/11.77, allocations: 229.3 kB / 4.836 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005465/11.78, allocations: 3.069 MB / 4.839 GB, free: 6.473 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/11.78, allocations: 31.94 kB / 4.839 GB, free: 6.441 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/11.78, allocations: 0 / 4.839 GB, free: 6.441 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003836/11.78, allocations: 2.618 MB / 4.841 GB, free: 3.754 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6335/12.42, allocations: 6.146 MB / 4.847 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/12.42, allocations: 1.312 kB / 4.847 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/12.42, allocations: 0.5544 MB / 4.848 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.762e-05/12.42, allocations: 9.078 kB / 4.848 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/12.42, allocations: 63.31 kB / 4.848 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/12.42, allocations: 11.88 kB / 4.848 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/12.42, allocations: 0 / 4.848 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00982/12.43, allocations: 4.73 MB / 4.853 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002736/12.43, allocations: 0.6318 MB / 4.853 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005965/12.43, allocations: 51.08 kB / 4.853 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/12.44, allocations: 233.2 kB / 4.854 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/12.44, allocations: 153.9 kB / 4.854 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/12.44, allocations: 86.16 kB / 4.854 GB, free: 115.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002014/12.44, allocations: 0.9393 MB / 4.855 GB, free: 115.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/12.44, allocations: 3.578 kB / 4.855 GB, free: 115.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006077/12.45, allocations: 1.37 MB / 4.856 GB, free: 115.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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.008136/12.45, allocations: 4.299 MB / 4.86 GB, free: 113.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0058/12.46, allocations: 2.726 MB / 4.863 GB, free: 113.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/12.46, allocations: 0.5625 kB / 4.863 GB, free: 113.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/12.46, allocations: 1.465 MB / 4.864 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005994/12.47, allocations: 1.25 MB / 4.866 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/12.48, allocations: 7.287 MB / 4.873 GB, free: 111 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/12.48, allocations: 1.958 MB / 4.875 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003881/12.48, allocations: 0.8438 MB / 4.875 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007923/12.49, allocations: 217.9 kB / 4.876 GB, free: 110.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.804e-06/12.49, allocations: 0 / 4.876 GB, free: 110.2 MB / 0.948 GB Notification: Performance of Templates: time 0.1325/12.62, allocations: 88.58 MB / 4.962 GB, free: 106.5 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches