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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001659/0.001659, allocations: 108 kB / 15.6 MB, free: 132 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.001831/0.001831, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.888/2.888, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 69.52 kB / 0.8992 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3726, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002709/0.3754, allocations: 0.566 MB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3769, allocations: 1.007 MB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.3769, allocations: 0 / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.377, allocations: 0 / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000982/0.378, allocations: 103.8 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.772e-05/0.378, allocations: 11.92 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.3781, allocations: 8 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.3781, allocations: 0 / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.3781, allocations: 4 kB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.3784, allocations: 33.44 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3784, allocations: 0 / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.3786, allocations: 83.91 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.3787, allocations: 0 / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.3787, allocations: 4 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.3789, allocations: 76.12 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3789, allocations: 0 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3789, allocations: 0 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3789, allocations: 4 kB / 1.055 GB, free: 6.324 MB / 0.8106 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.0003974/0.3793, allocations: 335.5 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3794, allocations: 8.625 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.3794, allocations: 34.69 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.3795, allocations: 0.9375 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3796, allocations: 168.4 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3797, allocations: 4.375 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.3797, allocations: 384 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3798, allocations: 37.64 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3798, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3798, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3798, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.3799, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.3804, allocations: 476.5 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3807, allocations: 165.1 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.3808, allocations: 80.14 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.3808, allocations: 75.28 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.3809, allocations: 109.8 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.3809, allocations: 4 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.476e-05/0.381, allocations: 37.58 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.3811, allocations: 126.7 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/0.3812, allocations: 101.8 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3812, allocations: 29.7 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.3812, allocations: 84.14 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.3812, allocations: 0 / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3813, allocations: 9.719 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3814, allocations: 322.8 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.3814, allocations: 3.938 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-06/0.3814, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.3814, allocations: 12.84 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3814, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001092/0.3816, allocations: 37.64 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3816, allocations: 8 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3816, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3816, allocations: 4.094 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.3816, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3816, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.3817, allocations: 4 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.3817, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 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.038e-05/0.3818, allocations: 189.1 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.3818, allocations: 105 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.3819, allocations: 108 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.569e-05/0.3819, allocations: 188.3 kB / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-05/0.382, allocations: 180.2 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/0.3821, allocations: 176.5 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.3823, allocations: 409.2 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.876e-05/0.3824, allocations: 109.4 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.3824, allocations: 105 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.791e-05/0.3825, allocations: 188.2 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.3826, allocations: 180.3 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.955e-05/0.3826, allocations: 176.5 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.828e-05/0.3827, allocations: 184.2 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3828, allocations: 315.7 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.3829, allocations: 178.1 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.383, allocations: 180.3 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.383, allocations: 104.9 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.3831, allocations: 184.2 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3832, allocations: 108.9 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.3832, allocations: 79.28 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3832, allocations: 0 / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002732/0.3835, allocations: 20 kB / 1.06 GB, free: 228 kB / 0.8106 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.0008022/0.3843, allocations: 0.8755 MB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.023e-05/0.3844, allocations: 7.938 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3844, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.3844, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.3848, allocations: 463.8 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.3853, allocations: 241.8 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3856, allocations: 0.6727 MB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.3856, allocations: 7.938 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.3856, allocations: 11.44 kB / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3856, allocations: 0 / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.4088, allocations: 1.537 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.268/9.676, allocations: 6.688 kB / 1.064 GB, free: 12.52 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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