Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001872/0.001872, 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.002474/0.002474, allocations: 211.8 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.789 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.362/3.362, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.002174/0.002174, allocations: 68.2 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3719, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001784/0.3737, allocations: 0.5833 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3751, allocations: 1.011 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.3751, allocations: 4 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.3751, allocations: 0 / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008396/0.376, allocations: 91.77 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.952e-05/0.376, allocations: 15.94 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.264e-05/0.376, allocations: 4 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.3761, allocations: 3.984 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.3761, allocations: 7.984 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.3763, allocations: 36.08 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3763, allocations: 3.984 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.3765, allocations: 83.84 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.3765, allocations: 4 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.3765, allocations: 3.984 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3767, allocations: 67.86 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.3767, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3767, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.3767, allocations: 7.922 kB / 1.365 GB, free: 12.08 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003778/0.3771, allocations: 254.3 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3772, allocations: 12.03 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.3772, allocations: 30.75 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.3772, allocations: 0.9375 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3773, allocations: 110.5 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3773, allocations: 4.375 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-06/0.3773, allocations: 384 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.652e-05/0.3774, allocations: 37.58 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3774, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.3774, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.3775, allocations: 3.984 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.648e-05/0.3775, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.3779, allocations: 358.5 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.378, allocations: 173.1 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.378, allocations: 88.08 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.378, allocations: 79.28 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.3781, allocations: 113.8 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3781, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.11e-05/0.3782, allocations: 25.7 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.3782, allocations: 126.7 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3784, allocations: 109.8 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3784, allocations: 25.7 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.3784, allocations: 80.14 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.3784, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.3784, allocations: 13.72 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3786, allocations: 318.8 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.3786, allocations: 3.984 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.3786, allocations: 3.938 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.3786, allocations: 12.86 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3786, allocations: 0 / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.885e-05/0.3787, allocations: 33.7 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3787, allocations: 7.938 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3787, allocations: 0 / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3788, allocations: 0 / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.539e-05/0.3788, allocations: 4.094 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3788, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.3788, allocations: 4 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.3788, allocations: 0 / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002583/0.3791, allocations: 193 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.3791, allocations: 106 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.3792, allocations: 108.1 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.097e-05/0.3793, allocations: 180.2 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.229e-05/0.3794, allocations: 184.3 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-05/0.3794, allocations: 184.2 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.3798, allocations: 380.2 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.257e-05/0.3799, allocations: 101 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.3799, allocations: 108.9 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.786e-05/0.38, allocations: 180.3 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.3801, allocations: 180.4 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.503e-05/0.3801, allocations: 180.3 kB / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.708e-05/0.3802, allocations: 184.3 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3804, allocations: 307.7 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.3804, allocations: 104.9 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/0.3805, allocations: 184.5 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.3806, allocations: 101 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.3807, allocations: 196.1 kB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.3807, allocations: 109 kB / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.3808, allocations: 79.28 kB / 1.37 GB, free: 6.406 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3808, allocations: 0 / 1.37 GB, free: 6.406 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002997/0.3811, allocations: 31.86 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0007331/0.3818, allocations: 0.8636 MB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.377e-05/0.3819, allocations: 0 / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3819, allocations: 0 / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.3819, allocations: 7.938 kB / 1.371 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.3823, allocations: 451.7 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.3828, allocations: 241.7 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.775e-05/0.3829, allocations: 59.22 kB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.3829, allocations: 0 / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.3829, allocations: 15.5 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3829, allocations: 0 / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.4132, allocations: 2.051 MB / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 10.12 kB / 1.374 GB, free: 2.789 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: 18.77229947503656]