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.00127/0.00127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001242/0.001243, allocations: 195 kB / 16.25 MB, free: 6.629 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.229/1.229, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.425/2.425, allocations: 461.9 MB / 0.7344 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 68.45 kB / 0.8988 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2262, allocations: 157.4 MB / 1.052 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001553/0.2278, allocations: 0.6269 MB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2288, allocations: 0.9954 MB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.284e-05/0.2289, allocations: 4 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.2289, allocations: 3.938 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.2295, allocations: 91.84 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.128e-05/0.2296, allocations: 11.98 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.089e-05/0.2296, allocations: 7.938 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.2296, allocations: 4 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.2297, allocations: 0 / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2298, allocations: 43.83 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.2299, allocations: 0 / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.23, allocations: 83.92 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.23, allocations: 3.938 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.23, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2302, allocations: 76.12 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2302, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2302, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2302, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 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.0002701/0.2305, allocations: 335.5 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2305, allocations: 12.62 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.2305, allocations: 30.75 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.2306, allocations: 8.922 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.2306, allocations: 164.4 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.2307, allocations: 384 / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.2307, allocations: 384 / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.433e-05/0.2307, allocations: 33.64 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.2308, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.2308, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.2308, allocations: 4 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.467e-05/0.2308, allocations: 3.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.2311, allocations: 472.6 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.2312, allocations: 169.1 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.2312, allocations: 80.64 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2313, allocations: 75.28 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.2313, allocations: 117.8 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.2313, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.828e-05/0.2314, allocations: 33.69 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.2314, allocations: 126.7 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.2315, allocations: 101.8 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2315, allocations: 25.7 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.2315, allocations: 84.14 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.2315, allocations: 7.938 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.2316, allocations: 13.72 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.2317, allocations: 314.8 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-06/0.2317, allocations: 4 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.2317, allocations: 3.984 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.2317, allocations: 8.797 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2317, allocations: 4 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.383e-05/0.2318, allocations: 37.7 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2318, allocations: 8.031 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2318, allocations: 0 / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.2319, allocations: 0 / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.148e-05/0.2319, allocations: 4 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2319, allocations: 3.984 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.2319, allocations: 0 / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.2319, allocations: 0 / 1.057 GB, free: 4.137 MB / 0.8106 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.192e-05/0.232, allocations: 189 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.232, allocations: 112.9 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.2321, allocations: 104.1 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.347e-05/0.2321, allocations: 188.3 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-05/0.2322, allocations: 180.3 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.104e-05/0.2322, allocations: 180.2 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2324, allocations: 413.1 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/0.2325, allocations: 105 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.2325, allocations: 108.9 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.451e-05/0.2326, allocations: 176.3 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.2326, allocations: 176.3 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.172e-05/0.2327, allocations: 184.2 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.212e-05/0.2327, allocations: 184.3 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2328, allocations: 311.7 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.2329, allocations: 178.1 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.123e-05/0.233, allocations: 180.2 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.233, allocations: 113 kB / 1.059 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.2331, allocations: 184.2 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.2331, allocations: 101 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.2332, allocations: 79.28 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.413e-06/0.2332, allocations: 0 / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002314/0.2334, allocations: 27.92 kB / 1.06 GB, free: 0.5156 MB / 0.8106 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.0005076/0.2339, allocations: 0.8627 MB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.497e-05/0.234, allocations: 8 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.234, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.234, allocations: 4.062 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2343, allocations: 452 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.2347, allocations: 249.8 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.2349, allocations: 0.6727 MB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.2349, allocations: 8 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.235, allocations: 7.438 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.235, allocations: 0 / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.791/2.026, allocations: 1.476 MB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003854/2.026, allocations: 324.5 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.065/6.091, allocations: 2.75 kB / 1.064 GB, free: 12.56 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 & /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 --timeout=50 --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) 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) Reference file matches