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.001698/0.001698, 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.001981/0.001981, allocations: 198.3 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.502/1.502, 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 9.1.3-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6788, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001612/0.6805, allocations: 0.5482 MB / 0.9503 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000901/0.6814, allocations: 0.9893 MB / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.6814, allocations: 0 / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.048e-05/0.6814, allocations: 0 / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007671/0.6822, allocations: 89.64 kB / 0.9514 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.174e-05/0.6823, allocations: 16.41 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.549e-05/0.6823, allocations: 3.312 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.6823, allocations: 4.969 kB / 0.9514 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.6824, allocations: 1.125 kB / 0.9514 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.6826, allocations: 28.81 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.6826, allocations: 0 / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.6827, allocations: 81.25 kB / 0.9515 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.6827, allocations: 0 / 0.9515 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.6828, allocations: 5.531 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.6829, allocations: 72.14 kB / 0.9516 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6829, allocations: 0 / 0.9516 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6829, allocations: 0 / 0.9516 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.6829, allocations: 1.125 kB / 0.9516 GB, free: 7.812 MB / 0.7169 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.0002123/0.6831, allocations: 334.1 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6832, allocations: 9.281 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.036e-05/0.6832, allocations: 44.08 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.6832, allocations: 4.922 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.336e-05/0.6833, allocations: 165.8 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.6833, allocations: 5.625 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.6833, allocations: 384 / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.47e-05/0.6834, allocations: 35.8 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.6834, allocations: 3.938 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.6834, allocations: 1.438 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6834, allocations: 0 / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.639e-05/0.6834, allocations: 5.547 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.6837, allocations: 466.3 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.402e-05/0.6837, allocations: 166.4 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.6838, allocations: 89.17 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.6838, allocations: 75.28 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.6838, allocations: 107.2 kB / 0.953 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6838, allocations: 4 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.563e-05/0.6839, allocations: 31.11 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.6839, allocations: 126.7 kB / 0.9532 GB, free: 6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.684, allocations: 103.3 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-06/0.684, allocations: 25.7 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.58e-05/0.684, allocations: 81.23 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.684, allocations: 0 / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.684, allocations: 12.19 kB / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.6841, allocations: 323.9 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.6841, allocations: 1.156 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.6841, allocations: 9.781 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.933e-05/0.6841, allocations: 5.922 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6841, allocations: 1.156 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.043e-05/0.6842, allocations: 35.23 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.6842, allocations: 4.219 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.6842, allocations: 1.344 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.6843, allocations: 4.094 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.326e-05/0.6843, allocations: 1.625 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.6843, allocations: 0 / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.6843, allocations: 0 / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.6843, allocations: 5.766 kB / 0.9537 GB, free: 5.383 MB / 0.7169 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 4.079e-05/0.6843, allocations: 196.9 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.6844, allocations: 107.5 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.6844, allocations: 111.9 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.6844, allocations: 183.4 kB / 0.9543 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/0.6845, allocations: 181.8 kB / 0.9545 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.6845, allocations: 180.2 kB / 0.9547 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.6846, allocations: 403.7 kB / 0.955 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.6846, allocations: 106.2 kB / 0.9551 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.6847, allocations: 108.9 kB / 0.9553 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/0.6847, allocations: 177.7 kB / 0.9554 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.6847, allocations: 181.5 kB / 0.9556 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.986e-05/0.6847, allocations: 181.7 kB / 0.9558 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-05/0.6848, allocations: 188.2 kB / 0.9559 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.776e-05/0.6848, allocations: 315.6 kB / 0.9562 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.6848, allocations: 183.6 kB / 0.9564 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.6849, allocations: 185.5 kB / 0.9566 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.685, allocations: 106.3 kB / 0.9567 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.685, allocations: 185.5 kB / 0.9569 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.6851, allocations: 101 kB / 0.957 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.783e-05/0.6852, allocations: 84.05 kB / 0.9571 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6852, allocations: 0 / 0.9571 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002941/0.6855, allocations: 26.48 kB / 0.9571 GB, free: 1.781 MB / 0.7169 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.0003775/0.6859, allocations: 0.8575 MB / 0.9579 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.096e-05/0.6859, allocations: 2.281 kB / 0.9579 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6859, allocations: 1.156 kB / 0.9579 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.6859, allocations: 0 / 0.9579 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.6862, allocations: 459.1 kB / 0.9584 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.6866, allocations: 237.7 kB / 0.9586 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.6868, allocations: 0.679 MB / 0.9593 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.6868, allocations: 1.281 kB / 0.9593 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.6869, allocations: 14.53 kB / 0.9593 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6869, allocations: 0 / 0.9593 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.7043, allocations: 1.507 MB / 0.9607 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.524, allocations: 14.95 kB / 0.9608 GB, free: 14.74 MB / 0.7325 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