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.378/2.378, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001103/0.001103, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.75/1.75, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 102.7 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.07e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3819, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.284/6.666, allocations: 1.934 GB / 3.14 GB, free: 418.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/6.666, allocations: 87.95 kB / 3.14 GB, free: 418.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.431/13.1, allocations: 1.74 GB / 4.88 GB, free: 140.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.014e-06/13.1, allocations: 0 / 4.88 GB, free: 140.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004851/13.1, allocations: 72.59 kB / 4.88 GB, free: 140.9 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.01752/13.12, allocations: 3.542 MB / 4.884 GB, free: 140.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/13.12, allocations: 11.88 kB / 4.884 GB, free: 140.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008563/13.12, allocations: 0.9063 MB / 4.885 GB, free: 140.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/13.13, allocations: 1.915 MB / 4.886 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003704/13.13, allocations: 82.06 kB / 4.886 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/13.14, allocations: 156.6 kB / 4.887 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01011/13.15, allocations: 2.996 MB / 4.89 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009532/13.16, allocations: 2.856 MB / 4.892 GB, free: 139.6 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/13.16, allocations: 10.5 kB / 4.892 GB, free: 139.6 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006069/13.16, allocations: 3.656 kB / 4.892 GB, free: 139.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/13.16, allocations: 116.1 kB / 4.892 GB, free: 139.6 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.0175/13.17, allocations: 12.12 MB / 4.904 GB, free: 133.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/13.18, allocations: 3.818 MB / 4.908 GB, free: 132.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/13.18, allocations: 1.707 MB / 4.91 GB, free: 132.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/13.18, allocations: 1.493 MB / 4.911 GB, free: 130.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/13.18, allocations: 66.78 kB / 4.911 GB, free: 130.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 4.278e-06/13.18, allocations: 0 / 4.911 GB, free: 130.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.005309/13.19, allocations: 2.833 MB / 4.914 GB, free: 130.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/13.19, allocations: 82.19 kB / 4.914 GB, free: 130.5 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/13.19, allocations: 1.017 MB / 4.915 GB, free: 130.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/13.19, allocations: 34.17 kB / 4.915 GB, free: 130.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006294/13.19, allocations: 0.9806 MB / 4.916 GB, free: 130.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008307/13.19, allocations: 0.9056 MB / 4.917 GB, free: 129.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/13.19, allocations: 0 / 4.917 GB, free: 129.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001536/13.19, allocations: 403.6 kB / 4.917 GB, free: 129.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/13.19, allocations: 1.064 MB / 4.918 GB, free: 129.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/13.19, allocations: 1.357 MB / 4.92 GB, free: 129 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/13.2, allocations: 1.397 MB / 4.921 GB, free: 129 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/13.2, allocations: 1.594 kB / 4.921 GB, free: 129 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005279/13.2, allocations: 2.975 MB / 4.924 GB, free: 128.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/13.2, allocations: 6.062 kB / 4.924 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/13.2, allocations: 11.06 kB / 4.924 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/13.2, allocations: 16.31 kB / 4.924 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/13.21, allocations: 0.5284 MB / 4.924 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.752e-05/13.21, allocations: 18.66 kB / 4.924 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/13.21, allocations: 326.5 kB / 4.925 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/13.21, allocations: 92.59 kB / 4.925 GB, free: 128.7 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.0005055/13.21, allocations: 148.8 kB / 4.925 GB, free: 128.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/13.21, allocations: 223.9 kB / 4.925 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006183/13.22, allocations: 3.114 MB / 4.928 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/13.22, allocations: 25.88 kB / 4.928 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/13.22, allocations: 1.125 kB / 4.928 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004968/13.22, allocations: 2.714 MB / 4.931 GB, free: 128.1 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.01623/13.24, allocations: 6.328 MB / 4.937 GB, free: 127.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/13.24, allocations: 0 / 4.937 GB, free: 127.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003085/13.24, allocations: 0.557 MB / 4.938 GB, free: 127.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.059e-05/13.24, allocations: 13.34 kB / 4.938 GB, free: 127.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/13.24, allocations: 37.92 kB / 4.938 GB, free: 127.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/13.24, allocations: 9.531 kB / 4.938 GB, free: 127.3 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/13.24, allocations: 0 / 4.938 GB, free: 127.3 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009534/13.25, allocations: 4.499 MB / 4.942 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/13.25, allocations: 0.6227 MB / 4.943 GB, free: 126.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/13.25, allocations: 6.75 kB / 4.943 GB, free: 126.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/13.26, allocations: 182.4 kB / 4.943 GB, free: 126.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/13.26, allocations: 154.9 kB / 4.943 GB, free: 126.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/13.26, allocations: 90.94 kB / 4.943 GB, free: 126.7 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001227/13.26, allocations: 0.7794 MB / 4.944 GB, free: 126.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.91e-07/13.26, allocations: 0 / 4.944 GB, free: 126.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004131/13.26, allocations: 1.17 MB / 4.945 GB, free: 126.5 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.00708/13.27, allocations: 4.683 MB / 4.95 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.005038/13.27, allocations: 2.697 MB / 4.952 GB, free: 124.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/13.27, allocations: 0 / 4.952 GB, free: 124.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/13.28, allocations: 1.463 MB / 4.954 GB, free: 124.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007201/13.28, allocations: 1.126 MB / 4.955 GB, free: 124.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/13.29, allocations: 5.14 MB / 4.96 GB, free: 123.4 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/13.3, allocations: 1.953 MB / 4.962 GB, free: 122.7 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004333/13.3, allocations: 0.8587 MB / 4.963 GB, free: 122.7 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008958/13.3, allocations: 223 kB / 4.963 GB, free: 122.7 MB / 1.198 GB Notification: Performance of SimCode: time 1.132e-06/13.3, allocations: 0 / 4.963 GB, free: 122.7 MB / 1.198 GB Notification: Performance of Templates: time 0.09685/13.4, allocations: 63.6 MB / 5.025 GB, free: 120.4 MB / 1.198 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