Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 71.89 kB / 1.109 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7536, allocations: 168.7 MB / 1.274 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002765/0.7564, allocations: 1.447 MB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007197/0.7636, allocations: 4.247 MB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.7636, allocations: 4 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.7638, allocations: 15.84 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.764, allocations: 23.84 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.7682, allocations: 1.525 MB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.7684, allocations: 91.67 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.7684, allocations: 7.938 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.7685, allocations: 51.83 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.7688, allocations: 151.6 kB / 1.282 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.7688, allocations: 12 kB / 1.282 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.7728, allocations: 2.309 MB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.773, allocations: 271.8 kB / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.7733, allocations: 278.3 kB / 1.284 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.7764, allocations: 2.125 MB / 1.286 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7764, allocations: 0 / 1.286 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7764, allocations: 0 / 1.286 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.7764, allocations: 4 kB / 1.286 GB, free: 7.785 MB / 0.9825 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.01079/0.7872, allocations: 1.343 MB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.7872, allocations: 8.031 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.7877, allocations: 92.25 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.7881, allocations: 365 kB / 1.288 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.7882, allocations: 8.375 kB / 1.288 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.7882, allocations: 8.375 kB / 1.288 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.7887, allocations: 391.5 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7887, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.7887, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7888, allocations: 4 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.7893, allocations: 435.7 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.79, allocations: 0.641 MB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.7905, allocations: 0.5594 MB / 1.29 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.7909, allocations: 333.7 kB / 1.29 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.7921, allocations: 1.028 MB / 1.291 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/0.7926, allocations: 408.8 kB / 1.292 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 3.387e-06/0.7926, allocations: 4 kB / 1.292 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001505/0.7941, allocations: 1.289 MB / 1.293 GB, free: 484 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.7942, allocations: 85.09 kB / 1.293 GB, free: 380 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.7955, allocations: 1.223 MB / 1.294 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.7955, allocations: 29.69 kB / 1.294 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.7958, allocations: 265.9 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.7958, allocations: 35.89 kB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.7962, allocations: 351.6 kB / 1.295 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.7963, allocations: 306 kB / 1.295 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.7978, allocations: 1.369 MB / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.7993, allocations: 1.513 MB / 1.298 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007724/0.807, allocations: 3.56 MB / 1.302 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.807, allocations: 0 / 1.302 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005009/0.8121, allocations: 4.007 MB / 1.306 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.8121, allocations: 4 kB / 1.306 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.8121, allocations: 8.25 kB / 1.306 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8121, allocations: 4.031 kB / 1.306 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.8123, allocations: 15.98 kB / 1.306 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.8123, allocations: 8 kB / 1.306 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.8129, allocations: 237.4 kB / 1.306 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.8129, allocations: 31.95 kB / 1.306 GB, free: 3.25 MB / 0.9981 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.0003979/0.8133, allocations: 237.6 kB / 1.306 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.8134, allocations: 79.23 kB / 1.306 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.8146, allocations: 0.9438 MB / 1.307 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8146, allocations: 0 / 1.307 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8146, allocations: 0 / 1.307 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8146, allocations: 0 / 1.307 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.8152, allocations: 0.4892 MB / 1.308 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8152, allocations: 3.984 kB / 1.308 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/0.8152, allocations: 11.92 kB / 1.308 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.8153, allocations: 4 kB / 1.308 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.8153, allocations: 4.031 kB / 1.308 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8153, allocations: 0 / 1.308 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8153, allocations: 4 kB / 1.308 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.8163, allocations: 1.002 MB / 1.309 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.8165, allocations: 168.3 kB / 1.309 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.8165, allocations: 8 kB / 1.309 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.8167, allocations: 7.984 kB / 1.309 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.8167, allocations: 4 kB / 1.309 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.8167, allocations: 15.97 kB / 1.309 GB, free: 176 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008375/0.8176, allocations: 0.6689 MB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.8176, allocations: 0 / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001532/0.8191, allocations: 0.5884 MB / 1.31 GB, free: 14.91 MB / 1.014 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.001845/0.821, allocations: 0.6974 MB / 1.311 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.8233, allocations: 1.997 MB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8233, allocations: 0 / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.8237, allocations: 335.8 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.824, allocations: 44.66 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.8263, allocations: 1.778 MB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.827, allocations: 0.9679 MB / 1.316 GB, free: 9.027 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.8271, allocations: 32.56 kB / 1.316 GB, free: 8.996 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.8272, allocations: 31.41 kB / 1.316 GB, free: 8.965 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/0.8272, allocations: 0 / 1.316 GB, free: 8.965 MB / 1.014 GB Notification: Performance of Templates: time 0.02481/0.852, allocations: 13.7 MB / 1.329 GB, free: 11.29 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.696179797872901]