Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.526/2.526, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 71.89 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8081, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001481/0.8095, allocations: 0.591 MB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.8105, allocations: 1.009 MB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.662e-05/0.8105, allocations: 1.422 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.8105, allocations: 0 / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000599/0.8111, allocations: 98.14 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.887e-05/0.8112, allocations: 13.61 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.845e-05/0.8112, allocations: 8.016 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.8112, allocations: 1.328 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.8113, allocations: 5.094 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.8114, allocations: 39.59 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.8114, allocations: 0 / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.8116, allocations: 79.47 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.8116, allocations: 5.375 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.8116, allocations: 1.531 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.8118, allocations: 78.72 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.8118, allocations: 0 / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8118, allocations: 0.5625 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.8118, allocations: 0.6875 kB / 1.273 GB, free: 6.504 MB / 0.9981 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.0002284/0.812, allocations: 330 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.8121, allocations: 13.47 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.779e-05/0.8121, allocations: 35.72 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.8121, allocations: 6.469 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.37e-05/0.8122, allocations: 170.7 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-06/0.8122, allocations: 6.219 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.8122, allocations: 384 / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.324e-05/0.8122, allocations: 33.03 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8123, allocations: 4.5 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.8123, allocations: 0 / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.8123, allocations: 0.7812 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.594e-05/0.8123, allocations: 2.453 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.8125, allocations: 467.4 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.521e-05/0.8126, allocations: 175.5 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.14e-05/0.8126, allocations: 80.14 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.8126, allocations: 76.22 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.8126, allocations: 107.4 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.8126, allocations: 4 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.553e-05/0.8126, allocations: 38.91 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.8127, allocations: 127.7 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.8127, allocations: 101.5 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-06/0.8127, allocations: 26.48 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.8127, allocations: 80.83 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.8127, allocations: 0.8125 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.8128, allocations: 13.16 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.8128, allocations: 324.3 kB / 1.275 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-06/0.8128, allocations: 0.625 kB / 1.275 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.8128, allocations: 1.75 kB / 1.275 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.8128, allocations: 7.625 kB / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8128, allocations: 0 / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.842e-05/0.8129, allocations: 36.94 kB / 1.275 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.8129, allocations: 7.797 kB / 1.275 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.8129, allocations: 0 / 1.275 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.8129, allocations: 4.906 kB / 1.275 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.307e-05/0.813, allocations: 1.812 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.813, allocations: 0 / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.813, allocations: 0.9375 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.813, allocations: 4.922 kB / 1.276 GB, free: 4.098 MB / 0.9981 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 3.567e-05/0.813, allocations: 187 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.813, allocations: 106.8 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.8131, allocations: 114.2 kB / 1.276 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.8131, allocations: 177.7 kB / 1.276 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/0.8131, allocations: 182.8 kB / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.8131, allocations: 177 kB / 1.276 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.8132, allocations: 407.1 kB / 1.277 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-05/0.8133, allocations: 105.6 kB / 1.277 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.8133, allocations: 111 kB / 1.277 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.988e-05/0.8134, allocations: 182.9 kB / 1.277 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.8135, allocations: 177.1 kB / 1.277 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.965e-05/0.8135, allocations: 182.1 kB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-05/0.8136, allocations: 185.7 kB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.8137, allocations: 309.9 kB / 1.278 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.8138, allocations: 193 kB / 1.278 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.8139, allocations: 178 kB / 1.278 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.814, allocations: 106.6 kB / 1.278 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.814, allocations: 178 kB / 1.279 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.8141, allocations: 111.7 kB / 1.279 GB, free: 16.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.8141, allocations: 83.03 kB / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8141, allocations: 0 / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002312/0.8144, allocations: 20.67 kB / 1.279 GB, free: 16.54 MB / 1.014 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.0006085/0.815, allocations: 0.8671 MB / 1.28 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.533e-05/0.815, allocations: 5.875 kB / 1.28 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.815, allocations: 0.7812 kB / 1.28 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.815, allocations: 0 / 1.28 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.8154, allocations: 457.6 kB / 1.28 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.8158, allocations: 243.5 kB / 1.28 GB, free: 15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.8161, allocations: 0.673 MB / 1.281 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.8161, allocations: 6.281 kB / 1.281 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.8161, allocations: 18.88 kB / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.8161, allocations: 0 / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.8388, allocations: 1.51 MB / 1.283 GB, free: 13.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/8.052, allocations: 9.328 kB / 1.283 GB, free: 13.88 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.494286858003761]