Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001494/0.001494, 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.00162/0.00162, allocations: 216.7 kB / 23.03 MB, free: 4.922 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.629/2.629, allocations: 476.8 MB / 0.7715 GB, free: 3.855 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.001983/0.001983, allocations: 63.5 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 170 MB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001721/0.3045, allocations: 0.5838 MB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3058, allocations: 1.008 MB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.3058, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.3058, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007025/0.3065, allocations: 99.77 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.037e-05/0.3065, allocations: 8 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.3066, allocations: 11.92 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.3066, allocations: 4 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.3067, allocations: 3.938 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.3069, allocations: 39.91 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.3069, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.307, allocations: 83.91 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.3071, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.3071, allocations: 4 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3072, allocations: 75.36 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3072, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3072, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.3073, allocations: 4 kB / 1.286 GB, free: 8.633 MB / 0.9825 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.0003138/0.3076, allocations: 251.8 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3076, allocations: 12.03 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.382e-05/0.3076, allocations: 4.188 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.3076, allocations: 30.75 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.3077, allocations: 4.938 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3078, allocations: 118.4 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.3078, allocations: 384 / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3078, allocations: 4.125 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.728e-05/0.3079, allocations: 25.7 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.3079, allocations: 0 / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.3079, allocations: 4 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3079, allocations: 4 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.548e-05/0.3079, allocations: 0 / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.3083, allocations: 358.6 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3084, allocations: 179 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.3084, allocations: 80.14 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.3084, allocations: 75.28 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.3085, allocations: 109.8 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3085, allocations: 3.938 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.842e-05/0.3086, allocations: 33.64 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.3086, allocations: 126.7 kB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.3087, allocations: 101.9 kB / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3087, allocations: 25.7 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.3088, allocations: 84.14 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.3088, allocations: 0 / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3088, allocations: 13.7 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3089, allocations: 322.8 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.309, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.309, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/0.309, allocations: 8.859 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.309, allocations: 0 / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.156e-05/0.3091, allocations: 37.7 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3091, allocations: 14.48 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3091, allocations: 3.938 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3091, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.259e-05/0.3091, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3091, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.3091, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3091, allocations: 8 kB / 1.288 GB, free: 6.438 MB / 0.9825 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.0001003/0.3092, allocations: 189.1 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.3093, allocations: 104.9 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.3094, allocations: 120.1 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/0.3094, allocations: 176.3 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.911e-05/0.3095, allocations: 180.4 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.894e-05/0.3096, allocations: 180.3 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.3098, allocations: 388.2 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.23e-05/0.3099, allocations: 104.9 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.3099, allocations: 101 kB / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.268e-05/0.31, allocations: 180.2 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.31, allocations: 184.3 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.305e-05/0.3101, allocations: 180.2 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.553e-05/0.3102, allocations: 184.2 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3104, allocations: 316 kB / 1.29 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3104, allocations: 105 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.3105, allocations: 184.2 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.3106, allocations: 104.9 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.3106, allocations: 176.3 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.3107, allocations: 108.9 kB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.3107, allocations: 87.27 kB / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3107, allocations: 0 / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002362/0.311, allocations: 19.88 kB / 1.291 GB, free: 2.941 MB / 0.9825 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.0006544/0.3116, allocations: 0.8579 MB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.018e-05/0.3117, allocations: 11.88 kB / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3117, allocations: 0 / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3117, allocations: 4 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3121, allocations: 459.7 kB / 1.292 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.3126, allocations: 237.8 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.33e-05/0.3126, allocations: 59.34 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.3126, allocations: 0 / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.3127, allocations: 15.38 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3127, allocations: 0 / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.3333, allocations: 1.698 MB / 1.294 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.91, allocations: 8.094 kB / 1.294 GB, free: 15.71 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.131833842024207]