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.001623/0.001623, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001842/0.001842, allocations: 209.1 kB / 22.99 MB, free: 4.984 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.522/1.522, allocations: 230.6 MB / 256.8 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.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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: 63.16 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4486, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002913/0.4515, allocations: 1.427 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007196/0.4587, allocations: 3.86 MB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.4587, allocations: 7.938 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.4589, allocations: 11.86 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.4592, allocations: 35.83 kB / 1.332 GB, free: 11.59 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.004861/0.464, allocations: 1.611 MB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.4642, allocations: 99.67 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.4643, allocations: 3.938 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.4644, allocations: 55.75 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.4646, allocations: 147.6 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.4647, allocations: 20 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.4689, allocations: 2.547 MB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.4691, allocations: 267.8 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.4694, allocations: 218.9 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003102/0.4725, allocations: 2.148 MB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4725, allocations: 8 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4725, allocations: 0 / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.4725, allocations: 0 / 1.339 GB, free: 4.465 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.008548/0.481, allocations: 1.268 MB / 1.341 GB, free: 3.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.4811, allocations: 12.03 kB / 1.341 GB, free: 3.148 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.4816, allocations: 92.23 kB / 1.341 GB, free: 3.059 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.4821, allocations: 303.2 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4821, allocations: 12.31 kB / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.4821, allocations: 4.375 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.4827, allocations: 395.5 kB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4827, allocations: 0 / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4827, allocations: 7.938 kB / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4827, allocations: 0 / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.4832, allocations: 435.7 kB / 1.342 GB, free: 1.879 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/0.4839, allocations: 0.5692 MB / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.4846, allocations: 0.5633 MB / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.485, allocations: 337.7 kB / 1.343 GB, free: 368 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007383/0.4857, allocations: 135.8 kB / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004875/0.4862, allocations: 396.9 kB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.4862, allocations: 4 kB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.00167/0.4878, allocations: 1.301 MB / 1.345 GB, free: 14.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.4879, allocations: 77.11 kB / 1.345 GB, free: 14.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.4892, allocations: 1.215 MB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.4893, allocations: 33.7 kB / 1.346 GB, free: 13.14 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.4895, allocations: 265.9 kB / 1.347 GB, free: 12.88 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.4896, allocations: 19.97 kB / 1.347 GB, free: 12.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.4899, allocations: 355.6 kB / 1.347 GB, free: 12.51 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4901, allocations: 314 kB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.4916, allocations: 1.369 MB / 1.349 GB, free: 10.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.4932, allocations: 1.505 MB / 1.35 GB, free: 9.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007842/0.501, allocations: 3.556 MB / 1.353 GB, free: 5.66 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.501, allocations: 4 kB / 1.353 GB, free: 5.656 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005195/0.5062, allocations: 4.011 MB / 1.357 GB, free: 1.609 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.5063, allocations: 7.938 kB / 1.357 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.5063, allocations: 7.938 kB / 1.357 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.5063, allocations: 0 / 1.357 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5065, allocations: 15.98 kB / 1.357 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5065, allocations: 4 kB / 1.357 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/0.507, allocations: 241.3 kB / 1.358 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.5071, allocations: 31.98 kB / 1.358 GB, free: 1.305 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.0003719/0.5075, allocations: 243.1 kB / 1.358 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.5075, allocations: 75.28 kB / 1.358 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.5087, allocations: 0.9399 MB / 1.359 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5087, allocations: 0 / 1.359 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5087, allocations: 3.984 kB / 1.359 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5087, allocations: 4.016 kB / 1.359 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.5092, allocations: 447.3 kB / 1.359 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5092, allocations: 8 kB / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.5093, allocations: 4 kB / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5093, allocations: 0 / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.5093, allocations: 15.92 kB / 1.359 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5093, allocations: 0 / 1.359 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5093, allocations: 0 / 1.359 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.5104, allocations: 0.998 MB / 1.36 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.5105, allocations: 79.34 kB / 1.36 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.5106, allocations: 11.92 kB / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.5107, allocations: 8 kB / 1.36 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.5108, allocations: 3.984 kB / 1.36 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.5108, allocations: 11.98 kB / 1.36 GB, free: 14.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000847/0.5117, allocations: 0.6728 MB / 1.361 GB, free: 13.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5117, allocations: 0 / 1.361 GB, free: 13.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00192/0.5136, allocations: 0.5845 MB / 1.362 GB, free: 13.14 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.002138/0.5157, allocations: 0.7085 MB / 1.362 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.5182, allocations: 2.001 MB / 1.364 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5182, allocations: 0 / 1.364 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.5186, allocations: 339.7 kB / 1.365 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.519, allocations: 41.66 kB / 1.365 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.5213, allocations: 1.77 MB / 1.366 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.5217, allocations: 368.1 kB / 1.367 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.5219, allocations: 36.45 kB / 1.367 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.522, allocations: 31.42 kB / 1.367 GB, free: 7.785 MB / 1.061 GB Notification: Performance of SimCode: time 5.82e-07/0.522, allocations: 0 / 1.367 GB, free: 7.785 MB / 1.061 GB Notification: Performance of Templates: time 0.02669/0.5487, allocations: 14.98 MB / 1.381 GB, free: 8.918 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 -s cvode -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: 10.687694332998944]