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_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.001662/0.001662, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002132/0.002132, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.264/3.264, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) [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.002078/0.002078, allocations: 71.08 kB / 1.186 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 181.9 MB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003134/0.3739, allocations: 1.752 MB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008019/0.3819, allocations: 4.88 MB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.382, allocations: 3.938 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.3834, allocations: 334.5 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.3835, allocations: 71.66 kB / 1.37 GB, free: 7.137 MB / 1.061 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'. Notification: Performance of NFTyping.typeClassSections: time 0.004199/0.3877, allocations: 1.58 MB / 1.372 GB, free: 5.555 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.388, allocations: 171.4 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.31e-05/0.3881, allocations: 13.67 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.763e-05/0.3882, allocations: 67.7 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.3884, allocations: 155.5 kB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.3885, allocations: 16 kB / 1.372 GB, free: 5.137 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.3927, allocations: 2.394 MB / 1.375 GB, free: 2.738 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.3929, allocations: 279.8 kB / 1.375 GB, free: 2.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.3932, allocations: 238.7 kB / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.3967, allocations: 2.212 MB / 1.377 GB, free: 12 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3967, allocations: 3.938 kB / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3967, allocations: 3.938 kB / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3967, allocations: 0 / 1.377 GB, free: 4 kB / 1.061 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.009852/0.4065, allocations: 1.338 MB / 1.379 GB, free: 14.63 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.4066, allocations: 8.031 kB / 1.379 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.4067, allocations: 38.75 kB / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.4071, allocations: 104.2 kB / 1.379 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/0.4078, allocations: 344.5 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4078, allocations: 8.375 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.4079, allocations: 4.375 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.4084, allocations: 391.3 kB / 1.379 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4084, allocations: 7.938 kB / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4084, allocations: 0 / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4085, allocations: 4 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.409, allocations: 431.7 kB / 1.38 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.4097, allocations: 0.6144 MB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/0.4104, allocations: 0.5594 MB / 1.381 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.4108, allocations: 333.7 kB / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006539/0.4114, allocations: 143.7 kB / 1.381 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.4119, allocations: 416.7 kB / 1.382 GB, free: 11.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.634e-06/0.4119, allocations: 0 / 1.382 GB, free: 11.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001751/0.4137, allocations: 1.297 MB / 1.383 GB, free: 9.824 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.4137, allocations: 85.05 kB / 1.383 GB, free: 9.723 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.4152, allocations: 1.298 MB / 1.384 GB, free: 8.414 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.4152, allocations: 33.7 kB / 1.385 GB, free: 8.375 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.4155, allocations: 289.9 kB / 1.385 GB, free: 8.086 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.4155, allocations: 23.83 kB / 1.385 GB, free: 8.062 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.4159, allocations: 347.6 kB / 1.385 GB, free: 7.719 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.416, allocations: 322 kB / 1.385 GB, free: 7.398 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.4174, allocations: 1.369 MB / 1.387 GB, free: 6.027 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.419, allocations: 1.509 MB / 1.388 GB, free: 4.508 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007341/0.4264, allocations: 3.556 MB / 1.392 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4264, allocations: 0 / 1.392 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005005/0.4314, allocations: 4.015 MB / 1.396 GB, free: 12.8 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4314, allocations: 12.03 kB / 1.396 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4314, allocations: 0 / 1.396 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4315, allocations: 0 / 1.396 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.4316, allocations: 23.92 kB / 1.396 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4316, allocations: 4 kB / 1.396 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.4321, allocations: 237.3 kB / 1.396 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.4322, allocations: 23.98 kB / 1.396 GB, free: 12.51 MB / 1.092 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.0003945/0.4326, allocations: 245.7 kB / 1.396 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.4327, allocations: 91.12 kB / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.4338, allocations: 0.9487 MB / 1.397 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4338, allocations: 4 kB / 1.397 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4338, allocations: 0 / 1.397 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4338, allocations: 3.984 kB / 1.397 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.4344, allocations: 485.5 kB / 1.398 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.4344, allocations: 7.938 kB / 1.398 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.4344, allocations: 11.98 kB / 1.398 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4344, allocations: 15.91 kB / 1.398 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4344, allocations: 0 / 1.398 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4345, allocations: 80 / 1.398 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4345, allocations: 3.984 kB / 1.398 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.4355, allocations: 1.01 MB / 1.399 GB, free: 9.625 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.4356, allocations: 99.12 kB / 1.399 GB, free: 9.527 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.4357, allocations: 4 kB / 1.399 GB, free: 9.523 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4358, allocations: 3.984 kB / 1.399 GB, free: 9.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.4359, allocations: 11.98 kB / 1.399 GB, free: 9.508 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.4359, allocations: 11.98 kB / 1.399 GB, free: 9.496 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008785/0.4368, allocations: 0.7299 MB / 1.4 GB, free: 8.762 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4368, allocations: 0 / 1.4 GB, free: 8.762 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001608/0.4384, allocations: 0.5884 MB / 1.4 GB, free: 8.172 MB / 1.092 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.00327/0.4417, allocations: 2.152 MB / 1.402 GB, free: 6.008 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.444, allocations: 1.997 MB / 1.404 GB, free: 3.996 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.444, allocations: 0 / 1.404 GB, free: 3.996 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.4444, allocations: 339.7 kB / 1.404 GB, free: 3.664 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.4448, allocations: 57.14 kB / 1.405 GB, free: 3.605 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.4617, allocations: 15.3 MB / 1.419 GB, free: 4.125 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.4621, allocations: 401.7 kB / 1.42 GB, free: 3.711 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.4623, allocations: 45.33 kB / 1.42 GB, free: 3.664 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.4627, allocations: 287.3 kB / 1.42 GB, free: 3.383 MB / 1.108 GB Notification: Performance of SimCode: time 1.072e-06/0.4627, allocations: 0 / 1.42 GB, free: 3.383 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06483/0.5275, allocations: 25.53 MB / 1.445 GB, free: 10.11 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.26, allocations: 16.58 kB / 1.445 GB, free: 10.1 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --stepSize=7.2e+08 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.825437713880092]