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.002542/0.002542, 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.002782/0.002782, allocations: 213.5 kB / 22.24 MB, free: 5.262 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.797 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.554/3.554, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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.002037/0.002037, allocations: 66.66 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4034, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003202/0.4066, allocations: 1.444 MB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007727/0.4143, allocations: 3.854 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-05/0.4144, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.4145, allocations: 15.86 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.4148, allocations: 35.84 kB / 1.331 GB, free: 12.47 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.005019/0.4198, allocations: 1.589 MB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.42, allocations: 87.69 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.42, allocations: 11.98 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.4201, allocations: 51.83 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.4204, allocations: 147.6 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.4204, allocations: 12 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005443/0.4259, allocations: 2.39 MB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.4262, allocations: 271.8 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.4265, allocations: 226.8 kB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.4313, allocations: 2.142 MB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4313, allocations: 0 / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.597e-06/0.4313, allocations: 3.984 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.744e-05/0.4314, allocations: 0 / 1.338 GB, free: 5.535 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.01088/0.4422, allocations: 1.268 MB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.4423, allocations: 12.03 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005202/0.4428, allocations: 92.25 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.4434, allocations: 307.2 kB / 1.339 GB, free: 3.793 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4434, allocations: 4.375 kB / 1.339 GB, free: 3.789 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.4434, allocations: 12.36 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.444, allocations: 395.5 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.444, allocations: 3.938 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.444, allocations: 0 / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.444, allocations: 0 / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005169/0.4445, allocations: 439.7 kB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.4453, allocations: 0.5731 MB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.446, allocations: 0.5595 MB / 1.341 GB, free: 1.762 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.4463, allocations: 337.6 kB / 1.341 GB, free: 1.426 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007505/0.4471, allocations: 131.9 kB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005054/0.4476, allocations: 408.8 kB / 1.342 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.4476, allocations: 0 / 1.342 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001615/0.4492, allocations: 1.286 MB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.4493, allocations: 92.98 kB / 1.343 GB, free: 15.47 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.4508, allocations: 1.215 MB / 1.344 GB, free: 14.24 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.4508, allocations: 33.7 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.4511, allocations: 269.9 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.4511, allocations: 19.83 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/0.4515, allocations: 351.6 kB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4517, allocations: 314 kB / 1.345 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.4532, allocations: 1.369 MB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.4549, allocations: 1.505 MB / 1.348 GB, free: 10.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007971/0.4628, allocations: 3.557 MB / 1.352 GB, free: 6.719 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4628, allocations: 3.938 kB / 1.352 GB, free: 6.715 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005535/0.4684, allocations: 4.007 MB / 1.356 GB, free: 2.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4684, allocations: 11.69 kB / 1.356 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.4684, allocations: 4 kB / 1.356 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.4684, allocations: 0 / 1.356 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.4686, allocations: 27.95 kB / 1.356 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.4686, allocations: 4.062 kB / 1.356 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.4692, allocations: 237.4 kB / 1.356 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.4692, allocations: 23.98 kB / 1.356 GB, free: 2.371 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.0003981/0.4696, allocations: 245.9 kB / 1.356 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4697, allocations: 75.28 kB / 1.356 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.471, allocations: 0.9399 MB / 1.357 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.471, allocations: 4 kB / 1.357 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.471, allocations: 4 kB / 1.357 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.471, allocations: 0 / 1.357 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.4715, allocations: 447.3 kB / 1.358 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4715, allocations: 0 / 1.358 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.4716, allocations: 8 kB / 1.358 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4716, allocations: 0 / 1.358 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.4716, allocations: 15.86 kB / 1.358 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4716, allocations: 0 / 1.358 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4716, allocations: 0 / 1.358 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.4727, allocations: 1.002 MB / 1.359 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.4729, allocations: 79.33 kB / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.473, allocations: 7.75 kB / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.4731, allocations: 0 / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.4732, allocations: 11.98 kB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.4732, allocations: 15.92 kB / 1.359 GB, free: 15.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000976/0.4742, allocations: 0.6728 MB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4742, allocations: 7.938 kB / 1.359 GB, free: 14.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001979/0.4762, allocations: 0.5806 MB / 1.36 GB, free: 14.2 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.002879/0.479, allocations: 0.7102 MB / 1.361 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.4815, allocations: 2.001 MB / 1.363 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4815, allocations: 0 / 1.363 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.4819, allocations: 331.9 kB / 1.363 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4823, allocations: 40.59 kB / 1.363 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.485, allocations: 1.778 MB / 1.365 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.4855, allocations: 372.1 kB / 1.365 GB, free: 8.914 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.4857, allocations: 36.78 kB / 1.365 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.4858, allocations: 27.41 kB / 1.365 GB, free: 8.848 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/0.4858, allocations: 0 / 1.365 GB, free: 8.848 MB / 1.061 GB Notification: Performance of Templates: time 0.02882/0.5146, allocations: 14.97 MB / 1.38 GB, free: 9.984 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/jenkins/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: 11.192010205239058]