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.001842/0.001842, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00233/0.00233, allocations: 213.9 kB / 22.25 MB, free: 4.859 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.449/1.449, 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 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.716/2.716, allocations: 476 MB / 0.7699 GB, free: 4.734 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="me",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="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.002059/0.002059, allocations: 65.64 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3077, allocations: 169.9 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001837/0.3096, allocations: 0.5838 MB / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.311, allocations: 1.004 MB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.3111, allocations: 0 / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.3111, allocations: 0 / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006935/0.3118, allocations: 103.8 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.486e-05/0.3118, allocations: 11.94 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.216e-05/0.3119, allocations: 7.984 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.3119, allocations: 0 / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.3119, allocations: 7.938 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.3121, allocations: 31.59 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.3121, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.3123, allocations: 87.84 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.3123, allocations: 0 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.3123, allocations: 4 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.3125, allocations: 77.67 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3125, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3125, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3125, allocations: 0 / 1.284 GB, free: 10.51 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.0003328/0.3128, allocations: 257.8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3129, allocations: 8.031 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3129, allocations: 30.75 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.048e-05/0.3129, allocations: 0.9375 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3131, allocations: 118.5 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3131, allocations: 4.312 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.3131, allocations: 4.375 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.85e-05/0.3132, allocations: 37.58 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3132, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.3132, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.3132, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.3132, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3136, allocations: 366.5 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/0.3137, allocations: 171 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.3138, allocations: 84.08 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.3138, allocations: 75.28 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/0.3139, allocations: 117.8 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3139, allocations: 0 / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.179e-05/0.3139, allocations: 25.7 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.314, allocations: 126.7 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3141, allocations: 105.8 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3141, allocations: 25.7 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.3142, allocations: 84.12 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3142, allocations: 0 / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.3142, allocations: 17.66 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3143, allocations: 318.8 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.3144, allocations: 3.938 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/0.3144, allocations: 8 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.3144, allocations: 4.859 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.3144, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001017/0.3145, allocations: 37.69 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3145, allocations: 4 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3145, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3145, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.596e-05/0.3145, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3145, allocations: 4 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.3146, allocations: 4.094 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3146, allocations: 0 / 1.286 GB, free: 8.316 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.0001095/0.3147, allocations: 189 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.3147, allocations: 112.9 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.831e-05/0.3148, allocations: 108.1 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.948e-05/0.3149, allocations: 180.2 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-05/0.315, allocations: 180.3 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.352e-05/0.315, allocations: 180.2 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.3153, allocations: 384.3 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.373e-05/0.3154, allocations: 101 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.3154, allocations: 112.9 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.547e-05/0.3155, allocations: 184.2 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/0.3156, allocations: 180.2 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.679e-05/0.3157, allocations: 188.2 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.981e-05/0.3158, allocations: 176.3 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3159, allocations: 304 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.316, allocations: 120.9 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.3161, allocations: 176.3 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.3162, allocations: 101 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.3163, allocations: 184.2 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.3163, allocations: 101 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.3164, allocations: 91.27 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3164, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002663/0.3166, allocations: 23.88 kB / 1.29 GB, free: 4.816 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.0007234/0.3173, allocations: 0.8548 MB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.3174, allocations: 8 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3174, allocations: 4.062 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.3174, allocations: 0 / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3178, allocations: 470.7 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.3184, allocations: 230.9 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.3184, allocations: 59.34 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.3185, allocations: 336 / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.3185, allocations: 11.44 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3185, allocations: 4 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3477, allocations: 2.044 MB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.68, allocations: 4.328 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 18.15698067517951]