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.001418/0.001418, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001933/0.001933, allocations: 214.6 kB / 22.25 MB, free: 5.258 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.789 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.438/3.438, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.002433/0.002433, allocations: 66.16 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4038, allocations: 176.1 MB / 1.326 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00396/0.4078, allocations: 1.736 MB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009256/0.417, allocations: 4.897 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.4172, allocations: 3.938 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.4188, allocations: 334.5 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.419, allocations: 59.72 kB / 1.332 GB, free: 10.7 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.005104/0.4241, allocations: 1.594 MB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.4244, allocations: 159.4 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.446e-05/0.4245, allocations: 9.75 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4247, allocations: 63.7 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.4249, allocations: 167.4 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.477e-05/0.425, allocations: 16 kB / 1.334 GB, free: 8.699 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005406/0.4304, allocations: 2.398 MB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.4308, allocations: 279.8 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004096/0.4312, allocations: 242.8 kB / 1.337 GB, free: 5.785 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.436, allocations: 2.216 MB / 1.339 GB, free: 3.562 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.436, allocations: 0 / 1.339 GB, free: 3.562 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.305e-06/0.436, allocations: 3.938 kB / 1.339 GB, free: 3.559 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.481e-05/0.4361, allocations: 0 / 1.339 GB, free: 3.559 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.01112/0.4472, allocations: 1.331 MB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4472, allocations: 8.031 kB / 1.341 GB, free: 2.184 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005001/0.4477, allocations: 104.2 kB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.4485, allocations: 356.5 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4485, allocations: 4.375 kB / 1.341 GB, free: 1.695 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.4485, allocations: 12.36 kB / 1.341 GB, free: 1.684 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.449, allocations: 391.4 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.449, allocations: 0 / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4491, allocations: 3.984 kB / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4491, allocations: 0 / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.4496, allocations: 439.8 kB / 1.342 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.4504, allocations: 0.5976 MB / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.451, allocations: 0.5555 MB / 1.343 GB, free: 15.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.4514, allocations: 333.7 kB / 1.343 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/0.452, allocations: 139.8 kB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.4525, allocations: 404.8 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.4525, allocations: 0 / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.00159/0.4541, allocations: 1.301 MB / 1.345 GB, free: 13.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.4541, allocations: 89.22 kB / 1.345 GB, free: 13.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.4558, allocations: 1.298 MB / 1.347 GB, free: 12.05 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.4558, allocations: 29.7 kB / 1.347 GB, free: 12.01 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.4561, allocations: 285.9 kB / 1.347 GB, free: 11.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.4561, allocations: 23.8 kB / 1.347 GB, free: 11.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.4565, allocations: 351.6 kB / 1.347 GB, free: 11.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4567, allocations: 329.9 kB / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.4582, allocations: 1.369 MB / 1.349 GB, free: 9.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.4599, allocations: 1.501 MB / 1.35 GB, free: 8.145 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008014/0.4679, allocations: 3.564 MB / 1.354 GB, free: 4.488 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4679, allocations: 0 / 1.354 GB, free: 4.488 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005474/0.4734, allocations: 4.007 MB / 1.358 GB, free: 456 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4734, allocations: 13.17 kB / 1.358 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.4734, allocations: 4 kB / 1.358 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4734, allocations: 8.016 kB / 1.358 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4735, allocations: 19.94 kB / 1.358 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4735, allocations: 3.984 kB / 1.358 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.4741, allocations: 241.3 kB / 1.358 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.4742, allocations: 23.98 kB / 1.358 GB, free: 140 kB / 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.0004231/0.4746, allocations: 243.6 kB / 1.358 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.4747, allocations: 79.23 kB / 1.358 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.4759, allocations: 0.9566 MB / 1.359 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4759, allocations: 0 / 1.359 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4759, allocations: 0 / 1.359 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.476, allocations: 4 kB / 1.359 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.4765, allocations: 464.3 kB / 1.36 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4765, allocations: 0 / 1.36 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.4766, allocations: 15.92 kB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4766, allocations: 0 / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4766, allocations: 7.938 kB / 1.36 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4766, allocations: 4.109 kB / 1.36 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4766, allocations: 7.984 kB / 1.36 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.4777, allocations: 1.006 MB / 1.361 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.4779, allocations: 87.23 kB / 1.361 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.478, allocations: 15.94 kB / 1.361 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4781, allocations: 7.984 kB / 1.361 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.4782, allocations: 3.984 kB / 1.361 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.4782, allocations: 19.86 kB / 1.361 GB, free: 13.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001065/0.4793, allocations: 0.73 MB / 1.362 GB, free: 12.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4793, allocations: 0 / 1.362 GB, free: 12.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001865/0.4811, allocations: 0.5923 MB / 1.362 GB, free: 11.84 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.002783/0.4839, allocations: 0.6935 MB / 1.363 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.4863, allocations: 2.001 MB / 1.365 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4863, allocations: 8 kB / 1.365 GB, free: 9.137 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.4867, allocations: 335.8 kB / 1.365 GB, free: 8.809 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.4872, allocations: 52.7 kB / 1.365 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.4901, allocations: 1.904 MB / 1.367 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.4906, allocations: 393.8 kB / 1.367 GB, free: 6.402 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.4908, allocations: 41.39 kB / 1.367 GB, free: 6.359 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.4909, allocations: 27.42 kB / 1.367 GB, free: 6.332 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.491, allocations: 4 kB / 1.367 GB, free: 6.328 MB / 1.061 GB Notification: Performance of Templates: time 0.02926/0.5202, allocations: 15.76 MB / 1.383 GB, free: 6.703 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.175174221396446]