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.001772/0.001772, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002368/0.002368, allocations: 220 kB / 23.04 MB, free: 4.844 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.762 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.345/3.345, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.002062/0.002062, allocations: 71.36 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4532, allocations: 176.1 MB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003031/0.4562, allocations: 1.445 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004983/0.4612, allocations: 2.642 MB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.4612, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.4613, allocations: 7.922 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.4613, allocations: 11.88 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004653/0.466, allocations: 1.625 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.4661, allocations: 39.73 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.4662, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.4662, allocations: 15.92 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.441e-05/0.4663, allocations: 15.92 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.4663, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.4689, allocations: 1.454 MB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.469, allocations: 4 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.469, allocations: 7.938 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.4708, allocations: 1.079 MB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4708, allocations: 4 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4708, allocations: 0 / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4708, allocations: 0 / 1.335 GB, free: 8.496 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.0007265/0.4715, allocations: 468 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4716, allocations: 8.031 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.4717, allocations: 84.17 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.4718, allocations: 197.7 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.244e-05/0.4719, allocations: 154.9 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.472, allocations: 150.9 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.4721, allocations: 105.1 kB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.4722, allocations: 79.28 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-05/0.4722, allocations: 150.6 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-05/0.4723, allocations: 154.6 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.4724, allocations: 158.5 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.4728, allocations: 409.5 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4729, allocations: 177.1 kB / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/0.473, allocations: 80.14 kB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.473, allocations: 75.28 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.687e-05/0.4731, allocations: 105.8 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.4731, allocations: 0 / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.894e-05/0.4732, allocations: 45.53 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.4733, allocations: 126.7 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.4735, allocations: 131.5 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4735, allocations: 29.7 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.4736, allocations: 88.12 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.4736, allocations: 0 / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.4736, allocations: 21.66 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4738, allocations: 322.8 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.4739, allocations: 8 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.4739, allocations: 7.984 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.4739, allocations: 12.86 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4739, allocations: 4.031 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000138/0.4741, allocations: 45.59 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4741, allocations: 11.94 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.4741, allocations: 3.984 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4741, allocations: 0 / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.4741, allocations: 4 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4741, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.4741, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.4742, allocations: 0 / 1.339 GB, free: 4.965 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.0001513/0.4743, allocations: 189.1 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.4744, allocations: 120.8 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.4745, allocations: 112.8 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.622e-05/0.4746, allocations: 176.3 kB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/0.4747, allocations: 184.2 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.772e-05/0.4748, allocations: 184.3 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.4751, allocations: 364.8 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.715e-05/0.4751, allocations: 105 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.4752, allocations: 105 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-05/0.4753, allocations: 180.2 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.4754, allocations: 184.2 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.03e-05/0.4755, allocations: 184.2 kB / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001001/0.4756, allocations: 180.3 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.4758, allocations: 315.7 kB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.4759, allocations: 101 kB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.476, allocations: 192.1 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.4761, allocations: 105 kB / 1.341 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4762, allocations: 176.3 kB / 1.342 GB, free: 1.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.4762, allocations: 108.9 kB / 1.342 GB, free: 1.574 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.718e-05/0.4763, allocations: 101.6 kB / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4763, allocations: 0 / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001204/0.4775, allocations: 294.9 kB / 1.342 GB, free: 1.188 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.001152/0.4787, allocations: 0.5337 MB / 1.343 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.4788, allocations: 41.69 kB / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4788, allocations: 0 / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.4788, allocations: 0 / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.4793, allocations: 471.6 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.4798, allocations: 273.3 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.4799, allocations: 63.34 kB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.4799, allocations: 7.438 kB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.4799, allocations: 4 kB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of Templates: time 0.0103/0.4902, allocations: 4.821 MB / 1.348 GB, free: 10.93 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.588195049902424]