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_SmallScaleValidation.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.001765/0.001765, 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.002167/0.002167, allocations: 216.7 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.19/3.19, allocations: 0.49 GB / 0.7958 GB, free: 33.5 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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.002048/0.002048, allocations: 70.09 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4073, allocations: 176.1 MB / 1.327 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003571/0.4108, allocations: 1.798 MB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00894/0.4198, allocations: 5.499 MB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.42, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.4215, allocations: 374.4 kB / 1.335 GB, free: 9.688 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.4217, allocations: 63.67 kB / 1.335 GB, free: 9.625 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.004796/0.4265, allocations: 1.615 MB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.4268, allocations: 159.4 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.4269, allocations: 5.75 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.427, allocations: 75.64 kB / 1.337 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.4273, allocations: 171.4 kB / 1.337 GB, free: 7.605 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.4273, allocations: 12 kB / 1.337 GB, free: 7.594 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004597/0.4319, allocations: 2.66 MB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.4322, allocations: 279.8 kB / 1.34 GB, free: 4.656 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.4325, allocations: 310.1 kB / 1.34 GB, free: 4.352 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.436, allocations: 2.235 MB / 1.342 GB, free: 2.109 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.436, allocations: 0 / 1.342 GB, free: 2.109 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.696e-06/0.436, allocations: 0 / 1.342 GB, free: 2.109 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.4361, allocations: 4 kB / 1.342 GB, free: 2.105 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.009164/0.4452, allocations: 1.335 MB / 1.343 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.4453, allocations: 16.02 kB / 1.343 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000444/0.4457, allocations: 104.2 kB / 1.343 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.4464, allocations: 344.6 kB / 1.344 GB, free: 252 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4464, allocations: 4.375 kB / 1.344 GB, free: 248 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.4464, allocations: 4.375 kB / 1.344 GB, free: 244 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.4469, allocations: 391.5 kB / 1.344 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.447, allocations: 7.984 kB / 1.344 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.447, allocations: 7.938 kB / 1.344 GB, free: 15.83 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.447, allocations: 8 kB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.4475, allocations: 431.7 kB / 1.345 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.4482, allocations: 0.6415 MB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.4488, allocations: 0.5673 MB / 1.346 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.4491, allocations: 333.6 kB / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.4497, allocations: 131.8 kB / 1.346 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.4502, allocations: 408.8 kB / 1.347 GB, free: 13.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.4502, allocations: 0 / 1.347 GB, free: 13.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001477/0.4517, allocations: 1.297 MB / 1.348 GB, free: 11.95 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.4517, allocations: 93.17 kB / 1.348 GB, free: 11.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.4531, allocations: 1.294 MB / 1.349 GB, free: 10.53 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.4532, allocations: 29.7 kB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.4534, allocations: 289.9 kB / 1.35 GB, free: 10.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.4535, allocations: 31.77 kB / 1.35 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.4538, allocations: 351.6 kB / 1.35 GB, free: 9.828 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.454, allocations: 318 kB / 1.35 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.4554, allocations: 1.373 MB / 1.352 GB, free: 8.137 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.4569, allocations: 1.505 MB / 1.353 GB, free: 6.621 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007507/0.4644, allocations: 3.553 MB / 1.357 GB, free: 2.977 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4644, allocations: 0 / 1.357 GB, free: 2.977 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005565/0.47, allocations: 4.019 MB / 1.36 GB, free: 14.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.47, allocations: 8 kB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.4701, allocations: 0 / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.4701, allocations: 7.938 kB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.4703, allocations: 19.92 kB / 1.36 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4703, allocations: 0 / 1.36 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.4709, allocations: 237.3 kB / 1.361 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.471, allocations: 28.02 kB / 1.361 GB, free: 14.62 MB / 1.061 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.0004043/0.4714, allocations: 254.2 kB / 1.361 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.4715, allocations: 83.17 kB / 1.361 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.4726, allocations: 0.9485 MB / 1.362 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4727, allocations: 0 / 1.362 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4727, allocations: 0 / 1.362 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4727, allocations: 4.031 kB / 1.362 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.4732, allocations: 497.4 kB / 1.362 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4733, allocations: 0 / 1.362 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.4733, allocations: 15.92 kB / 1.362 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4733, allocations: 0 / 1.362 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4734, allocations: 0 / 1.362 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4734, allocations: 11.92 kB / 1.362 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4734, allocations: 0 / 1.362 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4744, allocations: 1.014 MB / 1.363 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.4746, allocations: 87.23 kB / 1.364 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.4746, allocations: 11.98 kB / 1.364 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.4748, allocations: 4 kB / 1.364 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.4748, allocations: 7.984 kB / 1.364 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.4749, allocations: 11.98 kB / 1.364 GB, free: 11.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009386/0.4758, allocations: 0.73 MB / 1.364 GB, free: 10.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4758, allocations: 0 / 1.364 GB, free: 10.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002524/0.4783, allocations: 0.5923 MB / 1.365 GB, free: 10.29 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.002481/0.4808, allocations: 0.7046 MB / 1.366 GB, free: 9.598 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.4834, allocations: 1.997 MB / 1.368 GB, free: 7.586 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4834, allocations: 0 / 1.368 GB, free: 7.586 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.4838, allocations: 332.3 kB / 1.368 GB, free: 7.262 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.4843, allocations: 64.77 kB / 1.368 GB, free: 7.195 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.4872, allocations: 1.94 MB / 1.37 GB, free: 5.211 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.4879, allocations: 0.9879 MB / 1.371 GB, free: 4.195 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.488, allocations: 27.42 kB / 1.371 GB, free: 4.168 MB / 1.061 GB Notification: Performance of SimCode: time 1.382e-06/0.488, allocations: 3.938 kB / 1.371 GB, free: 4.164 MB / 1.061 GB Notification: Performance of Templates: time 0.0256/0.5136, allocations: 14.72 MB / 1.385 GB, free: 5.457 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time [Calling sys.exit(0), Time elapsed: 16.40201872398029]