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_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 155.7 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.727/2.727, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 74.23 kB / 0.9516 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3086, allocations: 169.9 MB / 1.118 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003534/0.3121, allocations: 1.735 MB / 1.119 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008895/0.321, allocations: 4.888 MB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.3212, allocations: 7.938 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.3226, allocations: 334.5 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3228, allocations: 55.73 kB / 1.124 GB, free: 11.46 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1-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.004704/0.3275, allocations: 1.589 MB / 1.126 GB, free: 9.871 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.3278, allocations: 155.4 kB / 1.126 GB, free: 9.719 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.3279, allocations: 13.8 kB / 1.126 GB, free: 9.707 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.328, allocations: 63.7 kB / 1.126 GB, free: 9.645 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.3283, allocations: 163.5 kB / 1.126 GB, free: 9.484 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.3284, allocations: 16 kB / 1.126 GB, free: 9.469 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.3329, allocations: 2.375 MB / 1.129 GB, free: 7.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.3332, allocations: 275.8 kB / 1.129 GB, free: 6.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.3335, allocations: 242.8 kB / 1.129 GB, free: 6.578 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004008/0.3375, allocations: 2.2 MB / 1.131 GB, free: 4.371 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3375, allocations: 0 / 1.131 GB, free: 4.371 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3375, allocations: 7.938 kB / 1.131 GB, free: 4.363 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.467e-05/0.3375, allocations: 0 / 1.131 GB, free: 4.363 MB / 1.076 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.01098/0.3485, allocations: 1.346 MB / 1.133 GB, free: 2.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3486, allocations: 15.97 kB / 1.133 GB, free: 2.965 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.349, allocations: 104.1 kB / 1.133 GB, free: 2.863 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.3496, allocations: 348.5 kB / 1.133 GB, free: 2.488 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3497, allocations: 4.375 kB / 1.133 GB, free: 2.484 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.3497, allocations: 12.36 kB / 1.133 GB, free: 2.473 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.3502, allocations: 391.5 kB / 1.133 GB, free: 2.078 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3502, allocations: 4 kB / 1.133 GB, free: 2.074 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3502, allocations: 0 / 1.133 GB, free: 2.074 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3502, allocations: 0 / 1.133 GB, free: 2.074 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.3507, allocations: 439.7 kB / 1.134 GB, free: 1.645 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.3515, allocations: 0.5937 MB / 1.134 GB, free: 1.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.3521, allocations: 0.5593 MB / 1.135 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.3525, allocations: 337.7 kB / 1.135 GB, free: 108 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5973/0.9497, allocations: 131.2 kB / 1.135 GB, free: 57.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.9501, allocations: 405.3 kB / 1.136 GB, free: 57.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.9501, allocations: 0 / 1.136 GB, free: 57.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001159/0.9513, allocations: 1.305 MB / 1.137 GB, free: 57.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.9513, allocations: 81.53 kB / 1.137 GB, free: 57.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.9523, allocations: 1.294 MB / 1.138 GB, free: 57.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.9524, allocations: 35.2 kB / 1.138 GB, free: 57.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.9525, allocations: 290.9 kB / 1.139 GB, free: 57.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.9526, allocations: 22.97 kB / 1.139 GB, free: 57.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.9528, allocations: 356.1 kB / 1.139 GB, free: 57.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.9528, allocations: 316 kB / 1.139 GB, free: 57.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009319/0.9538, allocations: 1.374 MB / 1.141 GB, free: 56.92 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009891/0.9548, allocations: 1.502 MB / 1.142 GB, free: 56.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/0.9612, allocations: 3.557 MB / 1.146 GB, free: 54.56 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.9612, allocations: 3.094 kB / 1.146 GB, free: 54.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003622/0.9648, allocations: 4.02 MB / 1.15 GB, free: 52.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.9648, allocations: 8.188 kB / 1.15 GB, free: 52.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.9649, allocations: 2.656 kB / 1.15 GB, free: 52.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.9649, allocations: 0 / 1.15 GB, free: 52.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.965, allocations: 21.5 kB / 1.15 GB, free: 52.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.965, allocations: 0 / 1.15 GB, free: 52.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.9655, allocations: 241.1 kB / 1.15 GB, free: 52.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.9656, allocations: 27.38 kB / 1.15 GB, free: 52.47 MB / 1.076 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.0002754/0.9658, allocations: 254.8 kB / 1.15 GB, free: 52.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.9659, allocations: 75.33 kB / 1.15 GB, free: 52.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.9667, allocations: 0.9532 MB / 1.151 GB, free: 52.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9667, allocations: 2.75 kB / 1.151 GB, free: 52.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9667, allocations: 0.75 kB / 1.151 GB, free: 52.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9667, allocations: 3.281 kB / 1.151 GB, free: 52.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.967, allocations: 481.4 kB / 1.152 GB, free: 52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.967, allocations: 0 / 1.152 GB, free: 52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.9671, allocations: 9.25 kB / 1.152 GB, free: 52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9671, allocations: 0 / 1.152 GB, free: 52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.9671, allocations: 2.938 kB / 1.152 GB, free: 52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9671, allocations: 0 / 1.152 GB, free: 52 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9671, allocations: 0 / 1.152 GB, free: 52 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.9679, allocations: 1.019 MB / 1.153 GB, free: 51.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.9679, allocations: 90.05 kB / 1.153 GB, free: 51.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.968, allocations: 0 / 1.153 GB, free: 51.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.9682, allocations: 10.66 kB / 1.153 GB, free: 51.78 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.9682, allocations: 5.938 kB / 1.153 GB, free: 51.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.9682, allocations: 15.14 kB / 1.153 GB, free: 51.78 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006347/0.9689, allocations: 0.7229 MB / 1.153 GB, free: 51.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9689, allocations: 0 / 1.153 GB, free: 51.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001353/0.9702, allocations: 0.5955 MB / 1.154 GB, free: 51.43 MB / 1.076 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.001606/0.9718, allocations: 0.7018 MB / 1.155 GB, free: 51.24 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.9734, allocations: 1.993 MB / 1.157 GB, free: 50.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9734, allocations: 0 / 1.157 GB, free: 50.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.9737, allocations: 340.8 kB / 1.157 GB, free: 50.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.9741, allocations: 55.14 kB / 1.157 GB, free: 50.65 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.9769, allocations: 1.905 MB / 1.159 GB, free: 50.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.9772, allocations: 394.8 kB / 1.159 GB, free: 49.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.9774, allocations: 44.97 kB / 1.159 GB, free: 49.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.9775, allocations: 37.44 kB / 1.159 GB, free: 49.91 MB / 1.076 GB Notification: Performance of SimCode: time 1.122e-06/0.9775, allocations: 0 / 1.159 GB, free: 49.91 MB / 1.076 GB Notification: Performance of Templates: time 0.02643/1.004, allocations: 14.65 MB / 1.174 GB, free: 48.71 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.97549458197318]