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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 116.5 kB / 17.08 MB, free: 5.934 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.00167/0.00167, allocations: 194.2 kB / 20.03 MB, free: 3.016 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.506/1.506, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.086/3.086, allocations: 489.3 MB / 0.7687 GB, free: 3.848 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.91 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173/1.175, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002733/1.178, allocations: 1.447 MB / 1.264 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006939/1.185, allocations: 4.194 MB / 1.268 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/1.185, allocations: 3.938 kB / 1.268 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/1.185, allocations: 13.06 kB / 1.268 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002906/1.185, allocations: 28.47 kB / 1.268 GB, free: 4.18 MB / 0.9981 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 12.0.0-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.005799/1.191, allocations: 1.512 MB / 1.27 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/1.191, allocations: 84.78 kB / 1.27 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/1.191, allocations: 5.328 kB / 1.27 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/1.191, allocations: 50 kB / 1.27 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/1.192, allocations: 147.8 kB / 1.27 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/1.192, allocations: 13.94 kB / 1.27 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005424/1.197, allocations: 2.21 MB / 1.272 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/1.198, allocations: 267.9 kB / 1.272 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004407/1.198, allocations: 282.8 kB / 1.273 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006475/1.205, allocations: 2.115 MB / 1.275 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.205, allocations: 1.5 kB / 1.275 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.205, allocations: 0 / 1.275 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.364e-05/1.205, allocations: 0 / 1.275 GB, free: 1.988 MB / 0.9981 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.01278/1.217, allocations: 1.344 MB / 1.276 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.217, allocations: 9.031 kB / 1.276 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/1.218, allocations: 91.03 kB / 1.276 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/1.219, allocations: 371.7 kB / 1.276 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.219, allocations: 3.406 kB / 1.276 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/1.219, allocations: 6.297 kB / 1.276 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/1.219, allocations: 392.9 kB / 1.277 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.219, allocations: 3.938 kB / 1.277 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/1.219, allocations: 9.469 kB / 1.277 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.219, allocations: 1 kB / 1.277 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/1.22, allocations: 441.5 kB / 1.277 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009133/1.221, allocations: 0.6369 MB / 1.278 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/1.221, allocations: 0.5574 MB / 1.278 GB, free: 136 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/1.222, allocations: 343.5 kB / 1.279 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/1.223, allocations: 1.026 MB / 1.28 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/1.224, allocations: 408.4 kB / 1.28 GB, free: 14.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 2.775e-06/1.224, allocations: 0 / 1.28 GB, free: 14.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.002074/1.226, allocations: 1.297 MB / 1.281 GB, free: 14.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/1.226, allocations: 81.16 kB / 1.282 GB, free: 14.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/1.228, allocations: 1.218 MB / 1.283 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/1.228, allocations: 28.27 kB / 1.283 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/1.229, allocations: 267.9 kB / 1.283 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/1.229, allocations: 24.45 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006281/1.23, allocations: 363.5 kB / 1.283 GB, free: 13.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.23, allocations: 309.5 kB / 1.284 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/1.232, allocations: 1.374 MB / 1.285 GB, free: 13.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/1.234, allocations: 1.503 MB / 1.286 GB, free: 12.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/1.242, allocations: 3.562 MB / 1.29 GB, free: 10.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.242, allocations: 0 / 1.29 GB, free: 10.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.006214/1.249, allocations: 4.006 MB / 1.294 GB, free: 8.703 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.249, allocations: 5.781 kB / 1.294 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/1.249, allocations: 3.609 kB / 1.294 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.249, allocations: 1.094 kB / 1.294 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/1.249, allocations: 19.95 kB / 1.294 GB, free: 8.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.249, allocations: 1.344 kB / 1.294 GB, free: 8.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/1.25, allocations: 247.6 kB / 1.294 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/1.25, allocations: 28.31 kB / 1.294 GB, free: 8.492 MB / 1.014 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.0005052/1.25, allocations: 239.8 kB / 1.294 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/1.251, allocations: 73.58 kB / 1.294 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/1.251, allocations: 75.77 kB / 1.295 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.251, allocations: 2.953 kB / 1.295 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.251, allocations: 0 / 1.295 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.251, allocations: 5.766 kB / 1.295 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/1.252, allocations: 498.2 kB / 1.295 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.252, allocations: 2 kB / 1.295 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/1.252, allocations: 11.05 kB / 1.295 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/1.252, allocations: 0.875 kB / 1.295 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/1.252, allocations: 3.797 kB / 1.295 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.252, allocations: 8.625 kB / 1.295 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.252, allocations: 1.188 kB / 1.295 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/1.253, allocations: 1.003 MB / 1.296 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/1.253, allocations: 166.3 kB / 1.296 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.254, allocations: 3.844 kB / 1.296 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/1.254, allocations: 7.891 kB / 1.296 GB, free: 7.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/1.254, allocations: 9.719 kB / 1.296 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/1.254, allocations: 17.41 kB / 1.296 GB, free: 7.641 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00129/1.255, allocations: 0.6701 MB / 1.297 GB, free: 7.414 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.255, allocations: 1.062 kB / 1.297 GB, free: 7.414 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003038/1.258, allocations: 0.5807 MB / 1.297 GB, free: 7.309 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.003903/1.262, allocations: 0.7053 MB / 1.298 GB, free: 7.043 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004015/1.266, allocations: 2.55 MB / 1.301 GB, free: 6.016 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.266, allocations: 0 / 1.301 GB, free: 6.016 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004875/1.267, allocations: 342.2 kB / 1.301 GB, free: 6.004 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/1.267, allocations: 39.09 kB / 1.301 GB, free: 5.969 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/1.271, allocations: 1.808 MB / 1.303 GB, free: 5.352 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/1.272, allocations: 0.9686 MB / 1.304 GB, free: 4.648 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/1.272, allocations: 30.94 kB / 1.304 GB, free: 4.637 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.272, allocations: 0 / 1.304 GB, free: 4.637 MB / 1.014 GB Notification: Performance of Templates: time 0.03645/1.308, allocations: 13.82 MB / 1.317 GB, free: 2.875 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 800] 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_2/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.75788920605555]