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.001296/0.001296, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00144/0.00144, allocations: 216.6 kB / 22.26 MB, free: 5.082 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 8.039 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.181/3.181, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.001975/0.001975, allocations: 65.47 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3961, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003661/0.3997, allocations: 1.807 MB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008739/0.4085, allocations: 5.476 MB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.4087, allocations: 4 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.4101, allocations: 377.2 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.4102, allocations: 63.67 kB / 1.36 GB, free: 0.6719 MB / 1.045 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.004552/0.4148, allocations: 1.612 MB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.4151, allocations: 167.2 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.749e-05/0.4152, allocations: 5.75 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.4153, allocations: 67.7 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.4155, allocations: 167.5 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.4156, allocations: 12 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004546/0.4201, allocations: 2.652 MB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.4204, allocations: 283.7 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.4207, allocations: 310.1 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.425, allocations: 2.224 MB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.425, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.425, allocations: 4 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.425, allocations: 3.938 kB / 1.368 GB, free: 9.168 MB / 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.009029/0.434, allocations: 1.346 MB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.4341, allocations: 8.031 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.4341, allocations: 34.75 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.4346, allocations: 100.2 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006778/0.4352, allocations: 356.5 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4353, allocations: 4.375 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.4353, allocations: 4.375 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.4358, allocations: 395.3 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.4358, allocations: 0 / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4358, allocations: 0 / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4358, allocations: 0 / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.4363, allocations: 439.7 kB / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.437, allocations: 0.6377 MB / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.4376, allocations: 0.5556 MB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.438, allocations: 341.5 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006464/0.4386, allocations: 139.8 kB / 1.372 GB, free: 4.688 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/0.4391, allocations: 404.8 kB / 1.372 GB, free: 4.273 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.4391, allocations: 0 / 1.372 GB, free: 4.273 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001558/0.4406, allocations: 1.301 MB / 1.374 GB, free: 2.965 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.4407, allocations: 85.11 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.4422, allocations: 1.294 MB / 1.375 GB, free: 1.559 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.4422, allocations: 29.83 kB / 1.375 GB, free: 1.523 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.4425, allocations: 297.9 kB / 1.375 GB, free: 1.227 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.4425, allocations: 23.83 kB / 1.375 GB, free: 1.203 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003702/0.4429, allocations: 351.6 kB / 1.376 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.443, allocations: 318 kB / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.4444, allocations: 1.373 MB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.446, allocations: 1.507 MB / 1.379 GB, free: 13.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00762/0.4536, allocations: 3.557 MB / 1.382 GB, free: 9.996 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.4536, allocations: 0 / 1.382 GB, free: 9.996 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005022/0.4586, allocations: 4.021 MB / 1.386 GB, free: 5.941 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.4587, allocations: 12.03 kB / 1.386 GB, free: 5.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.4587, allocations: 0 / 1.386 GB, free: 5.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.4587, allocations: 4 kB / 1.386 GB, free: 5.926 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.4589, allocations: 15.98 kB / 1.386 GB, free: 5.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4589, allocations: 0 / 1.386 GB, free: 5.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.4594, allocations: 245.3 kB / 1.386 GB, free: 5.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.4595, allocations: 23.98 kB / 1.386 GB, free: 5.645 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.0003736/0.4598, allocations: 257.5 kB / 1.387 GB, free: 5.383 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.4599, allocations: 83.22 kB / 1.387 GB, free: 5.301 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.4611, allocations: 0.9486 MB / 1.388 GB, free: 4.348 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4611, allocations: 4 kB / 1.388 GB, free: 4.344 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4611, allocations: 0 / 1.388 GB, free: 4.344 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4611, allocations: 0 / 1.388 GB, free: 4.344 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.4616, allocations: 0.4896 MB / 1.388 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4616, allocations: 3.938 kB / 1.388 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.4617, allocations: 12.02 kB / 1.388 GB, free: 3.801 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4617, allocations: 4 kB / 1.388 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4617, allocations: 0 / 1.388 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4617, allocations: 4 kB / 1.388 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4617, allocations: 80 / 1.388 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4628, allocations: 1.022 MB / 1.389 GB, free: 2.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4629, allocations: 95.12 kB / 1.389 GB, free: 2.656 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.4629, allocations: 4 kB / 1.389 GB, free: 2.652 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4631, allocations: 7.984 kB / 1.389 GB, free: 2.645 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4631, allocations: 4 kB / 1.389 GB, free: 2.641 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.4632, allocations: 15.97 kB / 1.389 GB, free: 2.625 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008827/0.464, allocations: 0.7222 MB / 1.39 GB, free: 1.898 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.464, allocations: 0 / 1.39 GB, free: 1.898 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001834/0.4659, allocations: 0.5923 MB / 1.391 GB, free: 1.305 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.003656/0.4695, allocations: 2.16 MB / 1.393 GB, free: 15.13 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.4719, allocations: 2.001 MB / 1.395 GB, free: 13.11 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4719, allocations: 0 / 1.395 GB, free: 13.11 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.4723, allocations: 327.8 kB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.4727, allocations: 62 kB / 1.395 GB, free: 12.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/0.4902, allocations: 15.31 MB / 1.41 GB, free: 13.24 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.4908, allocations: 0.9917 MB / 1.411 GB, free: 12.22 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.491, allocations: 41.39 kB / 1.411 GB, free: 12.18 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.4914, allocations: 291.3 kB / 1.411 GB, free: 11.89 MB / 1.107 GB Notification: Performance of SimCode: time 7.22e-07/0.4914, allocations: 3.938 kB / 1.411 GB, free: 11.89 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06679/0.5582, allocations: 24.46 MB / 1.435 GB, free: 3.621 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.43, allocations: 1.562 kB / 1.435 GB, free: 3.621 MB / 1.123 GB " [Timeout remaining time 285] (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: 21.786836527986452]