Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00151/0.00151, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002114/0.002114, allocations: 218.1 kB / 23.01 MB, free: 5.125 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.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.877/2.877, allocations: 0.49 GB / 0.7958 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001867/0.001867, allocations: 62.84 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2879, allocations: 176.1 MB / 1.327 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07795/0.3659, allocations: 78.92 MB / 1.404 GB, free: 2.152 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.3916, allocations: 18.99 MB / 1.423 GB, free: 15.12 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.3944, allocations: 154.6 kB / 1.423 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002754/0.3972, allocations: 1.308 MB / 1.424 GB, free: 13.66 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008453/0.4056, allocations: 3.896 MB / 1.428 GB, free: 9.742 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.4104, allocations: 2.2 MB / 1.43 GB, free: 7.559 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008484/0.4189, allocations: 6.858 MB / 1.437 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.421, allocations: 1.603 MB / 1.438 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/0.4263, allocations: 2.728 MB / 1.441 GB, free: 12.31 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.4287, allocations: 1.832 MB / 1.443 GB, free: 10.47 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002775/0.4289, allocations: 200 kB / 1.443 GB, free: 10.27 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003474/0.4324, allocations: 1.766 MB / 1.445 GB, free: 8.504 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005213/0.4329, allocations: 0.564 MB / 1.445 GB, free: 7.938 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.4342, allocations: 1.252 MB / 1.447 GB, free: 6.68 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.439, allocations: 3.862 MB / 1.45 GB, free: 2.805 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.439, allocations: 4 kB / 1.45 GB, free: 2.801 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.533e-06/0.439, allocations: 0 / 1.45 GB, free: 2.801 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.986e-05/0.4391, allocations: 0 / 1.45 GB, free: 2.801 MB / 1.139 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.004176/0.4432, allocations: 2.726 MB / 1.453 GB, free: 24 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4433, allocations: 12.03 kB / 1.453 GB, free: 12 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/0.4439, allocations: 276.6 kB / 1.453 GB, free: 15.74 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.4472, allocations: 1.967 MB / 1.455 GB, free: 13.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.4473, allocations: 110.7 kB / 1.455 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.4474, allocations: 147.9 kB / 1.455 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.4499, allocations: 1.516 MB / 1.457 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.4499, allocations: 0 / 1.457 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.45, allocations: 63.94 kB / 1.457 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.4501, allocations: 40 kB / 1.457 GB, free: 11.78 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.4522, allocations: 1.122 MB / 1.458 GB, free: 10.65 MB / 1.154 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.00829/0.4605, allocations: 7.85 MB / 1.466 GB, free: 2.148 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008803/0.4613, allocations: 444.3 kB / 1.466 GB, free: 1.707 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.462, allocations: 314.2 kB / 1.466 GB, free: 1.398 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/0.4623, allocations: 104.4 kB / 1.467 GB, free: 1.297 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.4624, allocations: 51 kB / 1.467 GB, free: 1.238 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 1.934e-06/0.4624, allocations: 0 / 1.467 GB, free: 1.238 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002005/0.4644, allocations: 0.9682 MB / 1.468 GB, free: 268 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4644, allocations: 67.84 kB / 1.468 GB, free: 188 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.4666, allocations: 1.799 MB / 1.469 GB, free: 14.34 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/0.4667, allocations: 45.7 kB / 1.469 GB, free: 14.29 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000815/0.4675, allocations: 0.949 MB / 1.47 GB, free: 13.34 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.4677, allocations: 226 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.468, allocations: 230.8 kB / 1.471 GB, free: 12.89 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4681, allocations: 345.9 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.4688, allocations: 334.4 kB / 1.471 GB, free: 12.21 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009615/0.4697, allocations: 0.6938 MB / 1.472 GB, free: 11.37 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.4713, allocations: 1.009 MB / 1.473 GB, free: 10.22 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4713, allocations: 4 kB / 1.473 GB, free: 10.22 MB / 1.17 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002168/0.4735, allocations: 1.227 MB / 1.474 GB, free: 8.98 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4735, allocations: 8 kB / 1.474 GB, free: 8.973 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4735, allocations: 16.09 kB / 1.474 GB, free: 8.957 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.4735, allocations: 16 kB / 1.474 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/0.4745, allocations: 287.5 kB / 1.475 GB, free: 8.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.4745, allocations: 23.88 kB / 1.475 GB, free: 8.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.4755, allocations: 170.9 kB / 1.475 GB, free: 8.469 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/0.4756, allocations: 51.98 kB / 1.475 GB, free: 8.418 MB / 1.17 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.0006244/0.4762, allocations: 433.5 kB / 1.475 GB, free: 7.984 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.4765, allocations: 206.7 kB / 1.475 GB, free: 7.781 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4782, allocations: 0.8803 MB / 1.476 GB, free: 6.895 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.4782, allocations: 8 kB / 1.476 GB, free: 6.887 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4782, allocations: 3.938 kB / 1.476 GB, free: 6.883 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/0.4795, allocations: 0.8017 MB / 1.477 GB, free: 6.031 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.4833, allocations: 2.433 MB / 1.48 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.4834, allocations: 4 kB / 1.48 GB, free: 3.512 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007358/0.4841, allocations: 176 kB / 1.48 GB, free: 3.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.4841, allocations: 12 kB / 1.48 GB, free: 3.328 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.4841, allocations: 19.92 kB / 1.48 GB, free: 3.309 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.4841, allocations: 7.938 kB / 1.48 GB, free: 3.301 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4841, allocations: 4 kB / 1.48 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.4864, allocations: 1.359 MB / 1.481 GB, free: 1.898 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/0.487, allocations: 302.4 kB / 1.481 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.4872, allocations: 12 kB / 1.481 GB, free: 1.59 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.4881, allocations: 75.84 kB / 1.481 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4882, allocations: 52.34 kB / 1.481 GB, free: 1.461 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.4882, allocations: 35.97 kB / 1.481 GB, free: 1.426 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001615/0.4899, allocations: 1.248 MB / 1.483 GB, free: 164 kB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.4899, allocations: 0 / 1.483 GB, free: 164 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.001566/0.4914, allocations: 0.6626 MB / 1.483 GB, free: 15.5 MB / 1.186 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.0009029/0.4923, allocations: 0.5979 MB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.4939, allocations: 0.7892 MB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4939, allocations: 4 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.4946, allocations: 335.1 kB / 1.485 GB, free: 13.78 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/0.4989, allocations: 1.202 MB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.5036, allocations: 3.168 MB / 1.489 GB, free: 9.363 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009924/0.5046, allocations: 1.392 MB / 1.491 GB, free: 7.941 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.505, allocations: 155.4 kB / 1.491 GB, free: 7.789 MB / 1.186 GB Notification: Performance of SimCode: time 6.32e-07/0.505, allocations: 0 / 1.491 GB, free: 7.789 MB / 1.186 GB Notification: Performance of Templates: time 0.04782/0.5528, allocations: 35.28 MB / 1.525 GB, free: 4.805 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.974793102010153]