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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001803/0.001811, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.789/2.789, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 63.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.6857, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09451/0.7803, allocations: 77.18 MB / 1.093 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03197/0.8123, allocations: 18.88 MB / 1.111 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004509/0.8169, allocations: 111.3 kB / 1.111 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.8213, allocations: 1.238 MB / 1.112 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.8329, allocations: 3.631 MB / 1.116 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.8392, allocations: 2.075 MB / 1.118 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.8498, allocations: 6.668 MB / 1.124 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004156/0.854, allocations: 2.084 MB / 1.127 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006758/0.8607, allocations: 2.291 MB / 1.129 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003885/0.8647, allocations: 1.75 MB / 1.13 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008161/0.8655, allocations: 203.9 kB / 1.131 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005619/0.8711, allocations: 1.618 MB / 1.132 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.8723, allocations: 0.5371 MB / 1.133 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.8754, allocations: 1.252 MB / 1.134 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006748/0.8822, allocations: 3.692 MB / 1.138 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8822, allocations: 0 / 1.138 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8822, allocations: 4 kB / 1.138 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.358e-05/0.8823, allocations: 0 / 1.138 GB, free: 6.855 MB / 0.8887 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.007031/0.8893, allocations: 2.719 MB / 1.14 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.8894, allocations: 8.031 kB / 1.14 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.8906, allocations: 266 kB / 1.141 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/0.8955, allocations: 1.904 MB / 1.142 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.8957, allocations: 106.7 kB / 1.142 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/0.8961, allocations: 143.9 kB / 1.143 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.9005, allocations: 1.518 MB / 1.144 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.9006, allocations: 7.938 kB / 1.144 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.9008, allocations: 60.05 kB / 1.144 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/0.9009, allocations: 40 kB / 1.144 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.9043, allocations: 1.13 MB / 1.145 GB, free: 14.76 MB / 0.9044 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.01195/0.9163, allocations: 7.657 MB / 1.153 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.9179, allocations: 480.5 kB / 1.153 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009619/0.9188, allocations: 330.3 kB / 1.154 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.9202, allocations: 1.148 MB / 1.155 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/0.9203, allocations: 51.12 kB / 1.155 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 4.338e-06/0.9203, allocations: 0 / 1.155 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.003685/0.924, allocations: 0.9652 MB / 1.156 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.9241, allocations: 55.97 kB / 1.156 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/0.9279, allocations: 1.783 MB / 1.157 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.9281, allocations: 45.7 kB / 1.158 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.9293, allocations: 0.9356 MB / 1.158 GB, free: 420 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.9296, allocations: 216.9 kB / 1.159 GB, free: 200 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004728/0.9301, allocations: 230.7 kB / 1.159 GB, free: 15.96 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.9303, allocations: 345.9 kB / 1.159 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.9315, allocations: 334.4 kB / 1.16 GB, free: 15.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.9331, allocations: 0.6899 MB / 1.16 GB, free: 14.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.9356, allocations: 1.012 MB / 1.161 GB, free: 13.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.9356, allocations: 0 / 1.161 GB, free: 13.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003744/0.9394, allocations: 1.218 MB / 1.162 GB, free: 12.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.9394, allocations: 8 kB / 1.162 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.9394, allocations: 12 kB / 1.162 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/0.9395, allocations: 19.98 kB / 1.162 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.941, allocations: 287.7 kB / 1.163 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.373e-05/0.9411, allocations: 27.88 kB / 1.163 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.943, allocations: 166.4 kB / 1.163 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.9432, allocations: 51.98 kB / 1.163 GB, free: 11.51 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008123/0.944, allocations: 441.9 kB / 1.163 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.9444, allocations: 193.7 kB / 1.164 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.9463, allocations: 0.8668 MB / 1.164 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/0.9463, allocations: 8 kB / 1.164 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.9464, allocations: 0 / 1.164 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/0.948, allocations: 0.7995 MB / 1.165 GB, free: 9.148 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.9527, allocations: 2.443 MB / 1.168 GB, free: 6.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.9527, allocations: 12.19 kB / 1.168 GB, free: 6.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008494/0.9535, allocations: 179.7 kB / 1.168 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.9536, allocations: 4 kB / 1.168 GB, free: 6.422 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.9536, allocations: 20 kB / 1.168 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.9536, allocations: 4 kB / 1.168 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.9536, allocations: 3.984 kB / 1.168 GB, free: 6.395 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.9563, allocations: 1.335 MB / 1.169 GB, free: 5.016 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007801/0.9571, allocations: 370.5 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.9574, allocations: 15.98 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/0.9584, allocations: 63.91 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.9585, allocations: 52.44 kB / 1.17 GB, free: 4.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.9586, allocations: 39.97 kB / 1.17 GB, free: 4.465 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001878/0.9604, allocations: 1.235 MB / 1.171 GB, free: 3.211 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9605, allocations: 0 / 1.171 GB, free: 3.211 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001934/0.9624, allocations: 0.6551 MB / 1.171 GB, free: 2.555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.9637, allocations: 0.6182 MB / 1.172 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.9659, allocations: 0.8944 MB / 1.173 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9659, allocations: 0 / 1.173 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.9667, allocations: 354.9 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/0.9724, allocations: 1.202 MB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.9777, allocations: 3.097 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.9788, allocations: 1.409 MB / 1.179 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001667/0.9805, allocations: 380.8 kB / 1.179 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.9809, allocations: 151.4 kB / 1.179 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of SimCode: time 8.01e-07/0.9809, allocations: 0 / 1.179 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.07483/1.056, allocations: 41.78 MB / 1.22 GB, free: 1.199 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=400 -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