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.005348/0.005353, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001191/0.001191, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.341/2.341, allocations: 390.3 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.03 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2711, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001686/0.2729, allocations: 0.5546 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2741, allocations: 0.9879 MB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.2741, allocations: 4 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.2742, allocations: 0 / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007036/0.2749, allocations: 91.78 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.234e-05/0.2749, allocations: 19.92 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.749e-05/0.275, allocations: 4 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.275, allocations: 7.922 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.2751, allocations: 7.938 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.2753, allocations: 27.92 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.2753, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.2755, allocations: 91.84 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.435e-06/0.2755, allocations: 0 / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.2755, allocations: 0 / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2757, allocations: 71.84 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2757, allocations: 4 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2757, allocations: 0 / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.2757, allocations: 0 / 1.089 GB, free: 92 kB / 0.8419 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.0003459/0.2761, allocations: 330.4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2761, allocations: 8.031 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.593e-05/0.2762, allocations: 30.75 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.2763, allocations: 4.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.2764, allocations: 164.4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2764, allocations: 384 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.2764, allocations: 384 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.487e-05/0.2765, allocations: 41.56 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2765, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.2765, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.2765, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.2765, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.2769, allocations: 468.6 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.267e-05/0.277, allocations: 166.6 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.277, allocations: 84.08 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.277, allocations: 75.28 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.2771, allocations: 117.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2771, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.002e-05/0.2772, allocations: 33.61 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2772, allocations: 126.7 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.2773, allocations: 101.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.2773, allocations: 29.64 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2774, allocations: 84.14 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.2774, allocations: 3.984 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2774, allocations: 13.72 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.2775, allocations: 318.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.2776, allocations: 3.938 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.2776, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.2776, allocations: 8.859 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2776, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.2777, allocations: 33.7 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2777, allocations: 20.02 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2778, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2778, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.786e-05/0.2778, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2778, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.2778, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2778, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 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.029e-05/0.2779, allocations: 193 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.278, allocations: 105 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.278, allocations: 108.1 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/0.2781, allocations: 184.2 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.214e-05/0.2781, allocations: 180.3 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.012e-05/0.2782, allocations: 180.2 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.2784, allocations: 405.2 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/0.2784, allocations: 109 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.2785, allocations: 108.9 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.311e-05/0.2785, allocations: 176.4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.2786, allocations: 188.2 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-05/0.2787, allocations: 184.3 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.98e-05/0.2787, allocations: 180.3 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2789, allocations: 307.7 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.279, allocations: 186 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/0.279, allocations: 180.3 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.2791, allocations: 101 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.2792, allocations: 188.2 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.2792, allocations: 101 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.2793, allocations: 87.2 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2793, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002661/0.2795, allocations: 20.56 kB / 1.095 GB, free: 9.992 MB / 0.8575 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.0005929/0.2801, allocations: 0.8686 MB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.23e-05/0.2802, allocations: 4 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2802, allocations: 0 / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.2802, allocations: 4 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2806, allocations: 467.7 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.2811, allocations: 226 kB / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2814, allocations: 0.6768 MB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.2814, allocations: 4 kB / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.2814, allocations: 7.438 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.2815, allocations: 4 kB / 1.097 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.2982, allocations: 1.543 MB / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.805, allocations: 12.62 kB / 1.099 GB, free: 6.309 MB / 0.8575 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