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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.797/2.797, allocations: 475.9 MB / 0.7699 GB, free: 4.793 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 72.97 kB / 1.117 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3931, allocations: 169.9 MB / 1.283 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08862/0.4817, allocations: 71 MB / 1.352 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03062/0.5123, allocations: 17.55 MB / 1.37 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006224/0.5185, allocations: 154.7 kB / 1.37 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004545/0.5231, allocations: 1.23 MB / 1.371 GB, free: 9.492 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.536, allocations: 3.871 MB / 1.375 GB, free: 5.605 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007106/0.5431, allocations: 2.146 MB / 1.377 GB, free: 3.477 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01211/0.5552, allocations: 6.794 MB / 1.383 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00349/0.5587, allocations: 1.576 MB / 1.385 GB, free: 11.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006616/0.5653, allocations: 2.426 MB / 1.387 GB, free: 8.621 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003861/0.5692, allocations: 1.785 MB / 1.389 GB, free: 6.828 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005208/0.5697, allocations: 200 kB / 1.389 GB, free: 6.633 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.5738, allocations: 1.333 MB / 1.391 GB, free: 5.297 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007269/0.5746, allocations: 0.5719 MB / 1.391 GB, free: 4.723 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.5763, allocations: 1.007 MB / 1.392 GB, free: 3.711 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006915/0.5832, allocations: 3.788 MB / 1.396 GB, free: 15.91 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5832, allocations: 0 / 1.396 GB, free: 15.91 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5832, allocations: 0 / 1.396 GB, free: 15.91 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.895e-05/0.5833, allocations: 0 / 1.396 GB, free: 15.91 MB / 1.107 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.004887/0.5882, allocations: 2.709 MB / 1.398 GB, free: 13.15 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5882, allocations: 8.031 kB / 1.398 GB, free: 13.14 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007566/0.589, allocations: 283.3 kB / 1.399 GB, free: 12.87 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/0.5928, allocations: 1.951 MB / 1.401 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.5929, allocations: 110.7 kB / 1.401 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.5932, allocations: 148 kB / 1.401 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.5964, allocations: 1.821 MB / 1.403 GB, free: 8.648 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.5964, allocations: 7.938 kB / 1.403 GB, free: 8.641 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.5966, allocations: 59.98 kB / 1.403 GB, free: 8.582 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.5967, allocations: 39.98 kB / 1.403 GB, free: 8.543 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.5991, allocations: 1.122 MB / 1.404 GB, free: 7.414 MB / 1.107 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.008484/0.6076, allocations: 5.089 MB / 1.409 GB, free: 2.188 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.6087, allocations: 434.1 kB / 1.409 GB, free: 1.754 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/0.6094, allocations: 318.7 kB / 1.409 GB, free: 1.441 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/0.6099, allocations: 108.4 kB / 1.41 GB, free: 1.336 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.61, allocations: 43.16 kB / 1.41 GB, free: 1.285 MB / 1.107 GB Notification: Performance of pre-optimization done (n=59): time 2.645e-06/0.61, allocations: 3.938 kB / 1.41 GB, free: 1.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=59): time 0.002677/0.6126, allocations: 0.941 MB / 1.411 GB, free: 340 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.6127, allocations: 59.91 kB / 1.411 GB, free: 268 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/0.6152, allocations: 1.547 MB / 1.412 GB, free: 14.71 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.6154, allocations: 49.7 kB / 1.412 GB, free: 14.66 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.6164, allocations: 0.959 MB / 1.413 GB, free: 13.69 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.6167, allocations: 226 kB / 1.413 GB, free: 13.47 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.617, allocations: 226.8 kB / 1.414 GB, free: 13.24 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.6172, allocations: 345.9 kB / 1.414 GB, free: 12.9 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007673/0.618, allocations: 330.4 kB / 1.414 GB, free: 12.57 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.6194, allocations: 0.9738 MB / 1.415 GB, free: 11.38 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.6212, allocations: 1.009 MB / 1.416 GB, free: 10.23 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.6212, allocations: 4 kB / 1.416 GB, free: 10.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00281/0.624, allocations: 1.204 MB / 1.417 GB, free: 9.016 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.624, allocations: 16.16 kB / 1.417 GB, free: 9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.6241, allocations: 11.98 kB / 1.417 GB, free: 8.988 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.561e-05/0.6241, allocations: 16 kB / 1.417 GB, free: 8.973 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.6252, allocations: 287.5 kB / 1.418 GB, free: 8.691 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.6252, allocations: 19.94 kB / 1.418 GB, free: 8.672 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.6266, allocations: 139.2 kB / 1.418 GB, free: 8.535 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6267, allocations: 55.92 kB / 1.418 GB, free: 8.48 MB / 1.123 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.0009927/0.6277, allocations: 441.4 kB / 1.418 GB, free: 8.039 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.6281, allocations: 174.9 kB / 1.418 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.6301, allocations: 0.8579 MB / 1.419 GB, free: 7 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.6301, allocations: 8 kB / 1.419 GB, free: 6.992 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6301, allocations: 4 kB / 1.419 GB, free: 6.988 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/0.6316, allocations: 0.8018 MB / 1.42 GB, free: 6.137 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.6363, allocations: 2.072 MB / 1.422 GB, free: 4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6363, allocations: 8 kB / 1.422 GB, free: 3.992 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.6371, allocations: 176 kB / 1.422 GB, free: 3.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.6371, allocations: 8 kB / 1.422 GB, free: 3.812 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.6371, allocations: 23.92 kB / 1.422 GB, free: 3.789 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.6371, allocations: 8 kB / 1.422 GB, free: 3.781 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6371, allocations: 3.938 kB / 1.422 GB, free: 3.777 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.6399, allocations: 1.325 MB / 1.424 GB, free: 2.414 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007111/0.6406, allocations: 266.7 kB / 1.424 GB, free: 2.152 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.6408, allocations: 15.94 kB / 1.424 GB, free: 2.137 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.6417, allocations: 63.81 kB / 1.424 GB, free: 2.074 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.6418, allocations: 52.48 kB / 1.424 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.162e-05/0.6419, allocations: 35.97 kB / 1.424 GB, free: 1.988 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00159/0.6435, allocations: 1.012 MB / 1.425 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6435, allocations: 4 kB / 1.425 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002123/0.6456, allocations: 0.6935 MB / 1.426 GB, free: 292 kB / 1.123 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.00117/0.6468, allocations: 0.5858 MB / 1.426 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.6487, allocations: 0.7771 MB / 1.427 GB, free: 14.93 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6487, allocations: 4.5 kB / 1.427 GB, free: 14.92 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.6495, allocations: 342.5 kB / 1.427 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/0.6536, allocations: 0.9205 MB / 1.428 GB, free: 13.69 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.6594, allocations: 3.055 MB / 1.431 GB, free: 10.57 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009602/0.6604, allocations: 0.8304 MB / 1.432 GB, free: 9.699 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001229/0.6616, allocations: 334.5 kB / 1.432 GB, free: 9.371 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6619, allocations: 127.4 kB / 1.432 GB, free: 9.246 MB / 1.139 GB Notification: Performance of SimCode: time 9.42e-07/0.6619, allocations: 0 / 1.432 GB, free: 9.246 MB / 1.139 GB Notification: Performance of Templates: time 0.0707/0.7326, allocations: 39.52 MB / 1.471 GB, free: 2.512 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.567924566566944]