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.001472/0.001472, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00158/0.00158, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.416/1.416, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8/2.8, allocations: 0.5003 GB / 0.8026 GB, free: 6.672 MB / 0.6387 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.001941/0.001941, allocations: 75.89 kB / 1.165 GB, free: 388 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8373, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001543/0.8389, allocations: 0.5916 MB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.8399, allocations: 1.01 MB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.8399, allocations: 1.281 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.8399, allocations: 0 / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006357/0.8405, allocations: 95.47 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-05/0.8406, allocations: 13.64 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.8406, allocations: 4.109 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.8407, allocations: 2.516 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.8407, allocations: 2.031 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.8409, allocations: 45.22 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.8409, allocations: 1.312 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.841, allocations: 82.52 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.841, allocations: 1 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.8411, allocations: 8.922 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.8412, allocations: 75.5 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8412, allocations: 0 / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8412, allocations: 1.094 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.8412, allocations: 0 / 1.342 GB, free: 15.02 MB / 1.061 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.0002472/0.8415, allocations: 336.8 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.8415, allocations: 9.844 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.916e-05/0.8415, allocations: 4.188 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.537e-05/0.8415, allocations: 36.52 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.053e-05/0.8416, allocations: 0.9375 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.063e-05/0.8416, allocations: 171.9 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.8416, allocations: 1.312 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.8416, allocations: 5.531 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.652e-05/0.8417, allocations: 32.3 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8417, allocations: 0 / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.8417, allocations: 0 / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.8417, allocations: 1.375 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.8417, allocations: 5.672 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.842, allocations: 464.1 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.89e-05/0.842, allocations: 179.1 kB / 1.343 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.309e-05/0.842, allocations: 80.14 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.8421, allocations: 76.59 kB / 1.343 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.8421, allocations: 110.6 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.8421, allocations: 1.031 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.762e-05/0.8421, allocations: 27.53 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.8422, allocations: 130.7 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.8422, allocations: 102.1 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-06/0.8422, allocations: 29.64 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.8422, allocations: 85.8 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.8422, allocations: 0 / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.8423, allocations: 13.05 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.8423, allocations: 320.3 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-06/0.8423, allocations: 1.438 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.8423, allocations: 5.688 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.8423, allocations: 11.06 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8423, allocations: 0 / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.177e-05/0.8424, allocations: 33.02 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.8424, allocations: 6.156 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.8424, allocations: 0 / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.8424, allocations: 0.7969 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.228e-05/0.8425, allocations: 1.438 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.8425, allocations: 0 / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.8425, allocations: 8.734 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.8425, allocations: 1.719 kB / 1.344 GB, free: 12.61 MB / 1.061 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 4.071e-05/0.8425, allocations: 193.3 kB / 1.344 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.8426, allocations: 106.9 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.8426, allocations: 106.1 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.8426, allocations: 181 kB / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/0.8426, allocations: 182.3 kB / 1.345 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.8426, allocations: 178.6 kB / 1.345 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.8427, allocations: 412.9 kB / 1.346 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.8428, allocations: 102.7 kB / 1.346 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.8428, allocations: 107.2 kB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.133e-05/0.8428, allocations: 182.5 kB / 1.346 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.8428, allocations: 176.9 kB / 1.346 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-05/0.8428, allocations: 190.5 kB / 1.346 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.089e-05/0.8429, allocations: 182.5 kB / 1.346 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.699e-05/0.8429, allocations: 308.7 kB / 1.347 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.8429, allocations: 188.9 kB / 1.347 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.843, allocations: 183 kB / 1.347 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.843, allocations: 101.5 kB / 1.347 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.843, allocations: 182.7 kB / 1.347 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.8431, allocations: 103.5 kB / 1.347 GB, free: 9.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.8431, allocations: 88.55 kB / 1.348 GB, free: 9.051 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8431, allocations: 4 kB / 1.348 GB, free: 9.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002423/0.8433, allocations: 19.23 kB / 1.348 GB, free: 9.043 MB / 1.061 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.0004248/0.8437, allocations: 0.8664 MB / 1.348 GB, free: 8.207 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.519e-05/0.8438, allocations: 5.25 kB / 1.348 GB, free: 8.203 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8438, allocations: 1.344 kB / 1.348 GB, free: 8.203 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.8438, allocations: 0.5156 kB / 1.348 GB, free: 8.203 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.844, allocations: 457.7 kB / 1.349 GB, free: 7.754 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.8445, allocations: 245.9 kB / 1.349 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.061e-05/0.8445, allocations: 0.6757 MB / 1.35 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.8446, allocations: 2.406 kB / 1.35 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.8446, allocations: 9.688 kB / 1.35 GB, free: 6.805 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.8446, allocations: 0 / 1.35 GB, free: 6.805 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.8612, allocations: 1.63 MB / 1.351 GB, free: 6.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.775, allocations: 14.39 kB / 1.351 GB, free: 6.391 MB / 1.061 GB " [Timeout remaining time 291] (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: 14.857395101047587]