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.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 181.1 kB / 326.5 MB, free: 2.242 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.825/1.825, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008983/0.0008983, allocations: 96.2 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 10.39 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2591, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9099/1.169, allocations: 405.6 MB / 1.296 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/1.17, allocations: 99.16 kB / 1.296 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.456/3.625, allocations: 0.774 GB / 2.07 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.224e-06/3.625, allocations: 0 / 2.07 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003056/3.625, allocations: 59.98 kB / 2.07 GB, free: 14.19 MB / 0.8855 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.006915/3.632, allocations: 2.564 MB / 2.073 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/3.632, allocations: 8.031 kB / 2.073 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/3.634, allocations: 265 kB / 2.073 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5008/4.135, allocations: 23.67 MB / 2.096 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/4.135, allocations: 107.1 kB / 2.096 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/4.135, allocations: 140.6 kB / 2.097 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/4.138, allocations: 1.47 MB / 2.098 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/4.138, allocations: 10.77 kB / 2.098 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/4.138, allocations: 53.41 kB / 2.098 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/4.138, allocations: 42.3 kB / 2.098 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/4.14, allocations: 1.107 MB / 2.099 GB, free: 115.7 MB / 0.8855 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.007321/4.148, allocations: 7.536 MB / 2.106 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009354/4.148, allocations: 0.5137 MB / 2.107 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/4.149, allocations: 1.158 MB / 2.108 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/4.149, allocations: 41.91 kB / 2.108 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 2.514e-06/4.149, allocations: 1.75 kB / 2.108 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.002194/4.151, allocations: 1.044 MB / 2.109 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/4.151, allocations: 58.03 kB / 2.109 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/4.153, allocations: 1.534 MB / 2.111 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/4.153, allocations: 38.48 kB / 2.111 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/4.154, allocations: 0.9412 MB / 2.112 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/4.154, allocations: 217.7 kB / 2.112 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/4.154, allocations: 16.78 kB / 2.112 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.331e-05/4.154, allocations: 339.5 kB / 2.112 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/4.155, allocations: 306.6 kB / 2.113 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000658/4.156, allocations: 0.674 MB / 2.113 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/4.156, allocations: 431.6 kB / 2.114 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/4.156, allocations: 0 / 2.114 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001751/4.158, allocations: 1.135 MB / 2.115 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/4.158, allocations: 10.34 kB / 2.115 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/4.158, allocations: 7.594 kB / 2.115 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/4.158, allocations: 18.81 kB / 2.115 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/4.159, allocations: 229.8 kB / 2.115 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/4.159, allocations: 25.7 kB / 2.115 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/4.16, allocations: 236.7 kB / 2.115 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/4.16, allocations: 58.34 kB / 2.115 GB, free: 108.6 MB / 0.8855 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.0007702/4.161, allocations: 431.3 kB / 2.116 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/4.161, allocations: 191.8 kB / 2.116 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/4.163, allocations: 0.9241 MB / 2.117 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/4.163, allocations: 3.844 kB / 2.117 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/4.163, allocations: 3.219 kB / 2.117 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/4.164, allocations: 0.8493 MB / 2.118 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/4.168, allocations: 2.492 MB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/4.168, allocations: 5.469 kB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/4.168, allocations: 183.6 kB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/4.168, allocations: 7.125 kB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/4.168, allocations: 15.62 kB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/4.168, allocations: 15.12 kB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/4.168, allocations: 0 / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/4.17, allocations: 1.586 MB / 2.122 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007151/4.171, allocations: 395.2 kB / 2.122 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/4.171, allocations: 19.88 kB / 2.122 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/4.172, allocations: 132.8 kB / 2.122 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/4.172, allocations: 52.34 kB / 2.122 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/4.172, allocations: 30.3 kB / 2.122 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001325/4.174, allocations: 1.221 MB / 2.124 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/4.174, allocations: 0 / 2.124 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001682/4.176, allocations: 0.689 MB / 2.124 GB, free: 106.7 MB / 0.8855 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.001253/4.177, allocations: 0.9608 MB / 2.125 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001309/4.178, allocations: 0.7897 MB / 2.126 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/4.178, allocations: 3.781 kB / 2.126 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006111/4.179, allocations: 390 kB / 2.126 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/4.183, allocations: 1.254 MB / 2.128 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/4.187, allocations: 3.689 MB / 2.131 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/4.188, allocations: 1.439 MB / 2.133 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001547/4.19, allocations: 379.5 kB / 2.133 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/4.19, allocations: 155.7 kB / 2.133 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.162e-06/4.19, allocations: 0 / 2.133 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.05814/4.248, allocations: 43.47 MB / 2.176 GB, free: 102.3 MB / 0.8855 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