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.001253/0.001253, 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.001314/0.001314, allocations: 195.9 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.287/2.287, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.8689 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5263/0.5276, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001911/0.5295, allocations: 0.6364 MB / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.5309, allocations: 0.9992 MB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.5309, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.5309, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0008222/0.5318, allocations: 87.84 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.981e-05/0.5318, allocations: 12 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.5319, allocations: 3.984 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.5319, allocations: 8 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.532, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.5322, allocations: 47.83 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.5323, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.5325, allocations: 87.91 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.5325, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.5325, allocations: 3.984 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.5327, allocations: 78.09 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5327, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5327, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5327, allocations: 0 / 1.019 GB, free: 0.7188 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.0003646/0.5331, allocations: 339.5 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.5332, allocations: 8.031 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.5332, allocations: 30.75 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.5332, allocations: 4.875 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.5333, allocations: 168.4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.5334, allocations: 384 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.5334, allocations: 4.375 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.468e-05/0.5334, allocations: 33.58 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.5335, allocations: 8 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.5335, allocations: 0 / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.5335, allocations: 0 / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.484e-05/0.5335, allocations: 0 / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.5339, allocations: 464.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.33e-05/0.534, allocations: 169.1 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.534, allocations: 84.14 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.534, allocations: 75.28 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.5341, allocations: 113.8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.5341, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.217e-05/0.5342, allocations: 29.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.5342, allocations: 126.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.5343, allocations: 101.9 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.5343, allocations: 25.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.5344, allocations: 99.91 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.5344, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.5344, allocations: 9.719 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.5345, allocations: 314.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.5345, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.5345, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.5346, allocations: 16.92 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5346, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.802e-05/0.5347, allocations: 33.69 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5347, allocations: 5.562 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5347, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5347, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.539e-05/0.5347, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.5348, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.5348, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.5348, allocations: 4.031 kB / 1.021 GB, free: 14.23 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.683e-05/0.5349, allocations: 189.6 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.5349, allocations: 101 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.535, allocations: 112.1 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.063e-05/0.535, allocations: 184.2 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.822e-05/0.5351, allocations: 180.3 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.497e-05/0.5352, allocations: 184.2 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.5354, allocations: 405.2 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/0.5354, allocations: 108.9 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.5354, allocations: 105.1 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.488e-05/0.5355, allocations: 176.3 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.5356, allocations: 196.2 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.552e-05/0.5356, allocations: 180.3 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.804e-05/0.5357, allocations: 180.2 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.5358, allocations: 304 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.649e-05/0.5359, allocations: 194 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.5359, allocations: 176.3 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.536, allocations: 112.9 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.5361, allocations: 176.3 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.5361, allocations: 105 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.5362, allocations: 83.27 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.313e-06/0.5362, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00025/0.5364, allocations: 27.94 kB / 1.024 GB, free: 10.6 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.0005536/0.537, allocations: 0.8637 MB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.415e-05/0.5371, allocations: 11.98 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5371, allocations: 0 / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.5371, allocations: 0 / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.5374, allocations: 463 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.5379, allocations: 234 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.5381, allocations: 0.6729 MB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.5381, allocations: 4 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.5382, allocations: 7.438 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5382, allocations: 0 / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.5695, allocations: 1.447 MB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003382/0.5699, allocations: 340.1 kB / 1.028 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.305, allocations: 0 / 1.028 GB, free: 6.656 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