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.428/1.428, allocations: 249.3 MB / 261.8 MB, free: 5.973 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.001025/0.001025, allocations: 185.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008336/0.0008335, allocations: 90.42 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.531e-05, allocations: 0 / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2458, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.164/6.41, allocations: 2.206 GB / 3.098 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/6.41, allocations: 91.62 kB / 3.098 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.511/12.92, allocations: 1.681 GB / 4.779 GB, free: 89.66 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.234e-06/12.92, allocations: 0 / 4.779 GB, free: 89.66 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002234/12.92, allocations: 76.38 kB / 4.779 GB, free: 89.65 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.0146/12.94, allocations: 3.561 MB / 4.783 GB, free: 88.32 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/12.94, allocations: 9.312 kB / 4.783 GB, free: 88.32 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007699/12.94, allocations: 0.9041 MB / 4.784 GB, free: 88.16 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/12.95, allocations: 1.891 MB / 4.786 GB, free: 87.69 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/12.95, allocations: 206.3 kB / 4.786 GB, free: 87.68 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007199/12.95, allocations: 274.1 kB / 4.786 GB, free: 87.67 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/12.96, allocations: 3.234 MB / 4.789 GB, free: 87.35 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.036e-05/12.96, allocations: 8.219 kB / 4.789 GB, free: 87.35 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/12.96, allocations: 112.4 kB / 4.789 GB, free: 87.35 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/12.96, allocations: 117.2 kB / 4.789 GB, free: 87.34 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005419/12.96, allocations: 3.326 MB / 4.793 GB, free: 87.31 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.01667/12.98, allocations: 12.37 MB / 4.805 GB, free: 81.13 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003755/12.98, allocations: 3.262 MB / 4.808 GB, free: 80.57 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/12.98, allocations: 1.757 MB / 4.81 GB, free: 80.54 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/12.99, allocations: 1.493 MB / 4.811 GB, free: 78.94 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/12.99, allocations: 64.09 kB / 4.811 GB, free: 78.89 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=278): time 4.669e-06/12.99, allocations: 3.281 kB / 4.811 GB, free: 78.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=278): time 0.004674/12.99, allocations: 2.692 MB / 4.814 GB, free: 78.66 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/12.99, allocations: 87.75 kB / 4.814 GB, free: 78.59 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/12.99, allocations: 1.185 MB / 4.815 GB, free: 78.43 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003043/12.99, allocations: 78.3 kB / 4.815 GB, free: 78.39 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005982/12.99, allocations: 0.9909 MB / 4.816 GB, free: 78 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008216/12.99, allocations: 0.9441 MB / 4.817 GB, free: 77.39 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/12.99, allocations: 52.5 kB / 4.817 GB, free: 77.39 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001349/12.99, allocations: 398.4 kB / 4.817 GB, free: 77.08 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/13, allocations: 1.05 MB / 4.818 GB, free: 77.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/13, allocations: 1.37 MB / 4.82 GB, free: 76.79 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/13, allocations: 1.254 MB / 4.821 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/13, allocations: 3.156 kB / 4.821 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004736/13, allocations: 2.893 MB / 4.824 GB, free: 76.51 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/13, allocations: 7.531 kB / 4.824 GB, free: 76.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/13, allocations: 3.875 kB / 4.824 GB, free: 76.51 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/13, allocations: 14.09 kB / 4.824 GB, free: 76.51 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/13.01, allocations: 0.5162 MB / 4.824 GB, free: 76.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.422e-05/13.01, allocations: 20.03 kB / 4.824 GB, free: 76.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/13.01, allocations: 342.1 kB / 4.825 GB, free: 76.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/13.01, allocations: 89.75 kB / 4.825 GB, free: 76.41 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.0005204/13.01, allocations: 243.4 kB / 4.825 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/13.01, allocations: 232.3 kB / 4.825 GB, free: 76.18 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/13.02, allocations: 3.034 MB / 4.828 GB, free: 76 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/13.02, allocations: 30.22 kB / 4.828 GB, free: 76 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/13.02, allocations: 0 / 4.828 GB, free: 76 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003356/13.02, allocations: 2.571 MB / 4.831 GB, free: 75.75 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/13.03, allocations: 6.142 MB / 4.837 GB, free: 75.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/13.03, allocations: 0 / 4.837 GB, free: 75.24 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/13.03, allocations: 0.5561 MB / 4.837 GB, free: 75.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.197e-05/13.03, allocations: 13.53 kB / 4.837 GB, free: 75.24 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/13.03, allocations: 58.23 kB / 4.837 GB, free: 75.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/13.03, allocations: 10.88 kB / 4.837 GB, free: 75.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/13.03, allocations: 3.047 kB / 4.837 GB, free: 75.24 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006719/13.04, allocations: 4.67 MB / 4.842 GB, free: 74.85 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/13.04, allocations: 0.631 MB / 4.843 GB, free: 74.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004227/13.04, allocations: 51.69 kB / 4.843 GB, free: 74.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/13.05, allocations: 221.3 kB / 4.843 GB, free: 74.59 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/13.05, allocations: 163.3 kB / 4.843 GB, free: 74.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/13.05, allocations: 83.73 kB / 4.843 GB, free: 74.59 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001328/13.05, allocations: 0.92 MB / 4.844 GB, free: 74.47 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.51e-07/13.05, allocations: 2 kB / 4.844 GB, free: 74.47 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004068/13.05, allocations: 1.378 MB / 4.845 GB, free: 74.35 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.006169/13.06, allocations: 4.301 MB / 4.85 GB, free: 72.35 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004516/13.06, allocations: 2.692 MB / 4.852 GB, free: 72.27 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/13.06, allocations: 3.75 kB / 4.852 GB, free: 72.27 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/13.06, allocations: 1.445 MB / 4.854 GB, free: 72.15 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007463/13.07, allocations: 1.259 MB / 4.855 GB, free: 71.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/13.08, allocations: 5.184 MB / 4.86 GB, free: 70.15 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/13.08, allocations: 1.964 MB / 4.862 GB, free: 69.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003669/13.09, allocations: 0.8481 MB / 4.863 GB, free: 69.19 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007619/13.09, allocations: 210.3 kB / 4.863 GB, free: 69.18 MB / 0.9323 GB Notification: Performance of SimCode: time 8.62e-07/13.09, allocations: 0 / 4.863 GB, free: 69.18 MB / 0.9323 GB Notification: Performance of Templates: time 0.1254/13.21, allocations: 97.94 MB / 4.958 GB, free: 8.285 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