Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001574/0.001574, 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.001951/0.001951, allocations: 212.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.382/1.382, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.956/2.956, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001888/0.001888, allocations: 66.33 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3188, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001702/0.3205, allocations: 0.5794 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3218, allocations: 1.011 MB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.3219, allocations: 4 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.3219, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006748/0.3225, allocations: 95.77 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.186e-05/0.3226, allocations: 7.984 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.687e-05/0.3226, allocations: 11.94 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.3227, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.3227, allocations: 7.984 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.3229, allocations: 38.23 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.3229, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.3231, allocations: 83.91 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.3231, allocations: 7.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.3231, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.3232, allocations: 71.84 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3232, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3232, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3233, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 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.0003094/0.3236, allocations: 262.2 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3236, allocations: 8.031 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.167e-05/0.3236, allocations: 192 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.3236, allocations: 34.69 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.3237, allocations: 8.891 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3238, allocations: 114.5 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.3238, allocations: 384 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.3238, allocations: 8.125 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.636e-05/0.3239, allocations: 29.69 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3239, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.3239, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.3239, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.3239, allocations: 4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.3243, allocations: 362.5 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.3244, allocations: 165.1 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.3244, allocations: 92.14 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.3245, allocations: 75.28 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.3245, allocations: 105.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3245, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.56e-05/0.3246, allocations: 29.64 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3246, allocations: 134.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3248, allocations: 97.86 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3248, allocations: 25.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.3248, allocations: 80.14 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.3248, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.3248, allocations: 13.72 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.325, allocations: 322.8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.325, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.325, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.325, allocations: 8.859 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.325, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.66e-05/0.3251, allocations: 33.64 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3251, allocations: 5.562 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3251, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3252, allocations: 4.031 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.358e-05/0.3252, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3252, allocations: 7.922 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.3252, allocations: 3.953 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3252, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 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.0001075/0.3253, allocations: 189.6 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.3254, allocations: 105 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.3254, allocations: 108.1 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.307e-05/0.3255, allocations: 184.3 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.988e-05/0.3256, allocations: 184.2 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.921e-05/0.3257, allocations: 180.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.3259, allocations: 376.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.636e-05/0.326, allocations: 112.9 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.326, allocations: 101 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.156e-05/0.3261, allocations: 180.2 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/0.3262, allocations: 180.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-05/0.3263, allocations: 180.3 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.224e-05/0.3263, allocations: 184.2 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3265, allocations: 307.9 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.3265, allocations: 117 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.3266, allocations: 176.3 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.3267, allocations: 116.9 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/0.3268, allocations: 180.3 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.3269, allocations: 104.9 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.3269, allocations: 83.28 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3269, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002626/0.3272, allocations: 27.86 kB / 1.334 GB, free: 9.82 MB / 1.029 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.0006969/0.3279, allocations: 0.8499 MB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.323e-05/0.3279, allocations: 7.938 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3279, allocations: 0 / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3279, allocations: 0 / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.3283, allocations: 462.4 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.3288, allocations: 249.7 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.3289, allocations: 67.16 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.3289, allocations: 4.062 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.329, allocations: 15.42 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.329, allocations: 0 / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.3501, allocations: 1.701 MB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.17, allocations: 11.3 kB / 1.337 GB, free: 6.582 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.42761322297156]