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.001526/0.001526, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001607/0.001607, allocations: 159.5 kB / 22.45 MB, free: 5.375 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.564/1.564, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.93/2.93, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.776e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002709/0.002737, allocations: 1.435 MB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007387/0.01012, allocations: 3.856 MB / 0.9867 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.0102, allocations: 0 / 0.9867 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.01033, allocations: 11.86 kB / 0.9867 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.01063, allocations: 31.78 kB / 0.9867 GB, free: 6.508 MB / 0.9356 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.00452/0.01515, allocations: 1.608 MB / 0.9883 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.01534, allocations: 99.66 kB / 0.9884 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.01539, allocations: 4 kB / 0.9884 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.0155, allocations: 55.88 kB / 0.9885 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.01577, allocations: 143.7 kB / 0.9886 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.01582, allocations: 19.94 kB / 0.9886 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004597/0.02041, allocations: 2.405 MB / 0.991 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.02071, allocations: 275.9 kB / 0.9912 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.02092, allocations: 152 kB / 0.9914 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.02615, allocations: 2.459 MB / 0.9938 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.02616, allocations: 0 / 0.9938 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.02616, allocations: 0 / 0.9938 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.02616, allocations: 0 / 0.9938 GB, free: 15.29 MB / 0.9512 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.0117/0.03786, allocations: 1.28 MB / 0.995 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.03791, allocations: 8.031 kB / 0.995 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.0384, allocations: 96.23 kB / 0.9951 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.03893, allocations: 306.5 kB / 0.9954 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.03894, allocations: 4.375 kB / 0.9954 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.03899, allocations: 12.36 kB / 0.9954 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.03952, allocations: 387.7 kB / 0.9958 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.03953, allocations: 192 / 0.9958 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.03955, allocations: 4.359 kB / 0.9958 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.03956, allocations: 3.938 kB / 0.9958 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/0.04008, allocations: 435.8 kB / 0.9962 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.04076, allocations: 0.5693 MB / 0.9968 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.04139, allocations: 0.5632 MB / 0.9973 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.04177, allocations: 333.7 kB / 0.9976 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000766/0.04253, allocations: 131.9 kB / 0.9978 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.04302, allocations: 404.8 kB / 0.9982 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.04302, allocations: 0 / 0.9982 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.001619/0.04464, allocations: 1.293 MB / 0.9994 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.04473, allocations: 85.05 kB / 0.9995 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.04618, allocations: 1.223 MB / 1.001 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.04625, allocations: 29.7 kB / 1.001 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.04649, allocations: 266.1 kB / 1.001 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.04654, allocations: 23.84 kB / 1.001 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/0.04693, allocations: 343.6 kB / 1.001 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.0471, allocations: 310 kB / 1.002 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.04864, allocations: 1.369 MB / 1.003 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.05028, allocations: 1.505 MB / 1.004 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008146/0.05843, allocations: 3.564 MB / 1.008 GB, free: 492 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.05843, allocations: 3.984 kB / 1.008 GB, free: 488 kB / 0.9512 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005158/0.06359, allocations: 4.003 MB / 1.012 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.06362, allocations: 8 kB / 1.012 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.06364, allocations: 3.984 kB / 1.012 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.06366, allocations: 4 kB / 1.012 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.06381, allocations: 15.94 kB / 1.012 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.06381, allocations: 3.938 kB / 1.012 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.06439, allocations: 245.4 kB / 1.012 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.06445, allocations: 23.98 kB / 1.012 GB, free: 12.14 MB / 0.9669 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.0003646/0.06481, allocations: 241.6 kB / 1.012 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.0649, allocations: 71.3 kB / 1.012 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.06611, allocations: 0.9362 MB / 1.013 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.06611, allocations: 0 / 1.013 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.06612, allocations: 11.91 kB / 1.013 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.06613, allocations: 7.938 kB / 1.013 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.06662, allocations: 443.4 kB / 1.014 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.06662, allocations: 0 / 1.014 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.0667, allocations: 11.98 kB / 1.014 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.06671, allocations: 4 kB / 1.014 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.06672, allocations: 0 / 1.014 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.06672, allocations: 0 / 1.014 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.06672, allocations: 0 / 1.014 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.06784, allocations: 1.01 MB / 1.015 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.06794, allocations: 87.23 kB / 1.015 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.06801, allocations: 7.984 kB / 1.015 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.06816, allocations: 7.984 kB / 1.015 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.06822, allocations: 15.86 kB / 1.015 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.06826, allocations: 11.98 kB / 1.015 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008588/0.06912, allocations: 0.6689 MB / 1.016 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.06912, allocations: 0 / 1.016 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001668/0.07078, allocations: 0.5884 MB / 1.016 GB, free: 7.949 MB / 0.9669 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.002189/0.07297, allocations: 0.7924 MB / 1.017 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.07541, allocations: 1.997 MB / 1.019 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.07541, allocations: 0 / 1.019 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.07582, allocations: 331.8 kB / 1.019 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.07616, allocations: 44.72 kB / 1.019 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.07858, allocations: 1.757 MB / 1.021 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.079, allocations: 372.1 kB / 1.021 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.07914, allocations: 36.47 kB / 1.021 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.07926, allocations: 28.48 kB / 1.021 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.07926, allocations: 0 / 1.021 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of Templates: time 0.02696/0.1062, allocations: 14.07 MB / 1.035 GB, free: 4.594 MB / 0.9825 GB " [Timeout remaining time 300] 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: 9.987706135958433]