Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007444/0.007444, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001456/0.001457, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.325, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001978/0.327, allocations: 0.5739 MB / 1.167 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3285, allocations: 1.007 MB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.3285, allocations: 0 / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.3286, allocations: 0 / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.3294, allocations: 91.78 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.475e-05/0.3294, allocations: 4 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.3295, allocations: 19.86 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.3296, allocations: 4 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.3296, allocations: 4 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3298, allocations: 31.97 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3298, allocations: 0 / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.33, allocations: 83.91 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.3301, allocations: 0 / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.3301, allocations: 11.92 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.3303, allocations: 64.14 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3303, allocations: 0 / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3303, allocations: 0 / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3303, allocations: 0 / 1.168 GB, free: 5.398 MB / 0.92 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.0003765/0.3307, allocations: 347.3 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3307, allocations: 8.031 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.103e-05/0.3308, allocations: 30.75 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.3308, allocations: 0.9375 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.331, allocations: 172.3 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.331, allocations: 384 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.331, allocations: 384 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.245e-05/0.3311, allocations: 37.62 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3311, allocations: 4 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.3311, allocations: 7.875 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3311, allocations: 0 / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.3311, allocations: 4 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.3316, allocations: 464.6 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.676e-05/0.3317, allocations: 169.1 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.3317, allocations: 84.14 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.3317, allocations: 75.28 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.3318, allocations: 109.8 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3318, allocations: 0 / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.212e-05/0.3319, allocations: 29.69 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.3319, allocations: 134.6 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.332, allocations: 97.86 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3321, allocations: 29.7 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.3321, allocations: 84.09 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.3321, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3321, allocations: 17.7 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3323, allocations: 318.8 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.3323, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.3323, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.3323, allocations: 12.92 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3323, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001001/0.3324, allocations: 37.64 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3325, allocations: 8 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3325, allocations: 3.984 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3325, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.556e-05/0.3325, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3325, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.436e-05/0.3325, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3326, allocations: 4.219 kB / 1.17 GB, free: 2.898 MB / 0.92 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 8.663e-05/0.3326, allocations: 189.1 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.3327, allocations: 101 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.3328, allocations: 112 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.367e-05/0.3328, allocations: 184.2 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.897e-05/0.3329, allocations: 180.3 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-05/0.333, allocations: 184.2 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.3332, allocations: 405.2 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.226e-05/0.3333, allocations: 108.9 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.3333, allocations: 105 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/0.3334, allocations: 180.5 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.3335, allocations: 192.2 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.529e-05/0.3335, allocations: 184.3 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-05/0.3336, allocations: 180.2 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.3338, allocations: 311.6 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.3339, allocations: 182.1 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.334, allocations: 184.3 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.3341, allocations: 104.9 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.3341, allocations: 176.3 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.3342, allocations: 108.9 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.3342, allocations: 83.27 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3342, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002752/0.3345, allocations: 23.94 kB / 1.174 GB, free: 15.27 MB / 0.9356 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.0006706/0.3352, allocations: 0.8683 MB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.613e-05/0.3353, allocations: 0 / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3353, allocations: 0 / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.3353, allocations: 3.938 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.3357, allocations: 463.7 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.3362, allocations: 237.6 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3365, allocations: 0.6768 MB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.3366, allocations: 0 / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.3366, allocations: 7.438 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.3366, allocations: 4 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.3555, allocations: 1.559 MB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.065, allocations: 12.83 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches