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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004944/0.004944, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001289/0.001289, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 60.12 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3619, allocations: 162.2 MB / 1.242 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002034/0.364, allocations: 0.5681 MB / 1.242 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3656, allocations: 0.9992 MB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.3656, allocations: 0 / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.3657, allocations: 0 / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008457/0.3665, allocations: 99.77 kB / 1.243 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.588e-05/0.3666, allocations: 15.92 kB / 1.243 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.3667, allocations: 8 kB / 1.243 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.714e-05/0.3668, allocations: 0 / 1.243 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.3668, allocations: 4 kB / 1.243 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.3671, allocations: 35.89 kB / 1.243 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.3671, allocations: 0 / 1.243 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.3673, allocations: 87.86 kB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3673, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.3674, allocations: 4 kB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.3676, allocations: 71.78 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3676, allocations: 0 / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3676, allocations: 4 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3676, allocations: 4 kB / 1.243 GB, free: 8.227 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.0003895/0.368, allocations: 335.3 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3681, allocations: 8.031 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.3681, allocations: 30.75 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.3682, allocations: 0.9375 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3683, allocations: 176.3 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3683, allocations: 384 / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.3684, allocations: 384 / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.3685, allocations: 41.64 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3685, allocations: 3.938 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-06/0.3685, allocations: 0 / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3685, allocations: 0 / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.3685, allocations: 0 / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.369, allocations: 468.6 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.806e-05/0.3691, allocations: 169.1 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.3692, allocations: 80.14 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.3692, allocations: 79.22 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/0.3693, allocations: 113.8 kB / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3693, allocations: 0 / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.621e-05/0.3694, allocations: 25.7 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.3694, allocations: 130.7 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3695, allocations: 97.84 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3696, allocations: 29.7 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.3696, allocations: 88.09 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.3696, allocations: 3.938 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.3697, allocations: 9.719 kB / 1.245 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3698, allocations: 318.8 kB / 1.245 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.3698, allocations: 0 / 1.245 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.3699, allocations: 15.86 kB / 1.245 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.3699, allocations: 8.859 kB / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3699, allocations: 0 / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001061/0.37, allocations: 33.7 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.37, allocations: 8 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.37, allocations: 0 / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3701, allocations: 0 / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.193e-05/0.3701, allocations: 0 / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3701, allocations: 96 / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.3701, allocations: 8 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.3701, allocations: 3.984 kB / 1.246 GB, free: 5.73 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 0.0001263/0.3703, allocations: 193.6 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.3703, allocations: 104.9 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.3704, allocations: 104.1 kB / 1.246 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/0.3705, allocations: 188.2 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.135e-05/0.3706, allocations: 184.3 kB / 1.246 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-05/0.3706, allocations: 180.4 kB / 1.246 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.3709, allocations: 409.1 kB / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.913e-05/0.371, allocations: 105 kB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.371, allocations: 108.9 kB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.3712, allocations: 180.3 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.3713, allocations: 180.3 kB / 1.247 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.111e-05/0.3714, allocations: 180.2 kB / 1.248 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.057e-05/0.3714, allocations: 176.3 kB / 1.248 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.3716, allocations: 315.7 kB / 1.248 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3717, allocations: 182 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.962e-05/0.3718, allocations: 180.3 kB / 1.248 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.3719, allocations: 105 kB / 1.248 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.372, allocations: 184.4 kB / 1.249 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.372, allocations: 101 kB / 1.249 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.523e-05/0.3721, allocations: 87.27 kB / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3721, allocations: 0 / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002718/0.3724, allocations: 23.92 kB / 1.249 GB, free: 2.109 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.0008086/0.3732, allocations: 0.8887 MB / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.184e-05/0.3733, allocations: 4 kB / 1.25 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3733, allocations: 0 / 1.25 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.3733, allocations: 0 / 1.25 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.3737, allocations: 456.6 kB / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.3744, allocations: 241.7 kB / 1.25 GB, free: 484 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6432/1.018, allocations: 0.6695 MB / 1.251 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.324e-05/1.018, allocations: 2 kB / 1.251 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/1.018, allocations: 8.594 kB / 1.251 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of SimCode: time 1.213e-06/1.018, allocations: 0.7188 kB / 1.251 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/1.039, allocations: 1.554 MB / 1.253 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.932, allocations: 16.7 kB / 1.253 GB, free: 14.65 MB / 0.9981 GB (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 400 --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) 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) Reference file matches