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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_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_10_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.002108/0.002108, 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.002425/0.002425, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.626/1.626, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.735/2.735, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 75.88 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5605, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001894/0.5625, allocations: 0.5696 MB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.5638, allocations: 0.9953 MB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.5639, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.5639, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.5646, allocations: 95.78 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.874e-05/0.5647, allocations: 15.92 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.633e-05/0.5647, allocations: 4 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.5648, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.5648, allocations: 8 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.5651, allocations: 35.95 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.5651, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.5653, allocations: 87.84 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.5653, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.5653, allocations: 11.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.5655, allocations: 67.92 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5655, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5655, allocations: 3.938 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.5655, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 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.000384/0.5659, allocations: 345.4 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5659, allocations: 11.98 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.566, allocations: 0.9375 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.5661, allocations: 172.4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5662, allocations: 384 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.5662, allocations: 384 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.254e-05/0.5662, allocations: 29.83 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5663, allocations: 4 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.5663, allocations: 4 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5663, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.5663, allocations: 3.938 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.5668, allocations: 464.6 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.5669, allocations: 169.1 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.567, allocations: 88.17 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.567, allocations: 79.27 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.577e-05/0.5671, allocations: 105.8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5671, allocations: 7.938 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.657e-05/0.5672, allocations: 25.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.5672, allocations: 126.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.5674, allocations: 105.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5674, allocations: 29.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.5674, allocations: 91.98 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.5674, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.5675, allocations: 9.719 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5676, allocations: 318.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.5676, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.5677, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/0.5677, allocations: 16.86 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5677, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.5678, allocations: 33.69 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5678, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5678, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5678, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.421e-05/0.5679, allocations: 3.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.5679, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.5679, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.5679, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 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.000115/0.568, allocations: 194.8 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.5681, allocations: 108.9 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.5682, allocations: 108.1 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.392e-05/0.5683, allocations: 180.2 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.022e-05/0.5684, allocations: 184.2 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-05/0.5684, allocations: 180.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.5687, allocations: 409.1 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.894e-05/0.5688, allocations: 109 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.5688, allocations: 101 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.341e-05/0.5689, allocations: 180.2 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/0.569, allocations: 180.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.719e-05/0.5691, allocations: 192.2 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.484e-05/0.5692, allocations: 176.3 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.5694, allocations: 307.7 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.5695, allocations: 186.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/0.5696, allocations: 184.2 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.5697, allocations: 109 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.5698, allocations: 180.2 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.5698, allocations: 105 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.5699, allocations: 83.28 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5699, allocations: 0 / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002664/0.5702, allocations: 20 kB / 1.025 GB, free: 10.49 MB / 0.7794 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.0003992/0.5706, allocations: 226.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.886e-05/0.5706, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5706, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.5706, allocations: 3.938 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.5711, allocations: 469.4 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.5715, allocations: 196.3 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.5718, allocations: 0.6767 MB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.5718, allocations: 11.5 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.5719, allocations: 7.438 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5719, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of Templates: time 0.003218/0.5751, allocations: 0.6794 MB / 1.027 GB, free: 8.23 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (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 & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/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