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.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001307/0.001307, 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.001419/0.001419, allocations: 195.4 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.03 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2842, allocations: 159.1 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001956/0.2862, allocations: 0.5778 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2877, allocations: 1.001 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.2877, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.052e-05/0.2877, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007245/0.2885, allocations: 95.77 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.767e-05/0.2885, allocations: 11.94 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.084e-05/0.2886, allocations: 8 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.2886, allocations: 3.984 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.2886, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.2888, allocations: 33.45 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.2888, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.289, allocations: 79.92 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.289, allocations: 3.984 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.2891, allocations: 11.98 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2892, allocations: 64.14 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2893, allocations: 4 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.995e-06/0.2893, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2893, allocations: 3.938 kB / 1.066 GB, free: 12.24 MB / 0.8262 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.0003465/0.2896, allocations: 339.5 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2897, allocations: 8.031 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.2897, allocations: 34.73 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.2897, allocations: 4.938 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.29, allocations: 164.4 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.29, allocations: 4.312 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.29, allocations: 4.375 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.2901, allocations: 33.64 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.2902, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.2902, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2902, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.2902, allocations: 7.984 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.2906, allocations: 468.5 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.552e-05/0.2907, allocations: 169.1 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.2908, allocations: 80.14 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.2908, allocations: 75.28 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.2909, allocations: 109.8 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2909, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.449e-05/0.2909, allocations: 37.55 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.291, allocations: 130.7 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2911, allocations: 97.84 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2911, allocations: 25.7 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.2912, allocations: 84.14 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.2912, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.2912, allocations: 13.72 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2914, allocations: 322.8 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.2914, allocations: 4 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.2914, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.2914, allocations: 12.8 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2914, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.802e-05/0.2915, allocations: 37.64 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2916, allocations: 4 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2916, allocations: 4 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2916, allocations: 0 / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.2916, allocations: 4.094 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2916, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.2916, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2916, allocations: 3.984 kB / 1.068 GB, free: 9.746 MB / 0.8262 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.0001011/0.2917, allocations: 189.1 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.2918, allocations: 104.9 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.2919, allocations: 104.1 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.089e-05/0.292, allocations: 180.3 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.887e-05/0.292, allocations: 192.2 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.108e-05/0.2921, allocations: 176.3 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.2924, allocations: 409.1 kB / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.26e-05/0.2924, allocations: 105 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.2925, allocations: 105 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.693e-05/0.2926, allocations: 188.1 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.2927, allocations: 176.5 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.332e-05/0.2927, allocations: 184.4 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.583e-05/0.2928, allocations: 184.3 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.2931, allocations: 319.7 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.2932, allocations: 178.1 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.2933, allocations: 188.2 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.2934, allocations: 101 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.2934, allocations: 176.3 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.2935, allocations: 108.9 kB / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.2936, allocations: 83.28 kB / 1.071 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2936, allocations: 0 / 1.071 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003027/0.2939, allocations: 23.98 kB / 1.071 GB, free: 6.125 MB / 0.8262 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.0006849/0.2946, allocations: 0.8727 MB / 1.072 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.426e-05/0.2946, allocations: 7.938 kB / 1.072 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2946, allocations: 0 / 1.072 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.2946, allocations: 0 / 1.072 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.295, allocations: 469.3 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.2956, allocations: 237.9 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.2959, allocations: 0.6727 MB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.433e-05/0.296, allocations: 4 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.2961, allocations: 11.42 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.054e-06/0.2961, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5098/0.8059, allocations: 1.531 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.92, allocations: 19.94 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB (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 --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) 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) Reference file matches