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.005797/0.005797, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001364/0.001364, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 79.81 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8103/0.8122, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002029/0.8143, allocations: 0.5661 MB / 1.221 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.8158, allocations: 0.9992 MB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.8158, allocations: 4 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.8158, allocations: 3.938 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009306/0.8168, allocations: 91.78 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.238e-05/0.8168, allocations: 4 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.8169, allocations: 7.984 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.8169, allocations: 4 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.817, allocations: 4 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.8172, allocations: 38.47 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.8172, allocations: 0 / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.8174, allocations: 83.91 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.8174, allocations: 4 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.8175, allocations: 7.984 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.8176, allocations: 67.72 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8176, allocations: 3.984 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of FrontEnd: time 3.677e-06/0.8177, allocations: 3.938 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.8177, allocations: 3.938 kB / 1.222 GB, free: 168 kB / 0.9356 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.0004053/0.8181, allocations: 339.2 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8181, allocations: 8.031 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.8182, allocations: 30.75 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.8182, allocations: 4.938 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.8184, allocations: 172.3 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.8184, allocations: 384 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.8185, allocations: 384 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.8186, allocations: 41.56 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.8186, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.8187, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.8187, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.8187, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.8193, allocations: 476.6 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.8194, allocations: 169.1 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.8194, allocations: 80.14 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.8195, allocations: 75.28 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.506e-05/0.8196, allocations: 113.8 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8196, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.389e-05/0.8197, allocations: 29.69 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.8197, allocations: 126.7 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.8199, allocations: 101.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.8199, allocations: 33.64 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.8199, allocations: 80.14 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-06/0.82, allocations: 4 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.82, allocations: 17.7 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8201, allocations: 318.8 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.8202, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.8202, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.8202, allocations: 8.859 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.8202, allocations: 4 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000116/0.8203, allocations: 33.77 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.8204, allocations: 11.94 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8204, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8204, allocations: 3.984 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.8204, allocations: 3.938 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8204, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.8205, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.8205, allocations: 4 kB / 1.224 GB, free: 13.67 MB / 0.9512 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.0001218/0.8206, allocations: 189.1 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.8207, allocations: 105 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.8208, allocations: 108 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/0.8209, allocations: 188.2 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.582e-05/0.821, allocations: 176.3 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/0.8211, allocations: 185.2 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.8214, allocations: 409.2 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.8214, allocations: 104.9 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.8215, allocations: 101 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-05/0.8216, allocations: 180.3 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.8217, allocations: 184.2 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001181/0.8218, allocations: 180.2 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002251/0.822, allocations: 188.2 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.8223, allocations: 304 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.8224, allocations: 190 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.8225, allocations: 180.3 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8226, allocations: 108.9 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.8227, allocations: 176.5 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.8228, allocations: 101 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.8228, allocations: 91.25 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8228, allocations: 0 / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003137/0.8232, allocations: 19.94 kB / 1.228 GB, free: 10.05 MB / 0.9512 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.0008224/0.824, allocations: 0.8782 MB / 1.228 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.315e-05/0.8241, allocations: 0 / 1.228 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8241, allocations: 0 / 1.228 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.8241, allocations: 11.94 kB / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.8245, allocations: 463.7 kB / 1.229 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008177/0.8254, allocations: 229.7 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.8257, allocations: 0.6768 MB / 1.23 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.8257, allocations: 11.91 kB / 1.23 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.8258, allocations: 11.38 kB / 1.23 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.8258, allocations: 4 kB / 1.23 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.849, allocations: 1.562 MB / 1.231 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/9.079, allocations: 14.48 kB / 1.231 GB, free: 6.324 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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