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.001347/0.001347, allocations: 110 kB / 18.93 MB, free: 2.945 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.001496/0.001496, allocations: 189.6 kB / 22.23 MB, free: 5.164 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.445/1.445, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002001/0.002001, allocations: 63.89 kB / 1.062 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7713, allocations: 160.8 MB / 1.219 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002756/0.774, allocations: 1.464 MB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007343/0.7814, allocations: 4.253 MB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.7814, allocations: 4.875 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.7816, allocations: 12.89 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.7818, allocations: 32.16 kB / 1.224 GB, free: 15.23 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 10.1.2-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.004874/0.7867, allocations: 1.609 MB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.7869, allocations: 93.86 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.7869, allocations: 2.938 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.787, allocations: 47.86 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.7872, allocations: 156.1 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.7873, allocations: 13.22 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.7922, allocations: 2.621 MB / 1.229 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.7924, allocations: 270 kB / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.7927, allocations: 273.2 kB / 1.229 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004035/0.7968, allocations: 2.154 MB / 1.231 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7968, allocations: 0 / 1.231 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7968, allocations: 0 / 1.231 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.7968, allocations: 0 / 1.231 GB, free: 10.23 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.008659/0.8055, allocations: 1.347 MB / 1.233 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.8055, allocations: 8.031 kB / 1.233 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.8059, allocations: 92.25 kB / 1.233 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.8064, allocations: 361.1 kB / 1.233 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.8064, allocations: 8.375 kB / 1.233 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.8064, allocations: 8.359 kB / 1.233 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.8069, allocations: 399.4 kB / 1.233 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8069, allocations: 0 / 1.233 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.8069, allocations: 0 / 1.233 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8069, allocations: 4 kB / 1.233 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.8074, allocations: 431.7 kB / 1.234 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.8081, allocations: 0.6449 MB / 1.234 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.8087, allocations: 0.5594 MB / 1.235 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.8091, allocations: 337.7 kB / 1.235 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.8103, allocations: 1.028 MB / 1.236 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004549/0.8107, allocations: 412.7 kB / 1.237 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.8107, allocations: 0 / 1.237 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.001494/0.8122, allocations: 1.297 MB / 1.238 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.8123, allocations: 85.09 kB / 1.238 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.8136, allocations: 1.219 MB / 1.239 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.8137, allocations: 29.69 kB / 1.239 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.8139, allocations: 265.9 kB / 1.24 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.814, allocations: 31.77 kB / 1.24 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.8144, allocations: 351.6 kB / 1.24 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.8145, allocations: 310.1 kB / 1.24 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.816, allocations: 1.369 MB / 1.242 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.8175, allocations: 1.509 MB / 1.243 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00769/0.8252, allocations: 3.564 MB / 1.246 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.8252, allocations: 0 / 1.246 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004926/0.8301, allocations: 4.003 MB / 1.25 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8301, allocations: 7.938 kB / 1.25 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.8302, allocations: 4 kB / 1.25 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.8302, allocations: 0 / 1.25 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.8303, allocations: 15.98 kB / 1.25 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.8303, allocations: 8.031 kB / 1.25 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.8308, allocations: 241.3 kB / 1.251 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.8309, allocations: 23.98 kB / 1.251 GB, free: 5.695 MB / 0.9512 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.000328/0.8312, allocations: 245.5 kB / 1.251 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.8313, allocations: 75.23 kB / 1.251 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.8324, allocations: 0.9439 MB / 1.252 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8324, allocations: 3.938 kB / 1.252 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8324, allocations: 0 / 1.252 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.8324, allocations: 4 kB / 1.252 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.8329, allocations: 492.9 kB / 1.252 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8329, allocations: 0 / 1.252 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.833, allocations: 11.92 kB / 1.252 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.833, allocations: 7.938 kB / 1.252 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.833, allocations: 0 / 1.252 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.833, allocations: 4 kB / 1.252 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.833, allocations: 4.031 kB / 1.252 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.8341, allocations: 0.998 MB / 1.253 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.8342, allocations: 164.3 kB / 1.254 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.8343, allocations: 7.938 kB / 1.254 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.8344, allocations: 7.984 kB / 1.254 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.8345, allocations: 15.92 kB / 1.254 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.8345, allocations: 11.98 kB / 1.254 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007981/0.8353, allocations: 0.6689 MB / 1.254 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.8353, allocations: 0 / 1.254 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001562/0.8368, allocations: 0.5845 MB / 1.255 GB, free: 1.348 MB / 0.9512 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.001828/0.8387, allocations: 0.7012 MB / 1.255 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.8409, allocations: 1.997 MB / 1.257 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8409, allocations: 0 / 1.257 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.8413, allocations: 335.7 kB / 1.258 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.8416, allocations: 44.53 kB / 1.258 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.844, allocations: 1.766 MB / 1.26 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.8446, allocations: 0.964 MB / 1.26 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.8447, allocations: 40.48 kB / 1.26 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.8448, allocations: 27.42 kB / 1.261 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of SimCode: time 8.82e-07/0.8448, allocations: 0 / 1.261 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of Templates: time 0.02405/0.8689, allocations: 13.72 MB / 1.274 GB, free: 13.73 MB / 0.9825 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.62256973888725]