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.001531/0.001531, 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.002049/0.002049, allocations: 197.4 kB / 16.53 MB, free: 6.699 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.558/2.558, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6027/0.6041, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002023/0.6062, allocations: 0.5734 MB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.6076, allocations: 0.9992 MB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.6076, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.6077, allocations: 7.938 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0008145/0.6085, allocations: 91.78 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.299e-05/0.6085, allocations: 15.98 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.355e-05/0.6086, allocations: 3.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.6087, allocations: 4 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.802e-05/0.6087, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.6089, allocations: 39.89 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.609, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.6092, allocations: 83.91 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.6092, allocations: 0 / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.6092, allocations: 3.984 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.6094, allocations: 70.17 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6094, allocations: 8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6094, allocations: 3.938 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.6094, allocations: 0 / 1.019 GB, free: 0.5938 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.0003602/0.6098, allocations: 331.5 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.6099, allocations: 12.03 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.6099, allocations: 30.75 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.6099, allocations: 4.875 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.6101, allocations: 172.4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.6101, allocations: 4.312 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.6101, allocations: 8.375 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.13e-05/0.6102, allocations: 29.64 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6102, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.6102, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6102, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.6103, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.6107, allocations: 460.6 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.844e-05/0.6108, allocations: 177.1 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.6108, allocations: 84.17 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.6108, allocations: 79.27 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.6109, allocations: 109.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.6109, allocations: 3.984 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.476e-05/0.611, allocations: 29.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.611, allocations: 134.6 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.6111, allocations: 97.86 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.6111, allocations: 29.69 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.6112, allocations: 87.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-06/0.6112, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.6112, allocations: 13.72 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.6113, allocations: 318.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.6113, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.6113, allocations: 8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.6114, allocations: 8.859 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6114, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001065/0.6115, allocations: 41.62 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.6115, allocations: 7.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6115, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.6115, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.708e-05/0.6116, allocations: 4.094 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6116, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.6116, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.6116, allocations: 0 / 1.021 GB, free: 14.09 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.908e-05/0.6117, allocations: 185.7 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.6118, allocations: 101 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.6118, allocations: 120 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/0.6119, allocations: 180.3 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-05/0.6119, allocations: 176.3 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.233e-05/0.612, allocations: 184.2 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.6122, allocations: 405.2 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/0.6123, allocations: 108.9 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.6123, allocations: 105 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.525e-05/0.6124, allocations: 180.3 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.6124, allocations: 184.2 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.291e-05/0.6125, allocations: 176.3 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.722e-05/0.6125, allocations: 184.2 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.6127, allocations: 307.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.6127, allocations: 190.3 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.6128, allocations: 176.3 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.6129, allocations: 113 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.613, allocations: 180.3 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.613, allocations: 109 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.6131, allocations: 83.22 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6131, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002652/0.6134, allocations: 20 kB / 1.025 GB, free: 10.47 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.0005859/0.614, allocations: 0.8687 MB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.116e-05/0.614, allocations: 4 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.614, allocations: 3.938 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.189e-06/0.614, allocations: 3.938 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.6144, allocations: 455.8 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.615, allocations: 229.9 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.6152, allocations: 0.6768 MB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.6152, allocations: 0 / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.6153, allocations: 11.44 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6153, allocations: 4 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.6337, allocations: 1.54 MB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.89, allocations: 13.89 kB / 1.029 GB, free: 6.785 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