Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001664/0.001664, allocations: 110.2 kB / 19.69 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.001928/0.001928, allocations: 209.8 kB / 23.01 MB, free: 4.566 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 3.241/3.241, allocations: 0.49 GB / 0.7958 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002112/0.002112, allocations: 62.41 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4545, allocations: 176.1 MB / 1.327 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002778/0.4572, allocations: 1.46 MB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004788/0.462, allocations: 2.961 MB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.4621, allocations: 0 / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.4621, allocations: 3.938 kB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.4621, allocations: 19.78 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.4663, allocations: 1.673 MB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.4664, allocations: 55.66 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.4664, allocations: 0 / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.4664, allocations: 15.94 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.425e-05/0.4665, allocations: 15.92 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.4665, allocations: 0 / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.469, allocations: 1.712 MB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.469, allocations: 11.94 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.469, allocations: 19.86 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.4705, allocations: 1.115 MB / 1.336 GB, free: 8.324 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4705, allocations: 0 / 1.336 GB, free: 8.324 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.095e-06/0.4705, allocations: 4 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.4705, allocations: 0 / 1.336 GB, free: 8.32 MB / 1.029 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.0006195/0.4712, allocations: 472 kB / 1.337 GB, free: 7.828 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4712, allocations: 12.03 kB / 1.337 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.4713, allocations: 80.17 kB / 1.337 GB, free: 7.738 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.4714, allocations: 195.1 kB / 1.337 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/0.4715, allocations: 162.9 kB / 1.337 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.4716, allocations: 154.9 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.147e-05/0.4717, allocations: 105.1 kB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.4717, allocations: 79.27 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.4718, allocations: 150.6 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.4718, allocations: 150.6 kB / 1.338 GB, free: 6.727 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.4719, allocations: 162.5 kB / 1.338 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.4722, allocations: 432.9 kB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.4723, allocations: 173.1 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.4724, allocations: 80.14 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.4724, allocations: 79.28 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.4725, allocations: 113.8 kB / 1.339 GB, free: 5.641 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.4725, allocations: 0 / 1.339 GB, free: 5.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.482e-05/0.4726, allocations: 41.53 kB / 1.339 GB, free: 5.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.4726, allocations: 126.7 kB / 1.339 GB, free: 5.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.4728, allocations: 127.7 kB / 1.339 GB, free: 5.324 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4728, allocations: 25.7 kB / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.4729, allocations: 96.12 kB / 1.339 GB, free: 5.195 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.4729, allocations: 4 kB / 1.339 GB, free: 5.191 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.4729, allocations: 21.66 kB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4731, allocations: 318.9 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.4731, allocations: 4 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.4731, allocations: 11.98 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.4731, allocations: 8.859 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4731, allocations: 0 / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001314/0.4733, allocations: 57.53 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4733, allocations: 8.062 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.4733, allocations: 7.984 kB / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4733, allocations: 0 / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.4733, allocations: 0 / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.4733, allocations: 0 / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.4734, allocations: 0 / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.4734, allocations: 4 kB / 1.339 GB, free: 4.734 MB / 1.029 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.0001037/0.4735, allocations: 181.1 kB / 1.34 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.4735, allocations: 116.9 kB / 1.34 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.4736, allocations: 116.7 kB / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-05/0.4737, allocations: 180.3 kB / 1.34 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.933e-05/0.4738, allocations: 180.2 kB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.417e-05/0.4738, allocations: 176.3 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.4741, allocations: 384.3 kB / 1.341 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.681e-05/0.4741, allocations: 116.8 kB / 1.341 GB, free: 3.203 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.4742, allocations: 101 kB / 1.341 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-05/0.4742, allocations: 184.2 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/0.4743, allocations: 176.3 kB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-05/0.4744, allocations: 176.3 kB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.526e-05/0.4745, allocations: 188.2 kB / 1.342 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4746, allocations: 307.8 kB / 1.342 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.4747, allocations: 116.9 kB / 1.342 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.4748, allocations: 180.3 kB / 1.342 GB, free: 1.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.4749, allocations: 108.9 kB / 1.342 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.475, allocations: 180.3 kB / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.475, allocations: 104.9 kB / 1.342 GB, free: 1.324 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.095e-05/0.4751, allocations: 96.98 kB / 1.343 GB, free: 1.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4751, allocations: 0 / 1.343 GB, free: 1.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007379/0.4758, allocations: 298.9 kB / 1.343 GB, free: 0.9375 MB / 1.029 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.001039/0.4768, allocations: 0.5402 MB / 1.343 GB, free: 396 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.477, allocations: 41.69 kB / 1.343 GB, free: 348 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.477, allocations: 0 / 1.343 GB, free: 348 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.477, allocations: 352 / 1.343 GB, free: 348 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.4774, allocations: 471.6 kB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.4778, allocations: 271.7 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.4781, allocations: 0.6807 MB / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.4781, allocations: 7.438 kB / 1.345 GB, free: 14.86 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4781, allocations: 0 / 1.345 GB, free: 14.86 MB / 1.045 GB Notification: Performance of Templates: time 0.008635/0.4867, allocations: 4.801 MB / 1.35 GB, free: 10.06 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.242956489993958]