Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_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_11_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.001547/0.001547, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 192.9 kB / 16.67 MB, free: 6.582 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.369/1.369, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.819/2.819, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 68.11 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2809, allocations: 159.1 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002648/0.2836, allocations: 1.438 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006539/0.2901, allocations: 4.226 MB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.2902, allocations: 0 / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.2903, allocations: 15.86 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.2905, allocations: 27.84 kB / 1.226 GB, free: 8.023 MB / 0.9825 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.1.0-maint.11.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.003961/0.2945, allocations: 1.504 MB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.2946, allocations: 99.61 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.2947, allocations: 8 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.2948, allocations: 43.84 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.295, allocations: 151.6 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.295, allocations: 16 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.2981, allocations: 2.208 MB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.2983, allocations: 263.9 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.2985, allocations: 278.3 kB / 1.231 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.302, allocations: 2.124 MB / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.302, allocations: 0 / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.116e-06/0.302, allocations: 4 kB / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.375e-05/0.302, allocations: 0 / 1.233 GB, free: 1.328 MB / 0.9825 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.008416/0.3104, allocations: 1.346 MB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3105, allocations: 12.03 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004612/0.3109, allocations: 100.2 kB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.3114, allocations: 357.1 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3114, allocations: 4.375 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.3114, allocations: 4.375 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.3119, allocations: 388.7 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3119, allocations: 0 / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3119, allocations: 8 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3119, allocations: 0 / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.3123, allocations: 443.6 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.3129, allocations: 0.641 MB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.3134, allocations: 0.5672 MB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3137, allocations: 329.7 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.3147, allocations: 1.025 MB / 1.238 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.3151, allocations: 404.8 kB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.3151, allocations: 4 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001302/0.3164, allocations: 1.285 MB / 1.239 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3165, allocations: 89.16 kB / 1.24 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3176, allocations: 1.226 MB / 1.241 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.3176, allocations: 25.7 kB / 1.241 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3178, allocations: 273.9 kB / 1.241 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3178, allocations: 19.84 kB / 1.241 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.3182, allocations: 355.6 kB / 1.241 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.3183, allocations: 310 kB / 1.242 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.3194, allocations: 1.369 MB / 1.243 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.3207, allocations: 1.505 MB / 1.245 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007241/0.3279, allocations: 3.557 MB / 1.248 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.328, allocations: 0 / 1.248 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.6042/0.9322, allocations: 4.006 MB / 1.252 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.9322, allocations: 8.531 kB / 1.252 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.9322, allocations: 3.391 kB / 1.252 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.9323, allocations: 1.969 kB / 1.252 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.9324, allocations: 18.73 kB / 1.252 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.9324, allocations: 4.234 kB / 1.252 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.9328, allocations: 235.6 kB / 1.252 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.9329, allocations: 28.98 kB / 1.252 GB, free: 28.5 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.0003055/0.9332, allocations: 240.5 kB / 1.252 GB, free: 28.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.9333, allocations: 71.98 kB / 1.252 GB, free: 28.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.9335, allocations: 81.59 kB / 1.253 GB, free: 28.28 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.9335, allocations: 1.812 kB / 1.253 GB, free: 28.28 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9335, allocations: 0.6562 kB / 1.253 GB, free: 28.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9335, allocations: 1.516 kB / 1.253 GB, free: 28.28 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.934, allocations: 0.4936 MB / 1.253 GB, free: 28.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.934, allocations: 1.641 kB / 1.253 GB, free: 28.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.9341, allocations: 13.3 kB / 1.253 GB, free: 28.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9341, allocations: 5.656 kB / 1.253 GB, free: 28.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.9341, allocations: 3.422 kB / 1.253 GB, free: 28.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.9341, allocations: 3.406 kB / 1.253 GB, free: 28.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9341, allocations: 0.875 kB / 1.253 GB, free: 28.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.9352, allocations: 1.008 MB / 1.254 GB, free: 27.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.9353, allocations: 158.7 kB / 1.254 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.9353, allocations: 3.109 kB / 1.254 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.9355, allocations: 4.906 kB / 1.254 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.9355, allocations: 11.16 kB / 1.254 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.9356, allocations: 12.84 kB / 1.254 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000674/0.9362, allocations: 0.6738 MB / 1.255 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9362, allocations: 0 / 1.255 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001329/0.9376, allocations: 0.5846 MB / 1.255 GB, free: 27.66 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.001515/0.9391, allocations: 0.706 MB / 1.256 GB, free: 27.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.9407, allocations: 1.992 MB / 1.258 GB, free: 27.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9407, allocations: 0.7188 kB / 1.258 GB, free: 27.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.941, allocations: 342.7 kB / 1.258 GB, free: 27.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.9413, allocations: 41.25 kB / 1.258 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.9434, allocations: 1.776 MB / 1.26 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.9439, allocations: 0.9617 MB / 1.261 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000123/0.944, allocations: 36 kB / 1.261 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/0.9441, allocations: 25.42 kB / 1.261 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.9441, allocations: 0 / 1.261 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.02557/0.9697, allocations: 13.59 MB / 1.274 GB, free: 25.38 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches