Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 106.8 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 192.2 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.12 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6815, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002501/0.6841, allocations: 1.434 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006221/0.6903, allocations: 4.202 MB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.6904, allocations: 4 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.6905, allocations: 15.86 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.6908, allocations: 27.84 kB / 1.214 GB, free: 7.871 MB / 0.9356 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.0.1-master/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.003966/0.6948, allocations: 1.499 MB / 1.216 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.6949, allocations: 91.67 kB / 1.216 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.695, allocations: 4 kB / 1.216 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.6951, allocations: 51.89 kB / 1.216 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.6954, allocations: 143.6 kB / 1.216 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.6954, allocations: 16 kB / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.6989, allocations: 2.204 MB / 1.218 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.6991, allocations: 267.8 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.6994, allocations: 282.3 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.7026, allocations: 2.11 MB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7026, allocations: 0 / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7026, allocations: 0 / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.7027, allocations: 0 / 1.221 GB, free: 1.211 MB / 0.9356 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.01058/0.7133, allocations: 1.302 MB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.7133, allocations: 8.031 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.7138, allocations: 99.58 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.7142, allocations: 361 kB / 1.222 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.7142, allocations: 8.312 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.7142, allocations: 8.375 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.7147, allocations: 391.5 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.7147, allocations: 4 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.7147, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7147, allocations: 4 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.7151, allocations: 435.7 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.7157, allocations: 0.6327 MB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.7162, allocations: 0.5594 MB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.7165, allocations: 341.7 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.7175, allocations: 1.025 MB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.7179, allocations: 408.8 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.7179, allocations: 4 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.001266/0.7192, allocations: 1.289 MB / 1.227 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.7193, allocations: 81.11 kB / 1.227 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.7204, allocations: 1.218 MB / 1.228 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.7204, allocations: 29.7 kB / 1.229 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.7207, allocations: 261.4 kB / 1.229 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.7207, allocations: 23.69 kB / 1.229 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003755/0.7211, allocations: 351.6 kB / 1.229 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7212, allocations: 318 kB / 1.229 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.7226, allocations: 1.377 MB / 1.231 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.724, allocations: 1.511 MB / 1.232 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/0.7312, allocations: 3.553 MB / 1.236 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7312, allocations: 0 / 1.236 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004198/0.7354, allocations: 4.01 MB / 1.24 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.7355, allocations: 11.94 kB / 1.24 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.7355, allocations: 0 / 1.24 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.7355, allocations: 0 / 1.24 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.7357, allocations: 15.98 kB / 1.24 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.7357, allocations: 7.938 kB / 1.24 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.7362, allocations: 228.3 kB / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.7362, allocations: 27.98 kB / 1.24 GB, free: 12.75 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.0003457/0.7366, allocations: 243.1 kB / 1.24 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/0.7367, allocations: 70.7 kB / 1.24 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.737, allocations: 79 kB / 1.24 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.737, allocations: 0 / 1.24 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.737, allocations: 0 / 1.24 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.7371, allocations: 155.9 kB / 1.24 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.7372, allocations: 0 / 1.24 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.7373, allocations: 8.031 kB / 1.24 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.7374, allocations: 11.92 kB / 1.24 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009215/0.7383, allocations: 1.07 MB / 1.241 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009863/0.7393, allocations: 1.201 MB / 1.243 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003244/0.7397, allocations: 335.8 kB / 1.243 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007879/0.7404, allocations: 0.6728 MB / 1.244 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of Backend: time 8.52e-07/0.7405, allocations: 0 / 1.244 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005136/0.7456, allocations: 2.9 MB / 1.246 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002016/0.7476, allocations: 1.741 MB / 1.248 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of Templates: time 0.02387/0.7715, allocations: 14.02 MB / 1.262 GB, free: 6.164 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches