Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.004961/0.004961, allocations: 105.2 kB / 15.74 MB, free: 6.02 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.001131/0.001131, allocations: 192 kB / 16.67 MB, free: 5.938 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.9504 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7916, allocations: 140.4 MB / 1.088 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001762/0.7934, allocations: 0.5699 MB / 1.088 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.7946, allocations: 0.9798 MB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.7947, allocations: 0 / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.7947, allocations: 3.938 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.7954, allocations: 86.33 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.509e-05/0.7954, allocations: 17.19 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.215e-05/0.7955, allocations: 8.016 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.7955, allocations: 6.922 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.7955, allocations: 6.062 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.7957, allocations: 27.67 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.7958, allocations: 0.8438 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.7959, allocations: 82.38 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.7959, allocations: 1.25 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.796, allocations: 5.734 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.7961, allocations: 63.91 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7961, allocations: 1.125 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7961, allocations: 0 / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.7962, allocations: 0 / 1.089 GB, free: 3.918 MB / 0.8575 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.0003325/0.7965, allocations: 337.1 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7965, allocations: 10.53 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.155e-05/0.7966, allocations: 34.75 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.7966, allocations: 2.609 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.7967, allocations: 163.5 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.7967, allocations: 384 / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.7967, allocations: 1.781 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.801e-05/0.7968, allocations: 36.05 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.7968, allocations: 4.906 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.7968, allocations: 4.5 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.7968, allocations: 0.7188 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.7968, allocations: 6.75 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.7971, allocations: 467.5 kB / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.7972, allocations: 177.9 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.7972, allocations: 85.59 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.7972, allocations: 75.28 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.7972, allocations: 107.5 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.7972, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.059e-05/0.7973, allocations: 27.33 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.7973, allocations: 132.2 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.7974, allocations: 105.5 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.7974, allocations: 25.7 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.7974, allocations: 81.77 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.7974, allocations: 0 / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.7975, allocations: 16.5 kB / 1.091 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7976, allocations: 316.6 kB / 1.091 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.7976, allocations: 1.484 kB / 1.091 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.7976, allocations: 1.031 kB / 1.091 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/0.7976, allocations: 11.67 kB / 1.091 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.7976, allocations: 1 kB / 1.091 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.399e-05/0.7977, allocations: 36.25 kB / 1.091 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7978, allocations: 6.969 kB / 1.092 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7978, allocations: 0 / 1.092 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7978, allocations: 1.125 kB / 1.092 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.788e-05/0.7978, allocations: 4.547 kB / 1.092 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.7978, allocations: 4.938 kB / 1.092 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.7978, allocations: 4.969 kB / 1.092 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.7979, allocations: 0.8125 kB / 1.092 GB, free: 17.51 MB / 0.8731 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.0001049/0.798, allocations: 190.7 kB / 1.092 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.798, allocations: 103.3 kB / 1.092 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.7981, allocations: 110.8 kB / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.287e-05/0.7982, allocations: 177.7 kB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.854e-05/0.7982, allocations: 185.9 kB / 1.092 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.664e-05/0.7983, allocations: 181.9 kB / 1.092 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.7985, allocations: 402.1 kB / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.7986, allocations: 110.5 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.7986, allocations: 106.2 kB / 1.093 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.027e-05/0.7987, allocations: 178 kB / 1.093 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/0.7987, allocations: 185.9 kB / 1.093 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-05/0.7988, allocations: 181.9 kB / 1.094 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.514e-05/0.7989, allocations: 182 kB / 1.094 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.799, allocations: 318.5 kB / 1.094 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.7991, allocations: 188.3 kB / 1.094 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.7992, allocations: 178.5 kB / 1.094 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.7992, allocations: 106.6 kB / 1.094 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.7993, allocations: 177.9 kB / 1.095 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.7994, allocations: 106.4 kB / 1.095 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.7995, allocations: 80.44 kB / 1.095 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.954e-06/0.7995, allocations: 4 kB / 1.095 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000282/0.7998, allocations: 24.16 kB / 1.095 GB, free: 13.94 MB / 0.8731 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.000593/0.8004, allocations: 0.8607 MB / 1.096 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.8004, allocations: 3.016 kB / 1.096 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8004, allocations: 0 / 1.096 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.8005, allocations: 5.031 kB / 1.096 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.8008, allocations: 467.9 kB / 1.096 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.8013, allocations: 235.4 kB / 1.096 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.8015, allocations: 0.6722 MB / 1.097 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.8016, allocations: 2.453 kB / 1.097 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.8016, allocations: 9.625 kB / 1.097 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.8016, allocations: 0 / 1.097 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.8196, allocations: 1.524 MB / 1.099 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.77, allocations: 20 kB / 1.099 GB, free: 11.33 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches