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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.008176/0.008176, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001879/0.001879, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.741/2.741, allocations: 469.4 MB / 0.7422 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 68.11 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3116, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001775/0.3134, allocations: 0.5825 MB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3148, allocations: 0.9932 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.3148, allocations: 4 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.3148, allocations: 3.938 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007533/0.3156, allocations: 99.77 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.573e-05/0.3157, allocations: 11.98 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.3157, allocations: 4 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.3158, allocations: 7.984 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.3158, allocations: 0 / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.3161, allocations: 39.89 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3161, allocations: 7.938 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.3163, allocations: 79.91 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.3163, allocations: 8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.3163, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.3165, allocations: 67.86 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3165, allocations: 7.938 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3165, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3165, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 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.0003257/0.3168, allocations: 331.3 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3169, allocations: 12.02 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.3169, allocations: 30.75 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.317, allocations: 8.938 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3171, allocations: 168.3 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3172, allocations: 384 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.3172, allocations: 384 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3173, allocations: 37.58 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3173, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3173, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3173, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.3173, allocations: 3.984 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.3178, allocations: 468.6 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.3179, allocations: 173.1 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.3179, allocations: 88.11 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.318, allocations: 75.28 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.715e-05/0.3181, allocations: 109.8 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.3181, allocations: 3.984 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7e-05/0.3181, allocations: 25.7 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.3182, allocations: 126.7 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3183, allocations: 109.8 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.3183, allocations: 25.7 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.3184, allocations: 80.14 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.3184, allocations: 3.938 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.3184, allocations: 17.72 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3186, allocations: 318.8 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.3186, allocations: 4 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-06/0.3186, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.3186, allocations: 8.859 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3186, allocations: 3.938 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001017/0.3187, allocations: 29.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3188, allocations: 12.09 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3188, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3188, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.78e-05/0.3188, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3188, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.3188, allocations: 3.984 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3189, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 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.979e-05/0.319, allocations: 185.6 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.319, allocations: 109 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.3191, allocations: 108.1 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.564e-05/0.3192, allocations: 180.2 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.996e-05/0.3192, allocations: 184.3 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.357e-05/0.3193, allocations: 180.3 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.3195, allocations: 413.2 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.271e-05/0.3196, allocations: 109 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3196, allocations: 104.9 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-05/0.3197, allocations: 180.3 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.3198, allocations: 180.2 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.526e-05/0.3198, allocations: 176.3 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-05/0.3199, allocations: 192.2 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.3201, allocations: 299.8 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3204, allocations: 190 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.3205, allocations: 180.2 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.3205, allocations: 104.9 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.3206, allocations: 180.3 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.3207, allocations: 108.9 kB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.3207, allocations: 79.28 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3207, allocations: 4 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002524/0.321, allocations: 19.92 kB / 1.227 GB, free: 6.57 MB / 0.9825 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.0006816/0.3217, allocations: 0.8666 MB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.105e-05/0.3217, allocations: 3.938 kB / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3217, allocations: 0 / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-06/0.3217, allocations: 4 kB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3221, allocations: 459.7 kB / 1.228 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.3226, allocations: 233.6 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.3229, allocations: 0.6729 MB / 1.229 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.323, allocations: 7.984 kB / 1.229 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.323, allocations: 19.42 kB / 1.229 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of SimCode: time 6.72e-07/0.323, allocations: 0 / 1.229 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.3411, allocations: 1.573 MB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.124, allocations: 16.77 kB / 1.231 GB, free: 2.844 MB / 0.9825 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 50 --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