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.541/1.541, allocations: 249.5 MB / 257 MB, free: 6.895 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.001116/0.001116, allocations: 176.9 kB / 316.3 MB, free: 3.246 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.704/1.704, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.001049/0.001049, allocations: 86.48 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.995e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2961, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.741/2.037, allocations: 405.9 MB / 1.282 GB, free: 327 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/2.037, allocations: 86.56 kB / 1.282 GB, free: 327 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.764/4.801, allocations: 0.7671 GB / 2.049 GB, free: 123 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.254e-06/4.801, allocations: 0 / 2.049 GB, free: 123 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002224/4.801, allocations: 59.56 kB / 2.049 GB, free: 123 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.005395/4.807, allocations: 2.166 MB / 2.051 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/4.807, allocations: 7.344 kB / 2.051 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/4.808, allocations: 263.9 kB / 2.051 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04651/4.854, allocations: 23.45 MB / 2.074 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/4.854, allocations: 45.97 kB / 2.074 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/4.855, allocations: 92.28 kB / 2.074 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001757/4.856, allocations: 0.8654 MB / 2.075 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/4.858, allocations: 1.182 MB / 2.076 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/4.858, allocations: 11.94 kB / 2.076 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/4.858, allocations: 0 / 2.076 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/4.858, allocations: 49.48 kB / 2.076 GB, free: 120.5 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.007896/4.866, allocations: 7.234 MB / 2.083 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/4.867, allocations: 425 kB / 2.084 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/4.867, allocations: 266.2 kB / 2.084 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007809/4.868, allocations: 1.159 MB / 2.085 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/4.868, allocations: 45.67 kB / 2.085 GB, free: 115 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 3.737e-06/4.868, allocations: 4.625 kB / 2.085 GB, free: 115 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.001542/4.87, allocations: 0.6115 MB / 2.086 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/4.87, allocations: 55.84 kB / 2.086 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/4.871, allocations: 1.192 MB / 2.087 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/4.872, allocations: 29.64 kB / 2.087 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000621/4.872, allocations: 0.9496 MB / 2.088 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/4.872, allocations: 201 kB / 2.088 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/4.872, allocations: 0 / 2.088 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/4.872, allocations: 343.5 kB / 2.088 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/4.873, allocations: 219.6 kB / 2.089 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/4.873, allocations: 0.5781 MB / 2.089 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/4.874, allocations: 351.2 kB / 2.09 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/4.874, allocations: 3.719 kB / 2.09 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001519/4.876, allocations: 0.89 MB / 2.09 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/4.876, allocations: 7.812 kB / 2.09 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/4.876, allocations: 11.03 kB / 2.09 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/4.876, allocations: 23.77 kB / 2.09 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/4.876, allocations: 232.6 kB / 2.091 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/4.876, allocations: 22.19 kB / 2.091 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/4.878, allocations: 167.5 kB / 2.091 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/4.878, allocations: 50.45 kB / 2.091 GB, free: 113.2 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.0001678/4.878, allocations: 141.9 kB / 2.091 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/4.878, allocations: 164.5 kB / 2.091 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/4.88, allocations: 0.7286 MB / 2.092 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/4.88, allocations: 11.39 kB / 2.092 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/4.88, allocations: 0 / 2.092 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008491/4.881, allocations: 0.6751 MB / 2.093 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/4.884, allocations: 2.139 MB / 2.095 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/4.884, allocations: 2.344 kB / 2.095 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/4.885, allocations: 181.9 kB / 2.095 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/4.885, allocations: 3.75 kB / 2.095 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/4.885, allocations: 15.38 kB / 2.095 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/4.885, allocations: 6.938 kB / 2.095 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/4.885, allocations: 3.75 kB / 2.095 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/4.887, allocations: 1.295 MB / 2.096 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/4.888, allocations: 364.8 kB / 2.097 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/4.888, allocations: 0 / 2.097 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/4.889, allocations: 111.1 kB / 2.097 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/4.889, allocations: 53.8 kB / 2.097 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/4.889, allocations: 38.95 kB / 2.097 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001208/4.89, allocations: 0.8891 MB / 2.098 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/4.89, allocations: 3.906 kB / 2.098 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00239/4.893, allocations: 0.6929 MB / 2.098 GB, free: 111.4 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.00162/4.894, allocations: 0.9584 MB / 2.099 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00106/4.895, allocations: 0.6046 MB / 2.1 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/4.895, allocations: 3.688 kB / 2.1 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004015/4.896, allocations: 303.9 kB / 2.1 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/4.901, allocations: 0.9536 MB / 2.101 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/4.906, allocations: 2.311 MB / 2.103 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/4.907, allocations: 1.437 MB / 2.105 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001889/4.909, allocations: 336.6 kB / 2.105 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/4.91, allocations: 134 kB / 2.105 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/4.91, allocations: 0 / 2.105 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.05425/4.964, allocations: 32.57 MB / 2.137 GB, free: 106 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