Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.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_9_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_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001291/0.001291, allocations: 181 kB / 498.1 MB, free: 5.691 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.839/1.839, allocations: 223.2 MB / 0.7948 GB, free: 17.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 94 kB / 0.9346 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 9.859 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3407, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.517, allocations: 426.2 MB / 1.639 GB, free: 1.996 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.518, allocations: 95.08 kB / 1.639 GB, free: 1.945 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.141/4.659, allocations: 0.8159 GB / 2.455 GB, free: 216.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.254e-06/4.659, allocations: 0 / 2.455 GB, free: 216.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004268/4.66, allocations: 55.61 kB / 2.455 GB, free: 216.3 MB / 1.167 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.008929/4.669, allocations: 2.578 MB / 2.458 GB, free: 215.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/4.669, allocations: 7.562 kB / 2.458 GB, free: 215.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/4.67, allocations: 269 kB / 2.458 GB, free: 215.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05447/4.725, allocations: 24.85 MB / 2.482 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/4.725, allocations: 109.7 kB / 2.482 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000567/4.725, allocations: 144.3 kB / 2.482 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/4.73, allocations: 1.48 MB / 2.484 GB, free: 213.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.287e-05/4.73, allocations: 3.75 kB / 2.484 GB, free: 213.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/4.73, allocations: 61.66 kB / 2.484 GB, free: 213.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/4.73, allocations: 38.44 kB / 2.484 GB, free: 213.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/4.733, allocations: 1.113 MB / 2.485 GB, free: 213.7 MB / 1.167 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.009501/4.742, allocations: 7.558 MB / 2.492 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/4.744, allocations: 0.5237 MB / 2.493 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/4.744, allocations: 1.16 MB / 2.494 GB, free: 208.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/4.744, allocations: 38.06 kB / 2.494 GB, free: 208.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 4.448e-06/4.744, allocations: 6.188 kB / 2.494 GB, free: 208.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.002265/4.747, allocations: 1.041 MB / 2.495 GB, free: 208 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/4.747, allocations: 55.72 kB / 2.495 GB, free: 207.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/4.749, allocations: 1.546 MB / 2.497 GB, free: 207.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/4.749, allocations: 43.58 kB / 2.497 GB, free: 207.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008178/4.75, allocations: 0.9392 MB / 2.498 GB, free: 207.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/4.75, allocations: 222 kB / 2.498 GB, free: 207.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/4.75, allocations: 21.22 kB / 2.498 GB, free: 207.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001123/4.75, allocations: 340 kB / 2.498 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/4.751, allocations: 307.9 kB / 2.498 GB, free: 206.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/4.752, allocations: 0.6768 MB / 2.499 GB, free: 206.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/4.752, allocations: 418.8 kB / 2.5 GB, free: 206.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/4.752, allocations: 6.062 kB / 2.5 GB, free: 206.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002136/4.754, allocations: 1.141 MB / 2.501 GB, free: 206.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/4.755, allocations: 7 kB / 2.501 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/4.755, allocations: 10.22 kB / 2.501 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/4.755, allocations: 17.66 kB / 2.501 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/4.755, allocations: 227.8 kB / 2.501 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/4.755, allocations: 23.2 kB / 2.501 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/4.757, allocations: 231.6 kB / 2.501 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/4.757, allocations: 51.94 kB / 2.501 GB, free: 206.3 MB / 1.167 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 () * Number of clocked 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.00102/4.758, allocations: 436.9 kB / 2.502 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/4.759, allocations: 197.3 kB / 2.502 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/4.76, allocations: 0.9365 MB / 2.503 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/4.76, allocations: 8.406 kB / 2.503 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/4.76, allocations: 0 / 2.503 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/4.762, allocations: 0.8503 MB / 2.504 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004516/4.766, allocations: 2.515 MB / 2.506 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/4.766, allocations: 2.156 kB / 2.506 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/4.767, allocations: 182.3 kB / 2.506 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/4.767, allocations: 7.156 kB / 2.506 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/4.767, allocations: 21.66 kB / 2.506 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/4.767, allocations: 3.906 kB / 2.506 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/4.767, allocations: 3.75 kB / 2.506 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/4.769, allocations: 1.594 MB / 2.508 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009721/4.77, allocations: 401.6 kB / 2.508 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/4.771, allocations: 13.91 kB / 2.508 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/4.772, allocations: 139.6 kB / 2.508 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/4.772, allocations: 43.95 kB / 2.508 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.897e-05/4.772, allocations: 38.95 kB / 2.508 GB, free: 204.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001897/4.774, allocations: 1.23 MB / 2.51 GB, free: 204.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.71e-07/4.774, allocations: 3.625 kB / 2.51 GB, free: 204.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002464/4.776, allocations: 0.6835 MB / 2.51 GB, free: 204.3 MB / 1.167 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 () * Number of clocked 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.001692/4.778, allocations: 0.9627 MB / 2.511 GB, free: 204.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001665/4.78, allocations: 0.7874 MB / 2.512 GB, free: 204 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/4.78, allocations: 7.094 kB / 2.512 GB, free: 204 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006669/4.78, allocations: 383.7 kB / 2.512 GB, free: 204 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00585/4.786, allocations: 1.256 MB / 2.514 GB, free: 204 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006064/4.792, allocations: 3.711 MB / 2.517 GB, free: 202.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/4.793, allocations: 1.447 MB / 2.519 GB, free: 201.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00248/4.796, allocations: 390.2 kB / 2.519 GB, free: 201.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/4.796, allocations: 156.2 kB / 2.519 GB, free: 201.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.674e-06/4.796, allocations: 0 / 2.519 GB, free: 201.6 MB / 1.167 GB Notification: Performance of Templates: time 0.07334/4.87, allocations: 43.52 MB / 2.562 GB, free: 192.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches