Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001675/0.001675, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.002239/0.002239, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.521/1.521, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.796/2.796, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.91 kB / 1.057 GB, free: 1.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3818, allocations: 160.7 MB / 1.214 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003257/0.3851, allocations: 1.431 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007311/0.3924, allocations: 4.235 MB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.3925, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3926, allocations: 15.86 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.3929, allocations: 31.84 kB / 1.22 GB, free: 11.09 MB / 0.9669 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 10.1.1-maint.10.0.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.004499/0.3974, allocations: 1.507 MB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3975, allocations: 87.73 kB / 1.221 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.048e-05/0.3976, allocations: 11.98 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.3977, allocations: 51.77 kB / 1.221 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.398, allocations: 147.6 kB / 1.221 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.398, allocations: 16 kB / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.4017, allocations: 2.309 MB / 1.224 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.402, allocations: 271.7 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.4023, allocations: 278.3 kB / 1.224 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.4054, allocations: 2.126 MB / 1.226 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4054, allocations: 4 kB / 1.226 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4054, allocations: 0 / 1.226 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4054, allocations: 0 / 1.226 GB, free: 4.281 MB / 0.9669 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.01021/0.4156, allocations: 1.34 MB / 1.228 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4157, allocations: 8.031 kB / 1.228 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004375/0.4161, allocations: 88.25 kB / 1.228 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.4166, allocations: 376.9 kB / 1.228 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4166, allocations: 12.34 kB / 1.228 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.4167, allocations: 4.375 kB / 1.228 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.4172, allocations: 395.5 kB / 1.228 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4172, allocations: 0 / 1.228 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4172, allocations: 0 / 1.228 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4172, allocations: 0 / 1.228 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.4177, allocations: 447.7 kB / 1.229 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.4184, allocations: 0.641 MB / 1.23 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.419, allocations: 0.5516 MB / 1.23 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.4194, allocations: 337.7 kB / 1.23 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.4208, allocations: 1.028 MB / 1.231 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.4212, allocations: 408.8 kB / 1.232 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.4212, allocations: 0 / 1.232 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001546/0.4228, allocations: 1.293 MB / 1.233 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.4229, allocations: 85.11 kB / 1.233 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4242, allocations: 1.215 MB / 1.234 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.4243, allocations: 33.7 kB / 1.234 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.4245, allocations: 266.1 kB / 1.235 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.4245, allocations: 23.84 kB / 1.235 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.4249, allocations: 355.6 kB / 1.235 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4251, allocations: 310 kB / 1.235 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.4265, allocations: 1.373 MB / 1.237 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.4281, allocations: 1.505 MB / 1.238 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007472/0.4356, allocations: 3.56 MB / 1.242 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4356, allocations: 0 / 1.242 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004951/0.4405, allocations: 4.007 MB / 1.245 GB, free: 52 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4406, allocations: 4 kB / 1.245 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.4406, allocations: 12.02 kB / 1.245 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.173e-05/0.4406, allocations: 0 / 1.245 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4408, allocations: 16 kB / 1.246 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4408, allocations: 0 / 1.246 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.4414, allocations: 245.5 kB / 1.246 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/0.4414, allocations: 27.92 kB / 1.246 GB, free: 15.75 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.0003511/0.4418, allocations: 240.5 kB / 1.246 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.4419, allocations: 83.05 kB / 1.246 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.4421, allocations: 71.06 kB / 1.246 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4422, allocations: 4 kB / 1.246 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4422, allocations: 0 / 1.246 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4422, allocations: 0 / 1.246 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.4427, allocations: 0.4892 MB / 1.247 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4427, allocations: 7.938 kB / 1.247 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.4428, allocations: 11.92 kB / 1.247 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4428, allocations: 4.031 kB / 1.247 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.4428, allocations: 4 kB / 1.247 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4428, allocations: 0 / 1.247 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4428, allocations: 0 / 1.247 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4438, allocations: 0.998 MB / 1.248 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.444, allocations: 160.4 kB / 1.248 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.444, allocations: 4 kB / 1.248 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.4442, allocations: 11.98 kB / 1.248 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.4442, allocations: 4 kB / 1.248 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.4443, allocations: 19.91 kB / 1.248 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000836/0.4451, allocations: 0.6689 MB / 1.248 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4451, allocations: 0 / 1.248 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001973/0.4471, allocations: 0.5923 MB / 1.249 GB, free: 12.27 MB / 0.9981 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.001986/0.4491, allocations: 0.7015 MB / 1.25 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002315/0.4514, allocations: 2 MB / 1.252 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4514, allocations: 0 / 1.252 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.4517, allocations: 335.9 kB / 1.252 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4521, allocations: 44.53 kB / 1.252 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.4545, allocations: 1.822 MB / 1.254 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.4552, allocations: 0.9601 MB / 1.255 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4553, allocations: 31.41 kB / 1.255 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.4553, allocations: 0 / 1.255 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of Templates: time 0.6954/1.151, allocations: 13.91 MB / 1.268 GB, free: 48.18 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.80027785897255]