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.001647/0.001647, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001406/0.001406, allocations: 214.9 kB / 23.03 MB, free: 4.918 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 2.971/2.971, allocations: 0.5003 GB / 0.8062 GB, free: 28.36 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",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="cs",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.001814/0.001814, allocations: 61.95 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3079, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001612/0.3095, allocations: 0.5828 MB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3108, allocations: 1.011 MB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.3108, allocations: 0 / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.3108, allocations: 0 / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000645/0.3114, allocations: 95.77 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.495e-05/0.3115, allocations: 15.94 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.3115, allocations: 3.938 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.3116, allocations: 11.98 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.3116, allocations: 0 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.3118, allocations: 36.19 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.3118, allocations: 0 / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3119, allocations: 79.91 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.3119, allocations: 3.938 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.312, allocations: 7.938 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.3121, allocations: 71.84 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3121, allocations: 0 / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3121, allocations: 0 / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3121, allocations: 8 kB / 1.347 GB, free: 14.02 MB / 1.045 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.0002886/0.3124, allocations: 254.2 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3124, allocations: 8.031 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.388e-05/0.3125, allocations: 4.188 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.3125, allocations: 34.75 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.3125, allocations: 0.9375 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.678e-05/0.3126, allocations: 114.5 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.3126, allocations: 384 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.3126, allocations: 4.125 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.237e-05/0.3127, allocations: 29.69 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3127, allocations: 8 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.3127, allocations: 3.938 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3127, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.516e-05/0.3127, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.3131, allocations: 358.5 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/0.3131, allocations: 177.1 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.3132, allocations: 80.14 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.3132, allocations: 79.22 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.3133, allocations: 105.8 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3133, allocations: 4 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 6.496e-05/0.3133, allocations: 33.69 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.3134, allocations: 126.7 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.3135, allocations: 97.86 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3135, allocations: 29.64 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.3135, allocations: 88.09 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.3135, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.3136, allocations: 13.7 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3137, allocations: 322.8 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-06/0.3137, allocations: 0 / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.3137, allocations: 3.938 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.3137, allocations: 12.92 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3137, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.61e-05/0.3138, allocations: 29.7 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3138, allocations: 11.98 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3138, allocations: 0 / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.3138, allocations: 0 / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.339e-05/0.3138, allocations: 0 / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3139, allocations: 0 / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.199e-05/0.3139, allocations: 0 / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3139, allocations: 4 kB / 1.349 GB, free: 11.83 MB / 1.045 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 9.651e-05/0.314, allocations: 193.1 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.314, allocations: 104.9 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.3141, allocations: 115.9 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.845e-05/0.3142, allocations: 184.2 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.904e-05/0.3142, allocations: 180.3 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.745e-05/0.3143, allocations: 176.3 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.3145, allocations: 388.2 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-05/0.3146, allocations: 101.1 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.3146, allocations: 108.9 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.711e-05/0.3147, allocations: 180.3 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/0.3147, allocations: 184.3 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.216e-05/0.3148, allocations: 192.1 kB / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.991e-05/0.3149, allocations: 180.3 kB / 1.351 GB, free: 9.445 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.315, allocations: 307.7 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3151, allocations: 104.9 kB / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.3151, allocations: 184.2 kB / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.3152, allocations: 101 kB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.3153, allocations: 180.2 kB / 1.352 GB, free: 8.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.3153, allocations: 109 kB / 1.352 GB, free: 8.422 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.3154, allocations: 87.45 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3154, allocations: 0 / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002363/0.3156, allocations: 23.88 kB / 1.352 GB, free: 8.312 MB / 1.045 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.0006404/0.3163, allocations: 0.8631 MB / 1.353 GB, free: 7.426 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.391e-05/0.3163, allocations: 0 / 1.353 GB, free: 7.426 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3163, allocations: 0 / 1.353 GB, free: 7.426 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3163, allocations: 0 / 1.353 GB, free: 7.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3167, allocations: 471.7 kB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.3172, allocations: 242.7 kB / 1.354 GB, free: 6.684 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.3172, allocations: 63.2 kB / 1.354 GB, free: 6.602 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.3172, allocations: 0 / 1.354 GB, free: 6.602 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.3173, allocations: 11.44 kB / 1.354 GB, free: 6.59 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3173, allocations: 0 / 1.354 GB, free: 6.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.338, allocations: 1.71 MB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.11, allocations: 4.062 kB / 1.356 GB, free: 5.074 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.300426353001967]