Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001358/0.001358, 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.001509/0.001509, 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.382/3.382, allocations: 0.49 GB / 0.7958 GB, free: 33.4 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.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [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.00205/0.00205, allocations: 71.16 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3801, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00282/0.3829, allocations: 1.458 MB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007213/0.3901, allocations: 4.305 MB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.3902, allocations: 4 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3903, allocations: 11.86 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.3906, allocations: 35.78 kB / 1.333 GB, free: 11.59 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.3951, allocations: 1.602 MB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3953, allocations: 99.66 kB / 1.335 GB, free: 9.891 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.3954, allocations: 4 kB / 1.335 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.551e-05/0.3955, allocations: 51.83 kB / 1.335 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.3957, allocations: 151.6 kB / 1.335 GB, free: 9.688 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.3958, allocations: 12 kB / 1.335 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004763/0.4005, allocations: 2.652 MB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.4008, allocations: 275.8 kB / 1.338 GB, free: 6.746 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.4011, allocations: 274.3 kB / 1.338 GB, free: 6.477 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.4051, allocations: 2.161 MB / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4052, allocations: 0 / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4052, allocations: 0 / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.4052, allocations: 0 / 1.34 GB, free: 4.309 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009434/0.4146, allocations: 1.28 MB / 1.341 GB, free: 2.992 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4146, allocations: 11.97 kB / 1.341 GB, free: 2.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004269/0.4151, allocations: 92.25 kB / 1.341 GB, free: 2.891 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.4155, allocations: 299.2 kB / 1.342 GB, free: 2.562 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4155, allocations: 4.375 kB / 1.342 GB, free: 2.559 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.4156, allocations: 12.36 kB / 1.342 GB, free: 2.547 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.4161, allocations: 403.4 kB / 1.342 GB, free: 2.141 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4161, allocations: 0 / 1.342 GB, free: 2.141 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.4161, allocations: 0 / 1.342 GB, free: 2.141 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4161, allocations: 8 kB / 1.342 GB, free: 2.133 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.4166, allocations: 427.8 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.4173, allocations: 0.6204 MB / 1.343 GB, free: 1.051 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.4179, allocations: 0.5634 MB / 1.344 GB, free: 480 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.4182, allocations: 341.6 kB / 1.344 GB, free: 132 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.419, allocations: 135.9 kB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.4195, allocations: 408.8 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.4195, allocations: 0 / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001537/0.421, allocations: 1.301 MB / 1.346 GB, free: 14.27 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.4211, allocations: 77.11 kB / 1.346 GB, free: 14.17 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.4224, allocations: 1.211 MB / 1.347 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.4224, allocations: 33.7 kB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.4226, allocations: 265.9 kB / 1.347 GB, free: 12.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.4227, allocations: 23.83 kB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.423, allocations: 351.5 kB / 1.348 GB, free: 12.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4232, allocations: 318.1 kB / 1.348 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.4246, allocations: 1.369 MB / 1.349 GB, free: 10.58 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.4261, allocations: 1.505 MB / 1.351 GB, free: 9.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/0.4335, allocations: 3.556 MB / 1.354 GB, free: 5.418 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.4335, allocations: 4 kB / 1.354 GB, free: 5.414 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004903/0.4384, allocations: 4.011 MB / 1.358 GB, free: 1.367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4384, allocations: 4 kB / 1.358 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.4385, allocations: 7.938 kB / 1.358 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4385, allocations: 0 / 1.358 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4386, allocations: 19.98 kB / 1.358 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.4387, allocations: 0 / 1.358 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.4392, allocations: 245.4 kB / 1.358 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.4393, allocations: 24.3 kB / 1.358 GB, free: 1.07 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003432/0.4396, allocations: 242.1 kB / 1.359 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.4397, allocations: 79.22 kB / 1.359 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.4408, allocations: 0.9399 MB / 1.36 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4408, allocations: 8.031 kB / 1.36 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4408, allocations: 3.938 kB / 1.36 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4408, allocations: 0 / 1.36 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.4413, allocations: 475.9 kB / 1.36 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4413, allocations: 0 / 1.36 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.4414, allocations: 11.92 kB / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4414, allocations: 0 / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4414, allocations: 4 kB / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4414, allocations: 0 / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4414, allocations: 0 / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4424, allocations: 1.006 MB / 1.361 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.4425, allocations: 83.28 kB / 1.361 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.4426, allocations: 4 kB / 1.361 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4427, allocations: 7.984 kB / 1.361 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.4427, allocations: 19.92 kB / 1.361 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.4428, allocations: 7.984 kB / 1.361 GB, free: 14.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000773/0.4436, allocations: 0.6728 MB / 1.362 GB, free: 13.44 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4436, allocations: 0 / 1.362 GB, free: 13.44 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001799/0.4454, allocations: 0.5845 MB / 1.362 GB, free: 12.85 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002053/0.4474, allocations: 0.6966 MB / 1.363 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002334/0.4497, allocations: 2.005 MB / 1.365 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4497, allocations: 0 / 1.365 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.4501, allocations: 335.7 kB / 1.365 GB, free: 9.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4505, allocations: 38.27 kB / 1.365 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.4529, allocations: 1.807 MB / 1.367 GB, free: 7.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/0.4535, allocations: 0.964 MB / 1.368 GB, free: 6.938 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.4537, allocations: 31.42 kB / 1.368 GB, free: 6.906 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.4537, allocations: 7.938 kB / 1.368 GB, free: 6.898 MB / 1.061 GB Notification: Performance of Templates: time 0.02405/0.4777, allocations: 14.07 MB / 1.382 GB, free: 8.836 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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: 16.76997252201545]