Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001779/0.001779, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002248/0.002248, allocations: 217.2 kB / 22.99 MB, free: 4.914 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.466/3.466, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [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.002152/0.002152, allocations: 63.45 kB / 1.187 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4464, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003195/0.4496, allocations: 1.446 MB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.4544, allocations: 2.674 MB / 1.369 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.4544, allocations: 4 kB / 1.369 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.4545, allocations: 7.984 kB / 1.369 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.4545, allocations: 15.8 kB / 1.369 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/0.4591, allocations: 1.638 MB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.4592, allocations: 43.72 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.945e-05/0.4593, allocations: 4 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.4594, allocations: 15.94 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.4594, allocations: 19.86 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.4594, allocations: 0 / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.4623, allocations: 1.486 MB / 1.372 GB, free: 6.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.4623, allocations: 0 / 1.372 GB, free: 6.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.4624, allocations: 19.86 kB / 1.372 GB, free: 6.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.464, allocations: 1.099 MB / 1.373 GB, free: 5.109 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4641, allocations: 4 kB / 1.373 GB, free: 5.105 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4641, allocations: 0 / 1.373 GB, free: 5.105 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4641, allocations: 0 / 1.373 GB, free: 5.105 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006656/0.4647, allocations: 476 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4648, allocations: 8.031 kB / 1.373 GB, free: 4.602 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.4648, allocations: 88.17 kB / 1.374 GB, free: 4.516 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.465, allocations: 196.5 kB / 1.374 GB, free: 4.301 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/0.4651, allocations: 158.9 kB / 1.374 GB, free: 4.145 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.4652, allocations: 150.9 kB / 1.374 GB, free: 3.996 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.4652, allocations: 109 kB / 1.374 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.4653, allocations: 75.28 kB / 1.374 GB, free: 3.809 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.4653, allocations: 154.6 kB / 1.374 GB, free: 3.656 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.4654, allocations: 150.6 kB / 1.374 GB, free: 3.508 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-05/0.4655, allocations: 154.6 kB / 1.375 GB, free: 3.355 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.4658, allocations: 409.6 kB / 1.375 GB, free: 2.926 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.4659, allocations: 177.1 kB / 1.375 GB, free: 2.742 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.4659, allocations: 88.12 kB / 1.375 GB, free: 2.652 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.466, allocations: 79.22 kB / 1.375 GB, free: 2.574 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/0.466, allocations: 109.8 kB / 1.375 GB, free: 2.457 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.466, allocations: 0 / 1.375 GB, free: 2.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.692e-05/0.4661, allocations: 33.59 kB / 1.375 GB, free: 2.418 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.4662, allocations: 134.7 kB / 1.376 GB, free: 2.273 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4664, allocations: 133.8 kB / 1.376 GB, free: 2.133 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4664, allocations: 25.7 kB / 1.376 GB, free: 2.102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.4665, allocations: 96.08 kB / 1.376 GB, free: 2.004 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.4665, allocations: 0 / 1.376 GB, free: 2.004 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.4665, allocations: 21.75 kB / 1.376 GB, free: 1.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4666, allocations: 322.8 kB / 1.376 GB, free: 1.652 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.4667, allocations: 4 kB / 1.376 GB, free: 1.648 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.4667, allocations: 4 kB / 1.376 GB, free: 1.645 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.4667, allocations: 16.91 kB / 1.376 GB, free: 1.625 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4667, allocations: 4 kB / 1.376 GB, free: 1.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/0.4669, allocations: 49.66 kB / 1.376 GB, free: 1.566 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4669, allocations: 7.938 kB / 1.376 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.4669, allocations: 4 kB / 1.376 GB, free: 1.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4669, allocations: 0 / 1.376 GB, free: 1.555 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.4669, allocations: 0 / 1.376 GB, free: 1.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4669, allocations: 8 kB / 1.376 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.4669, allocations: 4 kB / 1.376 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.467, allocations: 4 kB / 1.376 GB, free: 1.539 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001171/0.4671, allocations: 185.1 kB / 1.376 GB, free: 1.348 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.4672, allocations: 112.9 kB / 1.377 GB, free: 1.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.544e-05/0.4672, allocations: 108.8 kB / 1.377 GB, free: 1.113 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-05/0.4673, allocations: 184.1 kB / 1.377 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-05/0.4674, allocations: 184.2 kB / 1.377 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.442e-05/0.4675, allocations: 184.2 kB / 1.377 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.4677, allocations: 360.9 kB / 1.378 GB, free: 164 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/0.4677, allocations: 105 kB / 1.378 GB, free: 52 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.4678, allocations: 104.9 kB / 1.378 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.124e-05/0.4679, allocations: 184.3 kB / 1.378 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/0.468, allocations: 188.1 kB / 1.378 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-05/0.468, allocations: 176.3 kB / 1.378 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.538e-05/0.4681, allocations: 184.2 kB / 1.378 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.4683, allocations: 307.8 kB / 1.379 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.4684, allocations: 116.9 kB / 1.379 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.4685, allocations: 180.2 kB / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.4686, allocations: 108.9 kB / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.4686, allocations: 176.3 kB / 1.379 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.4687, allocations: 113 kB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.081e-05/0.4688, allocations: 105.2 kB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4688, allocations: 0 / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008158/0.4696, allocations: 295 kB / 1.38 GB, free: 13.77 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001122/0.4707, allocations: 0.5518 MB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.4708, allocations: 41.69 kB / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4708, allocations: 0 / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.4708, allocations: 0 / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.4713, allocations: 459.7 kB / 1.381 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.4717, allocations: 278.5 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.679e-05/0.4718, allocations: 63.59 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.4718, allocations: 11.5 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.4718, allocations: 4 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of Templates: time 0.009323/0.4811, allocations: 4.942 MB / 1.386 GB, free: 7.359 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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: 13.902612104080617]