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.001426/0.001426, allocations: 111.7 kB / 17.13 MB, free: 5.926 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: 204 kB / 20.09 MB, free: 2.977 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.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.989/2.989, allocations: 0.49 GB / 0.7923 GB, free: 1.316 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.001984/0.001984, allocations: 71.91 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 176.1 MB / 1.322 GB, free: 25.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002352/1.092, allocations: 1.457 MB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005359/1.098, allocations: 4.259 MB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/1.098, allocations: 0.6875 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/1.098, allocations: 16.39 kB / 1.328 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/1.098, allocations: 38.81 kB / 1.328 GB, free: 21.2 MB / 1.061 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.004333/1.102, allocations: 1.528 MB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/1.103, allocations: 91.62 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/1.103, allocations: 3.938 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/1.103, allocations: 51.12 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/1.103, allocations: 151.2 kB / 1.329 GB, free: 20.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/1.103, allocations: 13.28 kB / 1.329 GB, free: 20.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/1.107, allocations: 2.338 MB / 1.332 GB, free: 19.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/1.108, allocations: 268.2 kB / 1.332 GB, free: 19.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/1.108, allocations: 283.8 kB / 1.332 GB, free: 19.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004851/1.113, allocations: 2.138 MB / 1.334 GB, free: 18.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.113, allocations: 0 / 1.334 GB, free: 18.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.083e-06/1.113, allocations: 0 / 1.334 GB, free: 18.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.113, allocations: 1.344 kB / 1.334 GB, free: 18.95 MB / 1.061 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.01127/1.124, allocations: 1.34 MB / 1.336 GB, free: 17.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.124, allocations: 13.58 kB / 1.336 GB, free: 17.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/1.125, allocations: 93.94 kB / 1.336 GB, free: 17.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/1.125, allocations: 372 kB / 1.336 GB, free: 17.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.125, allocations: 3.781 kB / 1.336 GB, free: 17.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/1.125, allocations: 10.44 kB / 1.336 GB, free: 17.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/1.126, allocations: 393.5 kB / 1.336 GB, free: 17.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.126, allocations: 0 / 1.336 GB, free: 17.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.126, allocations: 4.75 kB / 1.337 GB, free: 17.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.126, allocations: 1.938 kB / 1.337 GB, free: 17.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/1.126, allocations: 431.9 kB / 1.337 GB, free: 17.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/1.127, allocations: 0.64 MB / 1.338 GB, free: 17.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/1.128, allocations: 0.5689 MB / 1.338 GB, free: 17.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/1.128, allocations: 332.8 kB / 1.338 GB, free: 17.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000959/1.129, allocations: 1.026 MB / 1.339 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/1.129, allocations: 410.7 kB / 1.34 GB, free: 15.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/1.13, allocations: 0.7812 kB / 1.34 GB, free: 15.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001883/1.131, allocations: 1.29 MB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/1.131, allocations: 81.22 kB / 1.341 GB, free: 15.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.133, allocations: 1.226 MB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/1.133, allocations: 32.7 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/1.133, allocations: 266.7 kB / 1.343 GB, free: 14.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/1.133, allocations: 18.53 kB / 1.343 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/1.134, allocations: 357.5 kB / 1.343 GB, free: 14.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/1.134, allocations: 310.7 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.135, allocations: 1.37 MB / 1.345 GB, free: 14.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/1.137, allocations: 1.506 MB / 1.346 GB, free: 13.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007434/1.144, allocations: 3.562 MB / 1.35 GB, free: 11.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.144, allocations: 0.8906 kB / 1.35 GB, free: 11.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004709/1.149, allocations: 4.013 MB / 1.353 GB, free: 9.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/1.149, allocations: 10.47 kB / 1.354 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.149, allocations: 6.422 kB / 1.354 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.149, allocations: 1.312 kB / 1.354 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/1.149, allocations: 19.52 kB / 1.354 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.149, allocations: 2.156 kB / 1.354 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/1.15, allocations: 240.1 kB / 1.354 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/1.15, allocations: 23.16 kB / 1.354 GB, free: 9.453 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.0003805/1.15, allocations: 244.6 kB / 1.354 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/1.151, allocations: 73.12 kB / 1.354 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/1.151, allocations: 72.33 kB / 1.354 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.151, allocations: 5.141 kB / 1.354 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.151, allocations: 1.344 kB / 1.354 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.151, allocations: 2.219 kB / 1.354 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/1.151, allocations: 0.4944 MB / 1.355 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.151, allocations: 1.219 kB / 1.355 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/1.151, allocations: 11.19 kB / 1.355 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.151, allocations: 1.281 kB / 1.355 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/1.151, allocations: 3.531 kB / 1.355 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.151, allocations: 1.5 kB / 1.355 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.151, allocations: 0 / 1.355 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.153, allocations: 1.007 MB / 1.356 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/1.153, allocations: 158.1 kB / 1.356 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/1.153, allocations: 3.109 kB / 1.356 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/1.153, allocations: 4.406 kB / 1.356 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/1.153, allocations: 5.734 kB / 1.356 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.153, allocations: 13.28 kB / 1.356 GB, free: 8.617 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008662/1.154, allocations: 0.6745 MB / 1.356 GB, free: 8.387 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.154, allocations: 0 / 1.356 GB, free: 8.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002805/1.157, allocations: 0.5908 MB / 1.357 GB, free: 8.273 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.002382/1.159, allocations: 0.7188 MB / 1.358 GB, free: 7.996 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002573/1.162, allocations: 1.997 MB / 1.36 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.162, allocations: 1.094 kB / 1.36 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004239/1.162, allocations: 335.4 kB / 1.36 GB, free: 7.441 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/1.162, allocations: 35.2 kB / 1.36 GB, free: 7.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/1.165, allocations: 1.823 MB / 1.362 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/1.165, allocations: 0.9649 MB / 1.363 GB, free: 6.078 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/1.166, allocations: 26.22 kB / 1.363 GB, free: 6.07 MB / 1.061 GB Notification: Performance of SimCode: time 8.51e-07/1.166, allocations: 0 / 1.363 GB, free: 6.07 MB / 1.061 GB Notification: Performance of Templates: time 0.03381/1.199, allocations: 14.06 MB / 1.377 GB, free: 4.27 MB / 1.061 GB " [Timeout remaining time 299] 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.56528219098982]