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.001571/0.001571, allocations: 100.8 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.001767/0.001767, 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.002023/0.002023, allocations: 71.98 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4039, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002895/0.4068, allocations: 1.44 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007/0.4138, allocations: 3.856 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.4139, allocations: 7.938 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.4141, allocations: 7.922 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.4144, allocations: 43.77 kB / 1.332 GB, free: 11.55 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.004631/0.419, allocations: 1.58 MB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.4192, allocations: 95.67 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.4192, allocations: 4 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.4193, allocations: 47.89 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.4195, allocations: 155.5 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.4196, allocations: 16 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/0.4236, allocations: 2.394 MB / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.4238, allocations: 263.8 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.4241, allocations: 226.8 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.4274, allocations: 2.146 MB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4274, allocations: 0 / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4275, allocations: 0 / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.4275, allocations: 0 / 1.339 GB, free: 4.625 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.0111/0.4386, allocations: 1.284 MB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4386, allocations: 8.031 kB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/0.439, allocations: 96.23 kB / 1.341 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.4395, allocations: 303.2 kB / 1.341 GB, free: 2.871 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4395, allocations: 4.375 kB / 1.341 GB, free: 2.867 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.4396, allocations: 8.375 kB / 1.341 GB, free: 2.859 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.44, allocations: 391.4 kB / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4401, allocations: 0 / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.4401, allocations: 3.984 kB / 1.341 GB, free: 2.461 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4401, allocations: 4 kB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.4405, allocations: 431.8 kB / 1.342 GB, free: 2.035 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.4412, allocations: 0.5809 MB / 1.342 GB, free: 1.422 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.4417, allocations: 0.5593 MB / 1.343 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.4421, allocations: 337.7 kB / 1.343 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007279/0.4428, allocations: 139.9 kB / 1.343 GB, free: 380 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.4433, allocations: 404.9 kB / 1.344 GB, free: 15.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.4433, allocations: 4 kB / 1.344 GB, free: 15.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001445/0.4447, allocations: 1.293 MB / 1.345 GB, free: 14.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.4448, allocations: 85.09 kB / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.446, allocations: 1.219 MB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.4461, allocations: 33.7 kB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.4463, allocations: 261.9 kB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.4463, allocations: 23.83 kB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.4467, allocations: 351.6 kB / 1.347 GB, free: 12.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4468, allocations: 314 kB / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.4482, allocations: 1.369 MB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.4496, allocations: 1.505 MB / 1.35 GB, free: 9.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007088/0.4567, allocations: 3.564 MB / 1.353 GB, free: 5.789 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4567, allocations: 0 / 1.353 GB, free: 5.789 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004568/0.4613, allocations: 4.003 MB / 1.357 GB, free: 1.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.4613, allocations: 7.938 kB / 1.357 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.4613, allocations: 7.984 kB / 1.357 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4614, allocations: 0 / 1.357 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4615, allocations: 20.03 kB / 1.357 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4615, allocations: 4 kB / 1.357 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.462, allocations: 237.3 kB / 1.358 GB, free: 1.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.4621, allocations: 27.97 kB / 1.358 GB, free: 1.449 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.0003372/0.4624, allocations: 254 kB / 1.358 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.4625, allocations: 71.28 kB / 1.358 GB, free: 1.121 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4635, allocations: 0.9438 MB / 1.359 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4636, allocations: 0 / 1.359 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4636, allocations: 0 / 1.359 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4636, allocations: 0 / 1.359 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.464, allocations: 451.4 kB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.464, allocations: 0 / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.4641, allocations: 7.984 kB / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4641, allocations: 0 / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4641, allocations: 7.938 kB / 1.359 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4641, allocations: 0 / 1.359 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4641, allocations: 0 / 1.359 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009865/0.4651, allocations: 1.01 MB / 1.36 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.4652, allocations: 79.34 kB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.4652, allocations: 3.938 kB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.4654, allocations: 7.984 kB / 1.36 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4654, allocations: 7.984 kB / 1.36 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.4654, allocations: 11.98 kB / 1.36 GB, free: 14.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007729/0.4662, allocations: 0.6689 MB / 1.361 GB, free: 13.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4662, allocations: 4 kB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001688/0.4679, allocations: 0.5884 MB / 1.362 GB, free: 13.27 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.001846/0.4698, allocations: 0.7031 MB / 1.362 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002213/0.472, allocations: 2.001 MB / 1.364 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.472, allocations: 4 kB / 1.364 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.4723, allocations: 343.8 kB / 1.365 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.4726, allocations: 28.61 kB / 1.365 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.4749, allocations: 1.816 MB / 1.366 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4753, allocations: 376.1 kB / 1.367 GB, free: 7.941 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4754, allocations: 27.36 kB / 1.367 GB, free: 7.914 MB / 1.061 GB Notification: Performance of SimCode: time 1.323e-06/0.4754, allocations: 0 / 1.367 GB, free: 7.914 MB / 1.061 GB Notification: Performance of Templates: time 0.02478/0.5002, allocations: 14.34 MB / 1.381 GB, free: 9.59 MB / 1.076 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: 15.48055409011431]