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.001223/0.001223, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001355/0.001355, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.636/2.636, allocations: 476.7 MB / 0.7714 GB, free: 4.289 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.001999/0.001999, allocations: 64.53 kB / 1.118 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3039, allocations: 170 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001804/0.3057, allocations: 0.5859 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3071, allocations: 1.023 MB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.3071, allocations: 0 / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.3072, allocations: 0 / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007433/0.3079, allocations: 99.77 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.755e-05/0.3079, allocations: 15.92 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.935e-05/0.308, allocations: 4 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.308, allocations: 7.984 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.3081, allocations: 7.938 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.3083, allocations: 31.77 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.3083, allocations: 0 / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.3085, allocations: 87.91 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.3085, allocations: 0 / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.3085, allocations: 4 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3087, allocations: 75.36 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3087, allocations: 0 / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3087, allocations: 4 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3087, allocations: 4 kB / 1.286 GB, free: 9.906 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.0003412/0.309, allocations: 256.6 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3091, allocations: 8.031 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.268e-05/0.3091, allocations: 192 / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.3091, allocations: 38.75 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.3092, allocations: 0.9375 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3093, allocations: 110.5 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3093, allocations: 8.375 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3093, allocations: 8.125 kB / 1.287 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.801e-05/0.3094, allocations: 25.7 kB / 1.287 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3094, allocations: 0 / 1.287 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.3094, allocations: 0 / 1.287 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3094, allocations: 0 / 1.287 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.3094, allocations: 7.938 kB / 1.287 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3098, allocations: 362.6 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/0.3099, allocations: 171 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.3099, allocations: 80.14 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.31, allocations: 79.27 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.31, allocations: 105.8 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.31, allocations: 8 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.192e-05/0.3101, allocations: 29.64 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.3101, allocations: 134.6 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3102, allocations: 101.8 kB / 1.288 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3103, allocations: 25.7 kB / 1.288 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.3103, allocations: 84.14 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.3103, allocations: 0 / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.3103, allocations: 9.719 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3105, allocations: 322.8 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-06/0.3105, allocations: 4 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.3105, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.3105, allocations: 8.859 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3105, allocations: 3.938 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.975e-05/0.3106, allocations: 33.69 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3106, allocations: 4 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3106, allocations: 4 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3106, allocations: 4.094 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.376e-05/0.3106, allocations: 0 / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3106, allocations: 0 / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.3107, allocations: 0 / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.3107, allocations: 0 / 1.288 GB, free: 7.715 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.0001018/0.3108, allocations: 193.1 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.3108, allocations: 108.9 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.3109, allocations: 108.1 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/0.311, allocations: 180.5 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.18e-05/0.311, allocations: 184.2 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.169e-05/0.3111, allocations: 180.2 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.3113, allocations: 388.2 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/0.3114, allocations: 101 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.3114, allocations: 105 kB / 1.29 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-05/0.3115, allocations: 180.2 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.3116, allocations: 188.2 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.27e-05/0.3116, allocations: 180.2 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.252e-05/0.3117, allocations: 176.3 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.3119, allocations: 316 kB / 1.291 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3119, allocations: 105 kB / 1.291 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.312, allocations: 188.2 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.3121, allocations: 101 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.3121, allocations: 180.2 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.3122, allocations: 108.9 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.3122, allocations: 87.27 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3122, allocations: 0 / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002504/0.3125, allocations: 23.88 kB / 1.291 GB, free: 4.211 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.0007716/0.3133, allocations: 0.8626 MB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.733e-05/0.3133, allocations: 15.92 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.3133, allocations: 0 / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3133, allocations: 0 / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3137, allocations: 459.8 kB / 1.293 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.3143, allocations: 237.7 kB / 1.293 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3145, allocations: 0.6729 MB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.3146, allocations: 4 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.3146, allocations: 7.438 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3146, allocations: 4 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.3357, allocations: 1.667 MB / 1.295 GB, free: 416 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.88, allocations: 8.688 kB / 1.295 GB, free: 408 kB / 0.9825 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.03866551601095]