Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.001081/0.001082, allocations: 182.6 kB / 321.3 MB, free: 14.62 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.57/1.57, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0008184/0.0008185, allocations: 88.94 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.564e-05, allocations: 4 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2433, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.764/2.008, allocations: 405.6 MB / 1.288 GB, free: 261 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/2.008, allocations: 91.64 kB / 1.288 GB, free: 261 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.674/4.682, allocations: 0.7718 GB / 2.06 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.866e-06/4.682, allocations: 0 / 2.06 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002076/4.683, allocations: 59.66 kB / 2.06 GB, free: 120.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004966/4.688, allocations: 2.16 MB / 2.062 GB, free: 120 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/4.688, allocations: 14.34 kB / 2.062 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008988/4.688, allocations: 260 kB / 2.062 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04654/4.735, allocations: 23.51 MB / 2.085 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/4.735, allocations: 108.4 kB / 2.085 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/4.735, allocations: 147.7 kB / 2.085 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/4.738, allocations: 1.374 MB / 2.087 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/4.738, allocations: 4.078 kB / 2.087 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/4.738, allocations: 60.19 kB / 2.087 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.87e-05/4.738, allocations: 44.61 kB / 2.087 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/4.74, allocations: 0.9447 MB / 2.088 GB, free: 118.3 MB / 0.8698 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.008743/4.748, allocations: 7.549 MB / 2.095 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/4.749, allocations: 453.3 kB / 2.095 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/4.75, allocations: 285.2 kB / 2.096 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007382/4.75, allocations: 1.163 MB / 2.097 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/4.75, allocations: 37.94 kB / 2.097 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 3.656e-06/4.75, allocations: 7.688 kB / 2.097 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.001341/4.752, allocations: 0.6438 MB / 2.098 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/4.752, allocations: 61.53 kB / 2.098 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/4.754, allocations: 1.509 MB / 2.099 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/4.754, allocations: 47.52 kB / 2.099 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006406/4.755, allocations: 0.9415 MB / 2.1 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/4.755, allocations: 222.1 kB / 2.1 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/4.755, allocations: 15.41 kB / 2.1 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/4.755, allocations: 336.8 kB / 2.101 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/4.755, allocations: 231 kB / 2.101 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/4.756, allocations: 0.6128 MB / 2.101 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/4.756, allocations: 346.7 kB / 2.102 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/4.756, allocations: 3.938 kB / 2.102 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001492/4.758, allocations: 0.9869 MB / 2.103 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/4.758, allocations: 14.92 kB / 2.103 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/4.758, allocations: 14.25 kB / 2.103 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/4.758, allocations: 14.59 kB / 2.103 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/4.759, allocations: 227.7 kB / 2.103 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/4.759, allocations: 22.42 kB / 2.103 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/4.76, allocations: 233.4 kB / 2.103 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/4.76, allocations: 50.58 kB / 2.103 GB, free: 109.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0001918/4.761, allocations: 170.3 kB / 2.103 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/4.761, allocations: 187.7 kB / 2.104 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/4.762, allocations: 0.7895 MB / 2.104 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/4.762, allocations: 11.45 kB / 2.104 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/4.762, allocations: 2.125 kB / 2.104 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007835/4.763, allocations: 0.7003 MB / 2.105 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/4.767, allocations: 2.364 MB / 2.107 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/4.768, allocations: 2.625 kB / 2.107 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/4.768, allocations: 187.1 kB / 2.108 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/4.768, allocations: 7.031 kB / 2.108 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/4.768, allocations: 18.16 kB / 2.108 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/4.768, allocations: 3.906 kB / 2.108 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/4.768, allocations: 0 / 2.108 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/4.77, allocations: 1.386 MB / 2.109 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/4.771, allocations: 392.6 kB / 2.109 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/4.771, allocations: 15.19 kB / 2.109 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/4.773, allocations: 138.3 kB / 2.109 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/4.773, allocations: 51.36 kB / 2.11 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/4.773, allocations: 28.75 kB / 2.11 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001799/4.775, allocations: 1.197 MB / 2.111 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.31e-07/4.775, allocations: 0 / 2.111 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002461/4.777, allocations: 0.6902 MB / 2.111 GB, free: 105.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001686/4.779, allocations: 0.9593 MB / 2.112 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001134/4.78, allocations: 0.6547 MB / 2.113 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/4.78, allocations: 1.875 kB / 2.113 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/4.78, allocations: 314.2 kB / 2.113 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/4.787, allocations: 1.248 MB / 2.115 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/4.791, allocations: 2.403 MB / 2.117 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/4.792, allocations: 1.44 MB / 2.118 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001951/4.794, allocations: 381.4 kB / 2.119 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/4.794, allocations: 151 kB / 2.119 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.984e-06/4.794, allocations: 0 / 2.119 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.06756/4.862, allocations: 44.44 MB / 2.162 GB, free: 75.91 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches