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_SmallScaleValidation.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.001286/0.001286, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001369/0.001369, allocations: 189.8 kB / 22.23 MB, free: 5.102 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 / 251 MB, free: 13.26 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.62/2.62, allocations: 443.4 MB / 0.7321 GB, free: 12.34 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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 1.062 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7505/0.7525, allocations: 160.8 MB / 1.219 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003108/0.7556, allocations: 1.78 MB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008635/0.7642, allocations: 5.471 MB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.7644, allocations: 1.344 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.7657, allocations: 370.6 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.7659, allocations: 61.33 kB / 1.226 GB, free: 13.88 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.004604/0.7705, allocations: 1.591 MB / 1.228 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.7708, allocations: 165.7 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.7709, allocations: 10.14 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.771, allocations: 70.27 kB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.7713, allocations: 167.1 kB / 1.228 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.7713, allocations: 14.88 kB / 1.228 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004747/0.7761, allocations: 2.618 MB / 1.231 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.7763, allocations: 275.8 kB / 1.231 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.7767, allocations: 314.1 kB / 1.231 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.7807, allocations: 2.226 MB / 1.233 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7807, allocations: 0 / 1.233 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7807, allocations: 0 / 1.233 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.7807, allocations: 0 / 1.233 GB, free: 8.137 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.00892/0.7896, allocations: 1.418 MB / 1.235 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.7897, allocations: 8.031 kB / 1.235 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004348/0.7901, allocations: 100.2 kB / 1.235 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.7908, allocations: 422.2 kB / 1.235 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.7908, allocations: 4.375 kB / 1.235 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.7909, allocations: 8.375 kB / 1.235 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.7914, allocations: 395.5 kB / 1.236 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7914, allocations: 0 / 1.236 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.7914, allocations: 3.984 kB / 1.236 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.7914, allocations: 4 kB / 1.236 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.7919, allocations: 439.7 kB / 1.236 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.7926, allocations: 0.6582 MB / 1.237 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.7932, allocations: 0.5672 MB / 1.237 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.7936, allocations: 333.7 kB / 1.238 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.7947, allocations: 1.028 MB / 1.239 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00046/0.7952, allocations: 408.8 kB / 1.239 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.7952, allocations: 0 / 1.239 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.001498/0.7967, allocations: 1.301 MB / 1.24 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.7968, allocations: 85.11 kB / 1.24 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.7982, allocations: 1.294 MB / 1.242 GB, free: 15.24 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.7982, allocations: 29.7 kB / 1.242 GB, free: 15.21 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.7985, allocations: 293.9 kB / 1.242 GB, free: 14.91 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.7985, allocations: 19.89 kB / 1.242 GB, free: 14.89 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.7989, allocations: 359.6 kB / 1.242 GB, free: 14.54 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.799, allocations: 318 kB / 1.242 GB, free: 14.22 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.8004, allocations: 1.369 MB / 1.244 GB, free: 12.85 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.8019, allocations: 1.509 MB / 1.245 GB, free: 11.33 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007661/0.8096, allocations: 3.553 MB / 1.249 GB, free: 7.688 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8096, allocations: 7.938 kB / 1.249 GB, free: 7.68 MB / 0.9513 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004804/0.8144, allocations: 4.026 MB / 1.253 GB, free: 3.617 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.8144, allocations: 10.19 kB / 1.253 GB, free: 3.609 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.8144, allocations: 0 / 1.253 GB, free: 3.609 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.8144, allocations: 4 kB / 1.253 GB, free: 3.605 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.8146, allocations: 15.98 kB / 1.253 GB, free: 3.59 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8146, allocations: 0 / 1.253 GB, free: 3.59 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.8151, allocations: 237.3 kB / 1.253 GB, free: 3.355 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.8152, allocations: 27.98 kB / 1.253 GB, free: 3.328 MB / 0.9513 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.000381/0.8155, allocations: 257.6 kB / 1.253 GB, free: 3.066 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.8156, allocations: 83.17 kB / 1.253 GB, free: 2.984 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.8167, allocations: 0.9485 MB / 1.254 GB, free: 2.027 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8167, allocations: 0 / 1.254 GB, free: 2.027 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8167, allocations: 3.984 kB / 1.254 GB, free: 2.023 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8167, allocations: 0 / 1.254 GB, free: 2.023 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.8173, allocations: 0.518 MB / 1.255 GB, free: 1.461 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8173, allocations: 0 / 1.255 GB, free: 1.461 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.8173, allocations: 7.938 kB / 1.255 GB, free: 1.453 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.8174, allocations: 4 kB / 1.255 GB, free: 1.449 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.8174, allocations: 3.984 kB / 1.255 GB, free: 1.445 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8174, allocations: 0 / 1.255 GB, free: 1.445 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8174, allocations: 4 kB / 1.255 GB, free: 1.441 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.8184, allocations: 1.011 MB / 1.256 GB, free: 420 kB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.8186, allocations: 176.3 kB / 1.256 GB, free: 224 kB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.818e-05/0.8186, allocations: 4 kB / 1.256 GB, free: 220 kB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.8188, allocations: 0 / 1.256 GB, free: 220 kB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.8188, allocations: 11.97 kB / 1.256 GB, free: 208 kB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.8189, allocations: 19.98 kB / 1.256 GB, free: 188 kB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.0009073/0.8198, allocations: 0.7261 MB / 1.257 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8198, allocations: 0 / 1.257 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001523/0.8213, allocations: 0.5923 MB / 1.257 GB, free: 14.86 MB / 0.9669 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.002256/0.8235, allocations: 0.7 MB / 1.258 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.8258, allocations: 1.989 MB / 1.26 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8258, allocations: 8.062 kB / 1.26 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.8261, allocations: 331.8 kB / 1.26 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.8265, allocations: 60.64 kB / 1.26 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.829, allocations: 1.891 MB / 1.262 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.8297, allocations: 0.9879 MB / 1.263 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.8299, allocations: 45.41 kB / 1.263 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.83, allocations: 27.42 kB / 1.263 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.83, allocations: 0 / 1.263 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of Templates: time 0.02683/0.8568, allocations: 14.36 MB / 1.277 GB, free: 10.45 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.745735387317836]