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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.585/2.585, allocations: 476.7 MB / 0.7678 GB, free: 9.316 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 75.89 kB / 1.113 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8276, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0018/0.8294, allocations: 0.5801 MB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.8308, allocations: 1.019 MB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.8308, allocations: 1.062 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.8308, allocations: 0 / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006976/0.8315, allocations: 97.39 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.681e-05/0.8316, allocations: 13.83 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.8316, allocations: 7.828 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.8317, allocations: 2.75 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.8317, allocations: 2.656 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.8319, allocations: 40.91 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.8319, allocations: 5.125 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.8321, allocations: 86.08 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.8321, allocations: 1.094 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.8321, allocations: 1.125 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.8323, allocations: 74.97 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8323, allocations: 0.5625 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8323, allocations: 5 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.8323, allocations: 0 / 1.281 GB, free: 10.47 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.0003589/0.8327, allocations: 328.5 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.8327, allocations: 9.844 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.949e-05/0.8327, allocations: 5.281 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.8328, allocations: 31.78 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.8328, allocations: 6.031 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.8329, allocations: 171.2 kB / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.8329, allocations: 1.469 kB / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.8329, allocations: 4.125 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.833, allocations: 33.19 kB / 1.281 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.833, allocations: 0 / 1.281 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.833, allocations: 0.7031 kB / 1.281 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.833, allocations: 4 kB / 1.281 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.8331, allocations: 2.281 kB / 1.281 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.8335, allocations: 468.1 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.8336, allocations: 175.2 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.8336, allocations: 80.14 kB / 1.282 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.8336, allocations: 80.06 kB / 1.282 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.8337, allocations: 107.5 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.8337, allocations: 0 / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.834e-05/0.8338, allocations: 27.58 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.8338, allocations: 127.8 kB / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.8339, allocations: 102.1 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.8339, allocations: 33.64 kB / 1.283 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.834, allocations: 85.7 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.834, allocations: 0 / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.834, allocations: 12.56 kB / 1.283 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8341, allocations: 320.5 kB / 1.283 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.8342, allocations: 0.9062 kB / 1.283 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.8342, allocations: 1.703 kB / 1.283 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.8342, allocations: 11.08 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.8342, allocations: 0.9375 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.3e-05/0.8343, allocations: 32.53 kB / 1.283 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.8343, allocations: 5.578 kB / 1.283 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.8343, allocations: 1.062 kB / 1.283 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.8343, allocations: 0 / 1.283 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.818e-05/0.8343, allocations: 5.766 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.8343, allocations: 0 / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.8343, allocations: 0.9688 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.8344, allocations: 4.656 kB / 1.283 GB, free: 8.074 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 9.994e-05/0.8345, allocations: 192 kB / 1.283 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.8345, allocations: 114.7 kB / 1.283 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.8346, allocations: 106.5 kB / 1.283 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-05/0.8347, allocations: 181.8 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-05/0.8347, allocations: 178 kB / 1.284 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.573e-05/0.8348, allocations: 187.1 kB / 1.284 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.8351, allocations: 406.1 kB / 1.284 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/0.8351, allocations: 106.8 kB / 1.284 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.8351, allocations: 101.6 kB / 1.285 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-05/0.8352, allocations: 178.1 kB / 1.285 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/0.8353, allocations: 181.8 kB / 1.285 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.621e-05/0.8354, allocations: 186.3 kB / 1.285 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.603e-05/0.8354, allocations: 186.1 kB / 1.285 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.8356, allocations: 301.2 kB / 1.286 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.8357, allocations: 192.5 kB / 1.286 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/0.8358, allocations: 182.1 kB / 1.286 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.8358, allocations: 106.9 kB / 1.286 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.8359, allocations: 178.1 kB / 1.286 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.836, allocations: 106.7 kB / 1.286 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.836, allocations: 84.89 kB / 1.286 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.836, allocations: 3.938 kB / 1.286 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002622/0.8363, allocations: 19.95 kB / 1.286 GB, free: 4.504 MB / 0.9981 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.0007469/0.837, allocations: 0.8653 MB / 1.287 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.945e-05/0.8371, allocations: 10.88 kB / 1.287 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8371, allocations: 0.5 kB / 1.287 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-06/0.8371, allocations: 4.438 kB / 1.287 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.8375, allocations: 456.5 kB / 1.288 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.8381, allocations: 238 kB / 1.288 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.8384, allocations: 0.6761 MB / 1.289 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.8384, allocations: 6.516 kB / 1.289 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.8384, allocations: 13.38 kB / 1.289 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.8384, allocations: 0 / 1.289 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.8558, allocations: 1.633 MB / 1.29 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.974, allocations: 14.53 kB / 1.29 GB, free: 1.848 MB / 0.9981 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 14.660645698022563]