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.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.001672/0.001672, allocations: 104.8 kB / 16.45 MB, free: 6.453 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.002046/0.002046, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.172/3.172, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.001985/0.001985, allocations: 69.88 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3415, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001714/0.3432, allocations: 0.5796 MB / 1.348 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3448, allocations: 1.019 MB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.3448, allocations: 0 / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.3448, allocations: 0 / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007001/0.3455, allocations: 95.78 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.87e-05/0.3455, allocations: 15.92 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.072e-05/0.3456, allocations: 4 kB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.3456, allocations: 0 / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.3456, allocations: 11.98 kB / 1.35 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.3458, allocations: 40.19 kB / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.447e-06/0.3459, allocations: 0 / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.346, allocations: 75.92 kB / 1.35 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.346, allocations: 3.984 kB / 1.35 GB, free: 8.117 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.3461, allocations: 8 kB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.3462, allocations: 75.72 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3462, allocations: 0 / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3462, allocations: 3.938 kB / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.3462, allocations: 0 / 1.35 GB, free: 8.031 MB / 1.045 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.0003608/0.3466, allocations: 345.2 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3466, allocations: 11.98 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.3467, allocations: 30.75 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.3467, allocations: 0.9375 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3468, allocations: 168.4 kB / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.3468, allocations: 384 / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.3469, allocations: 384 / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/0.3469, allocations: 33.64 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.347, allocations: 0 / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-06/0.347, allocations: 4 kB / 1.35 GB, free: 7.352 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.347, allocations: 3.938 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.347, allocations: 3.938 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.3474, allocations: 464.6 kB / 1.351 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.844e-05/0.3475, allocations: 173.1 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.3476, allocations: 84.14 kB / 1.351 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3476, allocations: 75.28 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.3477, allocations: 109.8 kB / 1.351 GB, free: 6.363 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3477, allocations: 0 / 1.351 GB, free: 6.363 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.014e-05/0.3477, allocations: 29.64 kB / 1.351 GB, free: 6.328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.3478, allocations: 126.7 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3479, allocations: 101.8 kB / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3479, allocations: 29.7 kB / 1.351 GB, free: 6.047 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.348, allocations: 88.09 kB / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.348, allocations: 0 / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.348, allocations: 13.72 kB / 1.352 GB, free: 5.938 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3481, allocations: 318.8 kB / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.3482, allocations: 0 / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.3482, allocations: 0 / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.3482, allocations: 16.86 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3482, allocations: 3.938 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.784e-05/0.3483, allocations: 33.69 kB / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3483, allocations: 9.562 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3483, allocations: 0 / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3483, allocations: 0 / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.575e-05/0.3483, allocations: 0 / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3483, allocations: 0 / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.3484, allocations: 0 / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3484, allocations: 4 kB / 1.352 GB, free: 5.543 MB / 1.045 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 0.000109/0.3485, allocations: 197.1 kB / 1.352 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.3485, allocations: 105.1 kB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.3486, allocations: 108.1 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.422e-05/0.3487, allocations: 184.2 kB / 1.352 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.506e-05/0.3488, allocations: 180.2 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.609e-05/0.3488, allocations: 184.8 kB / 1.353 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3491, allocations: 409.1 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-05/0.3491, allocations: 101 kB / 1.353 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.3492, allocations: 101 kB / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.677e-05/0.3492, allocations: 184.2 kB / 1.354 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.3493, allocations: 184.5 kB / 1.354 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.577e-05/0.3494, allocations: 192.2 kB / 1.354 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.805e-05/0.3495, allocations: 176.3 kB / 1.354 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.3496, allocations: 311.7 kB / 1.354 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.3497, allocations: 182 kB / 1.355 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.3498, allocations: 188.2 kB / 1.355 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.3499, allocations: 101 kB / 1.355 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.3499, allocations: 176.3 kB / 1.355 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.35, allocations: 108.9 kB / 1.355 GB, free: 2.016 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.35, allocations: 83.28 kB / 1.355 GB, free: 1.934 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.35, allocations: 0 / 1.355 GB, free: 1.934 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002533/0.3503, allocations: 23.88 kB / 1.355 GB, free: 1.91 MB / 1.045 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.0007138/0.351, allocations: 0.8593 MB / 1.356 GB, free: 1.027 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.555e-05/0.3511, allocations: 11.94 kB / 1.356 GB, free: 1.016 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.3511, allocations: 0 / 1.356 GB, free: 1.016 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.3511, allocations: 0 / 1.356 GB, free: 1.016 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.3515, allocations: 461.2 kB / 1.356 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.352, allocations: 249.7 kB / 1.357 GB, free: 284 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.3523, allocations: 0.6727 MB / 1.357 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.3523, allocations: 1.875 kB / 1.357 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3524, allocations: 11.44 kB / 1.357 GB, free: 15.57 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3524, allocations: 0 / 1.357 GB, free: 15.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.3774, allocations: 1.58 MB / 1.359 GB, free: 14.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.496, allocations: 5.5 kB / 1.359 GB, free: 14.19 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.190518696093932]