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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001624, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 69.55 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3259, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002154/0.3281, allocations: 0.5689 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3294, allocations: 1.009 MB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.3295, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.3295, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007586/0.3303, allocations: 95.78 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.864e-05/0.3304, allocations: 11.92 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.146e-05/0.3304, allocations: 7.984 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.3305, allocations: 0 / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.012e-05/0.3305, allocations: 8 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.3308, allocations: 35.91 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.3308, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.331, allocations: 79.91 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.331, allocations: 0 / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.331, allocations: 4 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3312, allocations: 72.14 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3312, allocations: 3.984 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3312, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3312, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 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.0003382/0.3316, allocations: 339.5 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3316, allocations: 12.03 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.3317, allocations: 34.69 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.3317, allocations: 0.9375 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3318, allocations: 164.4 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3318, allocations: 384 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3319, allocations: 4.359 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.3319, allocations: 33.62 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.332, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.332, allocations: 4 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.332, allocations: 4 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.332, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3324, allocations: 476.5 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.934e-05/0.3325, allocations: 165.1 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.3325, allocations: 84.14 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3326, allocations: 75.28 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3326, allocations: 105.8 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3326, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.142e-05/0.3327, allocations: 41.53 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3327, allocations: 126.7 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.3328, allocations: 101.9 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.3329, allocations: 25.7 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.3329, allocations: 80.14 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-06/0.3329, allocations: 7.938 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.333, allocations: 17.7 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3331, allocations: 318.7 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/0.3331, allocations: 4 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.3331, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.3332, allocations: 8.922 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3332, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001017/0.3333, allocations: 33.64 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3333, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3333, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3333, allocations: 3.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.602e-05/0.3334, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.3334, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.3334, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3334, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 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 9.079e-05/0.3335, allocations: 193.1 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.3336, allocations: 105 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.3336, allocations: 108 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.685e-05/0.3337, allocations: 180.2 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.715e-05/0.3338, allocations: 184.2 kB / 1.068 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.005e-05/0.3339, allocations: 184.3 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.3341, allocations: 405.2 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/0.3342, allocations: 108.9 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3342, allocations: 101 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.733e-05/0.3343, allocations: 180.2 kB / 1.069 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.3343, allocations: 184.3 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001137/0.3344, allocations: 184.5 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.617e-05/0.3345, allocations: 184.2 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.3346, allocations: 307.7 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.3347, allocations: 178.1 kB / 1.07 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.3348, allocations: 188.2 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.3349, allocations: 105 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.335, allocations: 176.3 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.335, allocations: 108.9 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.849e-05/0.3351, allocations: 91.44 kB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3351, allocations: 0 / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002792/0.3354, allocations: 20 kB / 1.071 GB, free: 6.465 MB / 0.8262 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.0006508/0.3361, allocations: 0.8785 MB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.64e-05/0.3361, allocations: 7.938 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3361, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3361, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3365, allocations: 463.7 kB / 1.072 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/0.3373, allocations: 239.7 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.3376, allocations: 0.6844 MB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.3376, allocations: 0 / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.3376, allocations: 11.44 kB / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3376, allocations: 0 / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.3567, allocations: 1.538 MB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.264/9.621, allocations: 11.28 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/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) Reference file matches