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.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.001818/0.001818, allocations: 113 kB / 17.6 MB, free: 4.785 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.002573/0.002573, allocations: 186.8 kB / 20.78 MB, free: 1.617 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.529/1.529, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.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.812/2.812, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 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_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: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 1.107 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8584, allocations: 168.7 MB / 1.272 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002945/0.8614, allocations: 1.794 MB / 1.274 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006911/0.8683, allocations: 5.449 MB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.8684, allocations: 5 kB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.8696, allocations: 365.3 kB / 1.279 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.8697, allocations: 67.34 kB / 1.28 GB, free: 2.762 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 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.004364/0.8741, allocations: 1.49 MB / 1.281 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.8744, allocations: 162.6 kB / 1.281 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.8744, allocations: 9.797 kB / 1.281 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.8745, allocations: 64.75 kB / 1.281 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.8748, allocations: 170.3 kB / 1.281 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.8748, allocations: 14.44 kB / 1.281 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.8787, allocations: 2.314 MB / 1.284 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.8789, allocations: 280.4 kB / 1.284 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.8791, allocations: 305.1 kB / 1.284 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.8828, allocations: 2.186 MB / 1.286 GB, free: 460 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8828, allocations: 7.938 kB / 1.286 GB, free: 452 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8828, allocations: 3.938 kB / 1.286 GB, free: 448 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.8828, allocations: 0.75 kB / 1.286 GB, free: 448 kB / 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.009404/0.8923, allocations: 1.408 MB / 1.288 GB, free: 15.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.8923, allocations: 9.281 kB / 1.288 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.8927, allocations: 98.09 kB / 1.288 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/0.8934, allocations: 423.5 kB / 1.288 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.8934, allocations: 8.906 kB / 1.288 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.8934, allocations: 5.109 kB / 1.288 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.8939, allocations: 389.2 kB / 1.289 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8939, allocations: 0 / 1.289 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.8939, allocations: 6.391 kB / 1.289 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.8939, allocations: 1.406 kB / 1.289 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.8943, allocations: 440.9 kB / 1.289 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.8951, allocations: 0.6623 MB / 1.29 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.8956, allocations: 0.5611 MB / 1.29 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.8959, allocations: 337.6 kB / 1.291 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.897, allocations: 1.028 MB / 1.292 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/0.8974, allocations: 420.8 kB / 1.292 GB, free: 13.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.8974, allocations: 3 kB / 1.292 GB, free: 13.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.00172/0.8991, allocations: 1.299 MB / 1.293 GB, free: 13.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.8992, allocations: 84.78 kB / 1.293 GB, free: 13.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.9008, allocations: 1.298 MB / 1.295 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.9008, allocations: 32.78 kB / 1.295 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.9011, allocations: 289.8 kB / 1.295 GB, free: 12.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.9011, allocations: 22.03 kB / 1.295 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/0.9015, allocations: 350.9 kB / 1.295 GB, free: 12.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.9017, allocations: 316.8 kB / 1.296 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.9031, allocations: 1.375 MB / 1.297 GB, free: 11.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.9047, allocations: 1.506 MB / 1.298 GB, free: 10.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007615/0.9123, allocations: 3.558 MB / 1.302 GB, free: 9.012 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9123, allocations: 0 / 1.302 GB, free: 9.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004866/0.9171, allocations: 4.02 MB / 1.306 GB, free: 7.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9172, allocations: 9.891 kB / 1.306 GB, free: 7.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.9172, allocations: 4.109 kB / 1.306 GB, free: 7.016 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.9172, allocations: 1.312 kB / 1.306 GB, free: 7.016 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.9173, allocations: 18.42 kB / 1.306 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9174, allocations: 1.094 kB / 1.306 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.918, allocations: 242.1 kB / 1.306 GB, free: 6.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.918, allocations: 26.89 kB / 1.306 GB, free: 6.812 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.0003698/0.9184, allocations: 251.3 kB / 1.306 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.9185, allocations: 84.84 kB / 1.306 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.9195, allocations: 0.9437 MB / 1.307 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9195, allocations: 1.094 kB / 1.307 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9196, allocations: 1.828 kB / 1.307 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9196, allocations: 2.047 kB / 1.307 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005936/0.9202, allocations: 0.5116 MB / 1.308 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.9202, allocations: 5.719 kB / 1.308 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.9202, allocations: 11.59 kB / 1.308 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.9202, allocations: 1.188 kB / 1.308 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.9202, allocations: 2.828 kB / 1.308 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.9203, allocations: 6.109 kB / 1.308 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9203, allocations: 1.156 kB / 1.308 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.9213, allocations: 1.01 MB / 1.309 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.9214, allocations: 169.9 kB / 1.309 GB, free: 5.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.9215, allocations: 5.734 kB / 1.309 GB, free: 5.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.9217, allocations: 9.25 kB / 1.309 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.9217, allocations: 5.812 kB / 1.309 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.9217, allocations: 13.5 kB / 1.309 GB, free: 5.922 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008936/0.9226, allocations: 0.7262 MB / 1.31 GB, free: 5.676 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9226, allocations: 4 kB / 1.31 GB, free: 5.672 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00211/0.9247, allocations: 0.5909 MB / 1.31 GB, free: 5.562 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.001882/0.9266, allocations: 0.7041 MB / 1.311 GB, free: 5.293 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002316/0.9289, allocations: 1.993 MB / 1.313 GB, free: 4.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.929, allocations: 4.062 kB / 1.313 GB, free: 4.746 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.9293, allocations: 340.5 kB / 1.313 GB, free: 4.734 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.9297, allocations: 62.08 kB / 1.313 GB, free: 4.691 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.9321, allocations: 1.91 MB / 1.315 GB, free: 4.039 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.9328, allocations: 0.9898 MB / 1.316 GB, free: 3.336 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.933, allocations: 37.83 kB / 1.316 GB, free: 3.328 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.9331, allocations: 28.12 kB / 1.316 GB, free: 3.32 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.9331, allocations: 0 / 1.316 GB, free: 3.32 MB / 1.014 GB Notification: Performance of Templates: time 0.02628/0.9594, allocations: 14.35 MB / 1.33 GB, free: 276 kB / 1.014 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 -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/jenkins/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: 10.133483283221722]