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.001865/0.001865, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00212/0.00212, allocations: 186 kB / 20.78 MB, free: 1.547 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.431/1.431, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.564/2.564, allocations: 443.4 MB / 0.7304 GB, free: 14.09 MB / 0.5762 GB " [Timeout remaining time 177] 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.001952/0.001952, allocations: 67.89 kB / 1.059 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2926, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002515/0.2952, allocations: 1.437 MB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006827/0.302, allocations: 4.272 MB / 1.222 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.302, allocations: 4 kB / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.3021, allocations: 11.86 kB / 1.222 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.3024, allocations: 27.84 kB / 1.222 GB, free: 9.523 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.003905/0.3063, allocations: 1.512 MB / 1.223 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3064, allocations: 95.61 kB / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.3065, allocations: 8 kB / 1.223 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.3065, allocations: 51.83 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.3068, allocations: 147.6 kB / 1.224 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.3068, allocations: 12 kB / 1.224 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.3103, allocations: 2.309 MB / 1.226 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.3106, allocations: 267.8 kB / 1.226 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.3108, allocations: 278.3 kB / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.3137, allocations: 2.126 MB / 1.228 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3137, allocations: 0 / 1.228 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3137, allocations: 0 / 1.228 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.3137, allocations: 0 / 1.228 GB, free: 2.719 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.009083/0.3228, allocations: 1.347 MB / 1.23 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3229, allocations: 12.03 kB / 1.23 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.3233, allocations: 96.19 kB / 1.23 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.3237, allocations: 361 kB / 1.23 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3237, allocations: 8.312 kB / 1.23 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.3238, allocations: 8.359 kB / 1.23 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.3243, allocations: 395.5 kB / 1.231 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3243, allocations: 0 / 1.231 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3243, allocations: 4 kB / 1.231 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3243, allocations: 4 kB / 1.231 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.3248, allocations: 435.7 kB / 1.231 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.3255, allocations: 0.641 MB / 1.232 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.3261, allocations: 0.5555 MB / 1.232 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.3264, allocations: 333.7 kB / 1.233 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.3276, allocations: 1.032 MB / 1.234 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.328, allocations: 408.8 kB / 1.234 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.328, allocations: 0 / 1.234 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001496/0.3295, allocations: 1.289 MB / 1.235 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.3296, allocations: 93.22 kB / 1.235 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3309, allocations: 1.215 MB / 1.236 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.3309, allocations: 33.69 kB / 1.236 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.3312, allocations: 261.9 kB / 1.237 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3312, allocations: 23.84 kB / 1.237 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.3316, allocations: 355.6 kB / 1.237 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3317, allocations: 313.9 kB / 1.237 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.3331, allocations: 1.377 MB / 1.239 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.3347, allocations: 1.505 MB / 1.24 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007547/0.3422, allocations: 3.556 MB / 1.244 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3422, allocations: 0 / 1.244 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004745/0.347, allocations: 4.011 MB / 1.248 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.347, allocations: 7.938 kB / 1.248 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.347, allocations: 4 kB / 1.248 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.347, allocations: 0 / 1.248 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3472, allocations: 19.98 kB / 1.248 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3472, allocations: 4 kB / 1.248 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.3477, allocations: 237.3 kB / 1.248 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/0.3477, allocations: 27.97 kB / 1.248 GB, free: 14.18 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.0003168/0.348, allocations: 245.6 kB / 1.248 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.3481, allocations: 75.23 kB / 1.248 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.3492, allocations: 0.9399 MB / 1.249 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3492, allocations: 0 / 1.249 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3492, allocations: 0 / 1.249 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3492, allocations: 4 kB / 1.249 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.3497, allocations: 0.4891 MB / 1.25 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3497, allocations: 0 / 1.25 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.3498, allocations: 15.92 kB / 1.25 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3498, allocations: 0 / 1.25 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3498, allocations: 0 / 1.25 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3498, allocations: 4 kB / 1.25 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3498, allocations: 0 / 1.25 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009994/0.3508, allocations: 1.006 MB / 1.251 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3509, allocations: 160.4 kB / 1.251 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.351, allocations: 0 / 1.251 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3511, allocations: 11.97 kB / 1.251 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.3512, allocations: 4 kB / 1.251 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.3512, allocations: 23.91 kB / 1.251 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007794/0.352, allocations: 0.6728 MB / 1.251 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.352, allocations: 0 / 1.251 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001558/0.3536, allocations: 0.5845 MB / 1.252 GB, free: 9.836 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.001864/0.3554, allocations: 0.6991 MB / 1.253 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.3577, allocations: 2.003 MB / 1.255 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3577, allocations: 0 / 1.255 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.358, allocations: 335.8 kB / 1.255 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3584, allocations: 42.7 kB / 1.255 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3605, allocations: 1.786 MB / 1.257 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.3611, allocations: 0.9679 MB / 1.258 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.3613, allocations: 28.56 kB / 1.258 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3614, allocations: 27.41 kB / 1.258 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.3614, allocations: 4 kB / 1.258 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of Templates: time 0.5241/0.8855, allocations: 13.7 MB / 1.271 GB, free: 47.69 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.595646505244076]