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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005726/0.005726, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001218/0.001218, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.397/1.397, 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 9.1.3-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.16 kB / 0.9509 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.263, allocations: 140.4 MB / 1.088 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001761/0.2648, allocations: 0.5672 MB / 1.089 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2667, allocations: 0.9879 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.2667, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.2668, allocations: 3.938 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008277/0.2676, allocations: 91.77 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.301e-05/0.2677, allocations: 4 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.2678, allocations: 7.984 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.076e-05/0.2678, allocations: 12 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.2678, allocations: 11.92 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.2681, allocations: 23.98 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.2681, allocations: 3.938 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.2683, allocations: 75.92 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.2684, allocations: 3.984 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.2684, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2686, allocations: 71.84 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2686, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2686, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2686, allocations: 0 / 1.09 GB, free: 15.72 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.0003841/0.269, allocations: 335.5 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.269, allocations: 12.03 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.2691, allocations: 0.9375 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2692, allocations: 160.4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.2692, allocations: 4.375 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2693, allocations: 384 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.2693, allocations: 37.75 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.2694, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2694, allocations: 4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2694, allocations: 4 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.2694, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.2698, allocations: 464.6 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.895e-05/0.2698, allocations: 170.6 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.2699, allocations: 88.08 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2699, allocations: 75.28 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.2699, allocations: 105.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.27, allocations: 3.984 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.65e-05/0.27, allocations: 33.69 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.2701, allocations: 126.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.2702, allocations: 109.6 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2702, allocations: 29.7 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.2702, allocations: 80.14 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.2702, allocations: 0 / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.2703, allocations: 17.7 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.2704, allocations: 318.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.2704, allocations: 3.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-06/0.2704, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.2704, allocations: 8.922 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2704, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.315e-05/0.2705, allocations: 33.7 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2705, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2706, allocations: 3.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2706, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.2706, allocations: 4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2706, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.2706, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.2706, allocations: 0 / 1.092 GB, free: 13.28 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 7.633e-05/0.2707, allocations: 193 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.2708, allocations: 113 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.2708, allocations: 104.1 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.544e-05/0.2709, allocations: 184.2 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-05/0.2709, allocations: 176.3 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/0.271, allocations: 188.2 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.2712, allocations: 405.2 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.2713, allocations: 101 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.2713, allocations: 108.9 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.397e-05/0.2714, allocations: 176.4 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.2714, allocations: 184.2 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-05/0.2715, allocations: 192.3 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.054e-05/0.2716, allocations: 180.3 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.2717, allocations: 303.7 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.2718, allocations: 190 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.2719, allocations: 180.3 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.2719, allocations: 101 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.272, allocations: 184.2 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.2721, allocations: 104.9 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.2721, allocations: 87.27 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2721, allocations: 0 / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002562/0.2724, allocations: 20 kB / 1.095 GB, free: 9.652 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.0003297/0.2727, allocations: 240 kB / 1.095 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.71e-05/0.2728, allocations: 7.938 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2728, allocations: 0 / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.2728, allocations: 0 / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2731, allocations: 463.7 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.2735, allocations: 196.2 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.2737, allocations: 0.6729 MB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.2737, allocations: 4 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.2738, allocations: 11.44 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.2738, allocations: 0 / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of Templates: time 0.002616/0.2764, allocations: 0.6683 MB / 1.097 GB, free: 7.398 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (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 & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/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