Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004097, allocations: 8 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8876/0.888, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07449/0.9626, allocations: 71.16 MB / 1.092 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02692/0.9896, allocations: 17.72 MB / 1.109 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004826/0.9944, allocations: 99.31 kB / 1.109 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003992/0.9985, allocations: 0.8694 MB / 1.11 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/1.009, allocations: 2.84 MB / 1.113 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005505/1.015, allocations: 1.486 MB / 1.114 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01131/1.026, allocations: 7.586 MB / 1.122 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/1.029, allocations: 1.449 MB / 1.123 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/1.034, allocations: 1.867 MB / 1.125 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003836/1.038, allocations: 1.594 MB / 1.127 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004856/1.039, allocations: 76 kB / 1.127 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004732/1.043, allocations: 0.8962 MB / 1.128 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006458/1.044, allocations: 390.2 kB / 1.128 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/1.045, allocations: 488.6 kB / 1.128 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004697/1.05, allocations: 2.671 MB / 1.131 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.05, allocations: 8 kB / 1.131 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.252e-06/1.05, allocations: 3.938 kB / 1.131 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.319e-05/1.05, allocations: 0 / 1.131 GB, free: 0.5742 MB / 0.8731 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.005063/1.055, allocations: 2.314 MB / 1.133 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.055, allocations: 8.031 kB / 1.133 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006807/1.056, allocations: 269 kB / 1.133 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/1.06, allocations: 1.909 MB / 1.135 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/1.06, allocations: 106.7 kB / 1.135 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/1.06, allocations: 143.9 kB / 1.136 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003016/1.063, allocations: 1.528 MB / 1.137 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/1.063, allocations: 8 kB / 1.137 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.063, allocations: 52 kB / 1.137 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/1.063, allocations: 44 kB / 1.137 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/1.066, allocations: 1.161 MB / 1.138 GB, free: 8.844 MB / 0.8887 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.008933/1.075, allocations: 7.583 MB / 1.146 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009995/1.076, allocations: 0.4888 MB / 1.146 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/1.076, allocations: 350.3 kB / 1.147 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/1.077, allocations: 1.156 MB / 1.148 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/1.077, allocations: 47.16 kB / 1.148 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 3.026e-06/1.077, allocations: 0 / 1.148 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002486/1.08, allocations: 1.016 MB / 1.149 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.08, allocations: 63.89 kB / 1.149 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/1.083, allocations: 1.74 MB / 1.15 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-05/1.083, allocations: 37.7 kB / 1.151 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009425/1.084, allocations: 0.9317 MB / 1.151 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/1.084, allocations: 217 kB / 1.152 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/1.084, allocations: 24 kB / 1.152 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002646/1.084, allocations: 349.9 kB / 1.152 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/1.085, allocations: 342.4 kB / 1.152 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009774/1.086, allocations: 0.7094 MB / 1.153 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008492/1.087, allocations: 462.7 kB / 1.153 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.087, allocations: 4 kB / 1.153 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002643/1.09, allocations: 1.252 MB / 1.155 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/1.09, allocations: 11.95 kB / 1.155 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/1.09, allocations: 8.875 kB / 1.155 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/1.09, allocations: 20 kB / 1.155 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.091, allocations: 323.5 kB / 1.155 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/1.091, allocations: 23.92 kB / 1.155 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/1.092, allocations: 250.4 kB / 1.155 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.092, allocations: 48 kB / 1.155 GB, free: 6.34 MB / 0.9044 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 (135): * Single equations (assignments): 135 * 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.0008348/1.093, allocations: 441.4 kB / 1.156 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/1.094, allocations: 189.7 kB / 1.156 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/1.096, allocations: 0.9155 MB / 1.157 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/1.096, allocations: 11.98 kB / 1.157 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.096, allocations: 0 / 1.157 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/1.097, allocations: 0.8269 MB / 1.158 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/1.102, allocations: 2.478 MB / 1.16 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.102, allocations: 4 kB / 1.16 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/1.102, allocations: 208 kB / 1.16 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.66e-05/1.102, allocations: 4 kB / 1.16 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/1.102, allocations: 19.98 kB / 1.16 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.102, allocations: 4 kB / 1.16 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.102, allocations: 7.938 kB / 1.16 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/1.105, allocations: 1.398 MB / 1.162 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000966/1.106, allocations: 402.3 kB / 1.162 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.106, allocations: 16 kB / 1.162 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.107, allocations: 131.6 kB / 1.162 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.107, allocations: 56.44 kB / 1.162 GB, free: 15.03 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/1.107, allocations: 35.98 kB / 1.162 GB, free: 15 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001946/1.109, allocations: 1.196 MB / 1.163 GB, free: 13.78 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.7e-07/1.109, allocations: 0 / 1.163 GB, free: 13.78 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00233/1.112, allocations: 0.6279 MB / 1.164 GB, free: 13.15 MB / 0.92 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.001077/1.113, allocations: 0.5493 MB / 1.165 GB, free: 12.61 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.115, allocations: 0.8547 MB / 1.165 GB, free: 11.76 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.115, allocations: 0 / 1.165 GB, free: 11.76 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/1.115, allocations: 376.3 kB / 1.166 GB, free: 11.39 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005353/1.121, allocations: 1.208 MB / 1.167 GB, free: 10.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00626/1.127, allocations: 3.707 MB / 1.171 GB, free: 6.43 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.128, allocations: 1.405 MB / 1.172 GB, free: 4.992 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00193/1.13, allocations: 380.3 kB / 1.172 GB, free: 4.625 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/1.13, allocations: 147.4 kB / 1.172 GB, free: 4.48 MB / 0.92 GB Notification: Performance of SimCode: time 9.92e-07/1.13, allocations: 0 / 1.172 GB, free: 4.48 MB / 0.92 GB Notification: Performance of Templates: time 0.07075/1.201, allocations: 38.59 MB / 1.21 GB, free: 14.41 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches