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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00126/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001364/0.001364, allocations: 192.2 kB / 16.13 MB, free: 6.691 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 67.89 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4969, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001708/0.4986, allocations: 0.6442 MB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.4997, allocations: 1.011 MB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.092e-05/0.4997, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.4997, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.5003, allocations: 83.8 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.022e-05/0.5004, allocations: 15.98 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.067e-05/0.5004, allocations: 4 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.5005, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.5005, allocations: 8 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.5007, allocations: 35.89 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.146e-06/0.5007, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.5008, allocations: 87.89 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.5009, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.5009, allocations: 3.938 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.501, allocations: 82.09 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.501, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.12e-07/0.501, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.501, allocations: 0 / 1.019 GB, free: 0.7852 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.0002577/0.5013, allocations: 331.5 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.5013, allocations: 12.03 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.5014, allocations: 34.69 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.987e-05/0.5014, allocations: 0.9375 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.613e-05/0.5015, allocations: 168.4 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.5015, allocations: 384 / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.5015, allocations: 4.375 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.601e-05/0.5016, allocations: 33.62 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-06/0.5016, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.5016, allocations: 4 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.5016, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.5016, allocations: 7.938 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.502, allocations: 464.5 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.502, allocations: 169.2 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.5021, allocations: 88.14 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.5021, allocations: 75.28 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.5021, allocations: 109.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5021, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.672e-05/0.5022, allocations: 25.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5022, allocations: 130.7 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.5023, allocations: 105.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.5023, allocations: 25.7 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.5024, allocations: 87.98 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.5024, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.5024, allocations: 13.72 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.5025, allocations: 314.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-06/0.5025, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-06/0.5025, allocations: 11.94 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/0.5025, allocations: 16.84 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5026, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.129e-05/0.5026, allocations: 33.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5027, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.5027, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.5027, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.278e-05/0.5027, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5027, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.5027, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.5027, allocations: 0 / 1.021 GB, free: 14.3 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 6.738e-05/0.5028, allocations: 189.6 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.5029, allocations: 112.9 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.5029, allocations: 108.1 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-05/0.5029, allocations: 184.2 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-05/0.503, allocations: 176.3 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-05/0.503, allocations: 184.3 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.5032, allocations: 413 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/0.5033, allocations: 105 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.5033, allocations: 112.9 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.265e-05/0.5033, allocations: 176.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.5034, allocations: 180.3 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.323e-05/0.5034, allocations: 184.2 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-05/0.5035, allocations: 184.3 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.5036, allocations: 303.7 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.5036, allocations: 182.1 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.5037, allocations: 188.2 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.5038, allocations: 101 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.5038, allocations: 188.2 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.5038, allocations: 105 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.5039, allocations: 79.47 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5039, allocations: 0 / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002321/0.5041, allocations: 24 kB / 1.024 GB, free: 10.67 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.0004861/0.5046, allocations: 0.8808 MB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.557e-05/0.5047, allocations: 4 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5047, allocations: 0 / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.5047, allocations: 0 / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.505, allocations: 0.5161 MB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.5054, allocations: 247.5 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.5056, allocations: 0.6692 MB / 1.026 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.178e-05/0.5056, allocations: 4 kB / 1.026 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.5056, allocations: 11.44 kB / 1.026 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5057, allocations: 0 / 1.026 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.761/2.267, allocations: 1.413 MB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/2.267, allocations: 332.1 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/3.892, allocations: 2.031 kB / 1.028 GB, free: 6.664 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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