Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001608/0.001608, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001737/0.001737, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 469.8 MB / 0.7427 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.001931, allocations: 68.19 kB / 0.9087 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3032, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07992/0.3831, allocations: 76.5 MB / 1.139 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02704/0.4102, allocations: 18.75 MB / 1.157 GB, free: 15.03 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003474/0.4137, allocations: 107.3 kB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003424/0.4172, allocations: 1.076 MB / 1.158 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009353/0.4266, allocations: 3.405 MB / 1.162 GB, free: 10.42 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.4317, allocations: 1.933 MB / 1.164 GB, free: 8.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008938/0.4406, allocations: 6.709 MB / 1.17 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.4437, allocations: 2.063 MB / 1.172 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.4491, allocations: 2.343 MB / 1.174 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.452, allocations: 1.808 MB / 1.176 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004225/0.4525, allocations: 196 kB / 1.176 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.4564, allocations: 1.645 MB / 1.178 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006621/0.457, allocations: 0.5371 MB / 1.178 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.4589, allocations: 1.26 MB / 1.18 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.4632, allocations: 2.888 MB / 1.183 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4632, allocations: 0 / 1.183 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4632, allocations: 0 / 1.183 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.428e-05/0.4633, allocations: 0 / 1.183 GB, free: 4.973 MB / 0.9356 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.004895/0.4682, allocations: 2.711 MB / 1.185 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.4683, allocations: 8.031 kB / 1.185 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008369/0.4691, allocations: 269.9 kB / 1.185 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.4725, allocations: 1.969 MB / 1.187 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.843e-05/0.4727, allocations: 114.7 kB / 1.187 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.4729, allocations: 136 kB / 1.188 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.4757, allocations: 1.524 MB / 1.189 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.4757, allocations: 3.938 kB / 1.189 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.4758, allocations: 60 kB / 1.189 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/0.4759, allocations: 39.98 kB / 1.189 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.4782, allocations: 1.122 MB / 1.19 GB, free: 12.82 MB / 0.9512 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.009263/0.4874, allocations: 7.579 MB / 1.198 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4885, allocations: 485.1 kB / 1.198 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.4892, allocations: 330.3 kB / 1.198 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009879/0.4901, allocations: 1.152 MB / 1.2 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.4902, allocations: 39.12 kB / 1.2 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 3.687e-06/0.4902, allocations: 8 kB / 1.2 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.002435/0.4927, allocations: 0.965 MB / 1.201 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.4927, allocations: 59.97 kB / 1.201 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.4952, allocations: 1.759 MB / 1.202 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.4953, allocations: 41.7 kB / 1.202 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008536/0.4962, allocations: 0.9278 MB / 1.203 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.4965, allocations: 217 kB / 1.203 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.4968, allocations: 230.6 kB / 1.204 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.497, allocations: 361.9 kB / 1.204 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.4977, allocations: 330.4 kB / 1.204 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.4987, allocations: 0.686 MB / 1.205 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.5004, allocations: 1.012 MB / 1.206 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.5004, allocations: 0 / 1.206 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002384/0.5028, allocations: 1.218 MB / 1.207 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.5028, allocations: 12 kB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.5029, allocations: 8 kB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.5029, allocations: 16 kB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5039, allocations: 283.6 kB / 1.208 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/0.504, allocations: 23.92 kB / 1.208 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.5055, allocations: 238.4 kB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.699e-05/0.5056, allocations: 55.92 kB / 1.208 GB, free: 9.598 MB / 0.9669 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.0007275/0.5063, allocations: 441.3 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.5066, allocations: 193.7 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.5085, allocations: 0.8682 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.5085, allocations: 8 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5085, allocations: 0 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001394/0.5099, allocations: 0.7995 MB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.5141, allocations: 2.424 MB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.5141, allocations: 7.938 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008227/0.515, allocations: 184 kB / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.515, allocations: 4 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/0.515, allocations: 16 kB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.5151, allocations: 7.984 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5151, allocations: 4 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.5176, allocations: 1.335 MB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/0.5183, allocations: 370.4 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.5185, allocations: 16 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.5196, allocations: 119.6 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5197, allocations: 52.44 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/0.5198, allocations: 35.97 kB / 1.215 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001744/0.5216, allocations: 1.212 MB / 1.216 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5216, allocations: 4 kB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00178/0.5234, allocations: 0.6396 MB / 1.216 GB, free: 0.6484 MB / 0.9669 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.001163/0.5245, allocations: 0.5967 MB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.5266, allocations: 0.8867 MB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.5266, allocations: 4 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007415/0.5274, allocations: 363.4 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/0.5326, allocations: 1.194 MB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.5383, allocations: 3.769 MB / 1.223 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.5394, allocations: 1.384 MB / 1.224 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.5398, allocations: 159.3 kB / 1.224 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.5398, allocations: 0 / 1.224 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of Templates: time 0.5438/1.084, allocations: 34.45 MB / 1.258 GB, free: 174.7 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches