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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 111.7 kB / 18.88 MB, free: 2.871 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.002006/0.002006, allocations: 204.7 kB / 22.18 MB, free: 5.176 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.608/1.608, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.89 kB / 1.109 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7521, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00265/0.7548, allocations: 1.441 MB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006975/0.7617, allocations: 4.255 MB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.7618, allocations: 0 / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.7619, allocations: 15.86 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.7622, allocations: 35.77 kB / 1.28 GB, free: 14.62 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.004234/0.7664, allocations: 1.509 MB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.7666, allocations: 99.66 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.7666, allocations: 7.984 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.7667, allocations: 51.77 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.767, allocations: 147.6 kB / 1.282 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.767, allocations: 16 kB / 1.282 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.771, allocations: 2.309 MB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.7713, allocations: 267.9 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.7716, allocations: 278.3 kB / 1.284 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.7756, allocations: 2.121 MB / 1.286 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.7756, allocations: 0 / 1.286 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7756, allocations: 0 / 1.286 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.7756, allocations: 0 / 1.286 GB, free: 7.824 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.01153/0.7871, allocations: 1.351 MB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7872, allocations: 8.031 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.7876, allocations: 92.23 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.7881, allocations: 365 kB / 1.288 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7881, allocations: 4.375 kB / 1.288 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.7882, allocations: 4.375 kB / 1.288 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.7887, allocations: 403.5 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7887, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.7887, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7887, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.7892, allocations: 439.7 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.7899, allocations: 0.6371 MB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.7905, allocations: 0.5632 MB / 1.29 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.7908, allocations: 337.7 kB / 1.29 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.792, allocations: 1.025 MB / 1.291 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.7925, allocations: 408.8 kB / 1.292 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.7925, allocations: 0 / 1.292 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001529/0.794, allocations: 1.301 MB / 1.293 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.7941, allocations: 77.11 kB / 1.293 GB, free: 408 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.7955, allocations: 1.219 MB / 1.294 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.7955, allocations: 33.7 kB / 1.294 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.7957, allocations: 265.9 kB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.7958, allocations: 27.78 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.7961, allocations: 347.6 kB / 1.295 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7963, allocations: 322 kB / 1.295 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.7977, allocations: 1.369 MB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.7992, allocations: 1.509 MB / 1.298 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00758/0.8068, allocations: 3.553 MB / 1.302 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.8068, allocations: 4 kB / 1.302 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004758/0.8116, allocations: 4.018 MB / 1.306 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8116, allocations: 4 kB / 1.306 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.8116, allocations: 4 kB / 1.306 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.8116, allocations: 0 / 1.306 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.8117, allocations: 15.98 kB / 1.306 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.8118, allocations: 0 / 1.306 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.8123, allocations: 241.4 kB / 1.306 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.8123, allocations: 27.92 kB / 1.306 GB, free: 3.289 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.0003308/0.8127, allocations: 242.3 kB / 1.306 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.8127, allocations: 79.23 kB / 1.306 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.8138, allocations: 0.9321 MB / 1.307 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.8138, allocations: 11.97 kB / 1.307 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8138, allocations: 0 / 1.307 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8138, allocations: 0 / 1.307 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.8143, allocations: 0.4892 MB / 1.308 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8143, allocations: 0 / 1.308 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.8144, allocations: 15.92 kB / 1.308 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8144, allocations: 0 / 1.308 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.8144, allocations: 8 kB / 1.308 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8144, allocations: 0 / 1.308 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8144, allocations: 0 / 1.308 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.8154, allocations: 1.006 MB / 1.309 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.8156, allocations: 164.3 kB / 1.309 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.8156, allocations: 4 kB / 1.309 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.8158, allocations: 7.984 kB / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.8158, allocations: 15.94 kB / 1.309 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.8159, allocations: 11.97 kB / 1.309 GB, free: 212 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008177/0.8167, allocations: 0.6689 MB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8167, allocations: 0 / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001599/0.8183, allocations: 0.5806 MB / 1.31 GB, free: 14.95 MB / 1.014 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.001997/0.8203, allocations: 0.6989 MB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.8226, allocations: 1.999 MB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8226, allocations: 0 / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.8229, allocations: 339.8 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.8233, allocations: 40.47 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.8256, allocations: 1.786 MB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.8263, allocations: 0.9718 MB / 1.316 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.8264, allocations: 36.56 kB / 1.316 GB, free: 9.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.8265, allocations: 27.41 kB / 1.316 GB, free: 8.992 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.8265, allocations: 0 / 1.316 GB, free: 8.992 MB / 1.014 GB Notification: Performance of Templates: time 0.02461/0.8511, allocations: 13.71 MB / 1.329 GB, free: 11.33 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.076106892898679]