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.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001001, allocations: 179.7 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0009539/0.0009536, allocations: 93.84 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.732e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2325, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.268/6.5, allocations: 2.206 GB / 3.092 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/6.501, allocations: 86.39 kB / 3.092 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.472/12.97, allocations: 1.663 GB / 4.755 GB, free: 95.48 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.673e-06/12.97, allocations: 1.781 kB / 4.755 GB, free: 95.48 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002462/12.97, allocations: 70.48 kB / 4.755 GB, free: 95.47 MB / 0.9323 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.01493/12.99, allocations: 3.568 MB / 4.758 GB, free: 94.26 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/12.99, allocations: 10.12 kB / 4.758 GB, free: 94.26 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00781/13, allocations: 0.9022 MB / 4.759 GB, free: 94.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006338/13, allocations: 1.89 MB / 4.761 GB, free: 93.62 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/13, allocations: 84.78 kB / 4.761 GB, free: 93.62 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/13, allocations: 162.8 kB / 4.761 GB, free: 93.62 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006877/13.01, allocations: 3.008 MB / 4.764 GB, free: 93.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006189/13.02, allocations: 2.861 MB / 4.767 GB, free: 93.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.78e-05/13.02, allocations: 8.562 kB / 4.767 GB, free: 93.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/13.02, allocations: 5.875 kB / 4.767 GB, free: 93.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/13.02, allocations: 121 kB / 4.767 GB, free: 93.29 MB / 0.9323 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.01782/13.03, allocations: 12.14 MB / 4.779 GB, free: 87.16 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/13.04, allocations: 3.734 MB / 4.783 GB, free: 86.06 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/13.04, allocations: 1.708 MB / 4.784 GB, free: 86.03 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/13.04, allocations: 1.499 MB / 4.786 GB, free: 84.43 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/13.04, allocations: 68.61 kB / 4.786 GB, free: 84.39 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=278): time 4.097e-06/13.04, allocations: 0 / 4.786 GB, free: 84.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=278): time 0.005866/13.05, allocations: 2.801 MB / 4.789 GB, free: 84.16 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/13.05, allocations: 88.36 kB / 4.789 GB, free: 84.09 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/13.05, allocations: 1.026 MB / 4.79 GB, free: 83.93 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002707/13.05, allocations: 28.7 kB / 4.79 GB, free: 83.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006046/13.05, allocations: 0.9922 MB / 4.791 GB, free: 83.49 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008667/13.05, allocations: 0.9062 MB / 4.792 GB, free: 82.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/13.05, allocations: 3.625 kB / 4.792 GB, free: 82.87 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001374/13.05, allocations: 401.7 kB / 4.792 GB, free: 82.57 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/13.05, allocations: 1.054 MB / 4.793 GB, free: 82.56 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/13.06, allocations: 1.372 MB / 4.794 GB, free: 82.28 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/13.06, allocations: 1.39 MB / 4.796 GB, free: 82.24 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/13.06, allocations: 6 kB / 4.796 GB, free: 82.24 MB / 0.9323 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005345/13.06, allocations: 2.949 MB / 4.799 GB, free: 82.01 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/13.06, allocations: 10.84 kB / 4.799 GB, free: 82.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/13.06, allocations: 7.219 kB / 4.799 GB, free: 82.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.036e-05/13.06, allocations: 14.78 kB / 4.799 GB, free: 82.01 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/13.07, allocations: 0.532 MB / 4.799 GB, free: 82.01 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/13.07, allocations: 18.12 kB / 4.799 GB, free: 82.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/13.07, allocations: 287.6 kB / 4.799 GB, free: 81.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/13.07, allocations: 94.06 kB / 4.8 GB, free: 81.91 MB / 0.9323 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.0004798/13.07, allocations: 141.2 kB / 4.8 GB, free: 81.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007881/13.07, allocations: 221.2 kB / 4.8 GB, free: 81.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006391/13.08, allocations: 3.08 MB / 4.803 GB, free: 81.52 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/13.08, allocations: 28 kB / 4.803 GB, free: 81.52 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/13.08, allocations: 0 / 4.803 GB, free: 81.52 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004156/13.08, allocations: 2.691 MB / 4.806 GB, free: 81.27 MB / 0.9323 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.01111/13.09, allocations: 6.287 MB / 4.812 GB, free: 80.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/13.09, allocations: 3.562 kB / 4.812 GB, free: 80.49 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/13.1, allocations: 0.5728 MB / 4.812 GB, free: 80.49 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-05/13.1, allocations: 11.44 kB / 4.812 GB, free: 80.49 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/13.1, allocations: 32.44 kB / 4.812 GB, free: 80.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/13.1, allocations: 11.25 kB / 4.812 GB, free: 80.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/13.1, allocations: 0 / 4.812 GB, free: 80.49 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/13.1, allocations: 4.818 MB / 4.817 GB, free: 80.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/13.1, allocations: 0.6333 MB / 4.818 GB, free: 79.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/13.11, allocations: 5.719 kB / 4.818 GB, free: 79.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/13.11, allocations: 192.9 kB / 4.818 GB, free: 79.85 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/13.11, allocations: 153.1 kB / 4.818 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/13.11, allocations: 100.2 kB / 4.818 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001366/13.11, allocations: 0.7839 MB / 4.819 GB, free: 79.73 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.224e-06/13.11, allocations: 0 / 4.819 GB, free: 79.73 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003716/13.11, allocations: 1.186 MB / 4.82 GB, free: 79.6 MB / 0.9323 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 () * 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.006241/13.12, allocations: 4.678 MB / 4.825 GB, free: 77.62 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00419/13.12, allocations: 2.685 MB / 4.827 GB, free: 77.57 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/13.12, allocations: 3.094 kB / 4.827 GB, free: 77.57 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/13.13, allocations: 1.461 MB / 4.829 GB, free: 77.56 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/13.13, allocations: 1.13 MB / 4.83 GB, free: 77.54 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009251/13.14, allocations: 5.121 MB / 4.835 GB, free: 76.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/13.14, allocations: 1.962 MB / 4.837 GB, free: 75.75 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004146/13.15, allocations: 0.8504 MB / 4.837 GB, free: 75.73 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009745/13.15, allocations: 222.2 kB / 4.838 GB, free: 75.72 MB / 0.9323 GB Notification: Performance of SimCode: time 9.92e-07/13.15, allocations: 4.938 kB / 4.838 GB, free: 75.72 MB / 0.9323 GB Notification: Performance of Templates: time 0.1044/13.25, allocations: 64.16 MB / 4.9 GB, free: 55.5 MB / 0.9323 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