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.00888/0.00888, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.633/1.633, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.631/2.631, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 64.11 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8762/0.8782, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001837/0.8801, allocations: 0.5753 MB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.8815, allocations: 1.006 MB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.8815, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.8816, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008433/0.8824, allocations: 95.77 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.773e-05/0.8825, allocations: 15.92 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.8825, allocations: 8 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.8826, allocations: 3.984 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.8826, allocations: 4 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.8828, allocations: 27.97 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.8828, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.883, allocations: 87.86 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.8831, allocations: 7.922 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.8831, allocations: 0 / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.8832, allocations: 67.72 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8832, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8833, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8833, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8887 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.0004043/0.8837, allocations: 335.2 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8837, allocations: 16.86 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.8838, allocations: 34.73 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.8838, allocations: 4.938 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.884, allocations: 168.3 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.884, allocations: 384 / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.884, allocations: 384 / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.8841, allocations: 37.52 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.8841, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.8841, allocations: 4 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.8842, allocations: 4 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.8842, allocations: 3.984 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.8848, allocations: 472.6 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.8851, allocations: 173.1 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.8852, allocations: 80.14 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.8853, allocations: 75.28 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.8853, allocations: 109.8 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.8853, allocations: 0 / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001622/0.8855, allocations: 33.7 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.8856, allocations: 126.7 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.8857, allocations: 97.84 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.8857, allocations: 25.7 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.8858, allocations: 88.09 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.8858, allocations: 8 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.8858, allocations: 9.719 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.886, allocations: 322.7 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.8861, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.8861, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.8861, allocations: 4.859 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.8861, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/0.8862, allocations: 41.77 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.8862, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.8862, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.8863, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.434e-05/0.8863, allocations: 4 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.8863, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.8863, allocations: 3.938 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.8863, allocations: 7.922 kB / 1.17 GB, free: 15.32 MB / 0.9044 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.0001261/0.8865, allocations: 185.1 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.8865, allocations: 109 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.8866, allocations: 104.1 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-05/0.8867, allocations: 180.2 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.933e-05/0.8868, allocations: 192.2 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-05/0.8869, allocations: 180.2 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.8871, allocations: 401.2 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-05/0.8872, allocations: 109 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.8873, allocations: 108.9 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-05/0.8873, allocations: 176.3 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/0.8874, allocations: 180.2 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.043e-05/0.8875, allocations: 184.2 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.927e-05/0.8876, allocations: 184.3 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.8878, allocations: 315.9 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.8879, allocations: 182 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.888, allocations: 180.2 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.8881, allocations: 109 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.8882, allocations: 184.2 kB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.8882, allocations: 101 kB / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.8883, allocations: 79.28 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8883, allocations: 0 / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002727/0.8886, allocations: 23.92 kB / 1.174 GB, free: 11.7 MB / 0.9044 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.0009699/0.8896, allocations: 0.8696 MB / 1.174 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.524e-05/0.8896, allocations: 4 kB / 1.174 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8896, allocations: 4 kB / 1.174 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.8897, allocations: 4.062 kB / 1.174 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.8902, allocations: 461.8 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.8908, allocations: 241.6 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.8911, allocations: 0.669 MB / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.8912, allocations: 8 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.8912, allocations: 11.42 kB / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8912, allocations: 0 / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.9163, allocations: 1.557 MB / 1.177 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/9.135, allocations: 8.766 kB / 1.177 GB, free: 7.996 MB / 0.9044 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