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.001574/0.001574, allocations: 110.2 kB / 19.7 MB, free: 2.25 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.002167/0.002167, allocations: 221.4 kB / 23.01 MB, free: 5.086 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.197/3.197, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.002049/0.002049, allocations: 72.19 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.394, allocations: 180.2 MB / 1.354 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002797/0.3968, allocations: 1.462 MB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004929/0.4017, allocations: 3 MB / 1.359 GB, free: 3.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.4017, allocations: 3.938 kB / 1.359 GB, free: 3.371 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.4018, allocations: 7.922 kB / 1.359 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.4018, allocations: 11.86 kB / 1.359 GB, free: 3.352 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.4061, allocations: 1.717 MB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.4062, allocations: 39.73 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.4062, allocations: 15.92 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.4063, allocations: 11.94 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.4063, allocations: 15.92 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.4063, allocations: 4 kB / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.4089, allocations: 1.755 MB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.4089, allocations: 11.94 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.4089, allocations: 15.86 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.4105, allocations: 1.153 MB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4105, allocations: 4 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4105, allocations: 0 / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.4105, allocations: 0 / 1.363 GB, free: 14.61 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.0006542/0.4112, allocations: 476 kB / 1.364 GB, free: 14.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4112, allocations: 12.03 kB / 1.364 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.4113, allocations: 80.17 kB / 1.364 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.4115, allocations: 203.2 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.4115, allocations: 150.9 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.4116, allocations: 154.9 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.4117, allocations: 113 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.4117, allocations: 75.28 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/0.4118, allocations: 154.5 kB / 1.365 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/0.4118, allocations: 150.6 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.4119, allocations: 158.6 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.4122, allocations: 433 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.4123, allocations: 173.1 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.4124, allocations: 80.14 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.4124, allocations: 79.28 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.4125, allocations: 109.8 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4125, allocations: 0 / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.798e-05/0.4126, allocations: 33.66 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.4126, allocations: 130.7 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4128, allocations: 140.7 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4128, allocations: 25.7 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.4129, allocations: 96.09 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-06/0.4129, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.4129, allocations: 25.69 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.413, allocations: 314.8 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.4131, allocations: 4 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.4131, allocations: 8 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.4131, allocations: 8.859 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4131, allocations: 7.984 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001279/0.4133, allocations: 49.7 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4133, allocations: 12.06 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.4133, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4133, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.4133, allocations: 4 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4133, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.4133, allocations: 7.891 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.4133, allocations: 4 kB / 1.367 GB, free: 11.01 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.0001265/0.4135, allocations: 193 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.4135, allocations: 112.9 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.4136, allocations: 108.8 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.428e-05/0.4137, allocations: 180.2 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-05/0.4138, allocations: 184.2 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.247e-05/0.4138, allocations: 188.1 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.4141, allocations: 380.3 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.277e-05/0.4142, allocations: 108.9 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.4142, allocations: 108.9 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-05/0.4143, allocations: 180.2 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.82e-05/0.4144, allocations: 180.2 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.38e-05/0.4145, allocations: 184.2 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.701e-05/0.4145, allocations: 184.2 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.4147, allocations: 311.7 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.4148, allocations: 120.8 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.4149, allocations: 176.3 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.4149, allocations: 101 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.415, allocations: 192.2 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.4151, allocations: 105 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.4151, allocations: 95.27 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4151, allocations: 0 / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007894/0.4159, allocations: 295 kB / 1.37 GB, free: 7.199 MB / 1.061 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.001099/0.417, allocations: 0.5527 MB / 1.371 GB, free: 6.637 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.4172, allocations: 41.98 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4172, allocations: 0 / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.4172, allocations: 0 / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.4176, allocations: 475.7 kB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.418, allocations: 266.2 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4183, allocations: 0.6807 MB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/0.4184, allocations: 7.438 kB / 1.372 GB, free: 5.117 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4184, allocations: 4 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of Templates: time 0.008648/0.427, allocations: 4.918 MB / 1.377 GB, free: 204 kB / 1.061 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.161945802974515]