Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001784/0.001783, allocations: 108 kB / 15.61 MB, free: 152 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.001732/0.001732, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5981/0.5995, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001715/0.6012, allocations: 0.5678 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.6024, allocations: 0.9953 MB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.6025, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.6025, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0007111/0.6032, allocations: 95.77 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.595e-05/0.6033, allocations: 12 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.6033, allocations: 7.984 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.6034, allocations: 3.984 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.6034, allocations: 3.938 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.6036, allocations: 45.42 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.6036, allocations: 4 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.6038, allocations: 75.92 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.6038, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.6039, allocations: 3.984 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.604, allocations: 82.05 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.604, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.604, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.604, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 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.000313/0.6044, allocations: 336.7 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6044, allocations: 12.03 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.6044, allocations: 38.73 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.6045, allocations: 0.9375 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.6046, allocations: 160.4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.6046, allocations: 384 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.6046, allocations: 4.375 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.6047, allocations: 33.58 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.6047, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.6047, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.6048, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.6048, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.6052, allocations: 464.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.781e-05/0.6053, allocations: 177.1 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.6054, allocations: 84.17 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.6054, allocations: 79.28 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.6054, allocations: 105.8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.6054, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.754e-05/0.6055, allocations: 29.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.6056, allocations: 126.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.6057, allocations: 105.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.6057, allocations: 25.7 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.6057, allocations: 91.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.6057, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.6057, allocations: 13.72 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.6058, allocations: 318.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.6059, allocations: 3.984 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.6059, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.13e-05/0.6059, allocations: 8.797 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6059, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.447e-05/0.606, allocations: 37.77 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.606, allocations: 5.562 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.606, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.606, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.214e-05/0.606, allocations: 3.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.6061, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.6061, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.6061, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 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 7.672e-05/0.6062, allocations: 201 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.6062, allocations: 105 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.6063, allocations: 108 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.585e-05/0.6063, allocations: 176.5 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.917e-05/0.6064, allocations: 176.3 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-05/0.6064, allocations: 192.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.6066, allocations: 405.2 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/0.6067, allocations: 112.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.6067, allocations: 105 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.852e-05/0.6068, allocations: 176.3 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.6068, allocations: 184.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.076e-05/0.6069, allocations: 176.3 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.057e-05/0.6069, allocations: 188.2 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.607, allocations: 311.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.6071, allocations: 182.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.6072, allocations: 176.3 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.6072, allocations: 116.9 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.6073, allocations: 180.3 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.6073, allocations: 101 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.6074, allocations: 83.28 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.174e-06/0.6074, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002528/0.6076, allocations: 27.92 kB / 1.025 GB, free: 10.49 MB / 0.7794 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.0005939/0.6082, allocations: 0.8588 MB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.014e-05/0.6083, allocations: 4 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6083, allocations: 4.062 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.6083, allocations: 3.938 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.6087, allocations: 455.7 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.6092, allocations: 237.9 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.6094, allocations: 0.6806 MB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.277e-05/0.6095, allocations: 0 / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.6095, allocations: 15.42 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6095, allocations: 0 / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.6274, allocations: 1.528 MB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/8.133, allocations: 12.64 kB / 1.029 GB, free: 6.805 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches