Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0007659/0.0007659, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004836/0.004836, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.523/2.523, allocations: 443.3 MB / 0.7175 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.000372, allocations: 11.5 kB / 0.8796 GB, free: 41.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2591, allocations: 155.2 MB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000658/0.2598, allocations: 303.5 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2609, allocations: 1.004 MB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.1e-05/0.261, allocations: 0 / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.618e-06/0.261, allocations: 0 / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006149/0.2616, allocations: 87.84 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.026e-05/0.2617, allocations: 15.98 kB / 1.033 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.021e-05/0.2617, allocations: 4 kB / 1.033 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.2617, allocations: 0 / 1.033 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.476e-05/0.2618, allocations: 3.938 kB / 1.033 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.262, allocations: 35.91 kB / 1.033 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.262, allocations: 0 / 1.033 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.2621, allocations: 95.83 kB / 1.033 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2622, allocations: 4 kB / 1.033 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.2622, allocations: 25.7 kB / 1.033 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.2624, allocations: 80.12 kB / 1.033 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2624, allocations: 7.938 kB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2624, allocations: 0 / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.2624, allocations: 0 / 1.033 GB, free: 2.637 MB / 0.7794 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.0003205/0.2627, allocations: 323.5 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2628, allocations: 15.98 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.2628, allocations: 0.9375 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2629, allocations: 168.4 kB / 1.033 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2629, allocations: 4.375 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.263, allocations: 384 / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.263e-05/0.263, allocations: 37.77 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.263, allocations: 0 / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.2631, allocations: 0 / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2631, allocations: 0 / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.537e-05/0.2631, allocations: 4 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.2634, allocations: 464.6 kB / 1.034 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.2635, allocations: 177.1 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.2636, allocations: 80.14 kB / 1.034 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2636, allocations: 79.28 kB / 1.034 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2636, allocations: 105.8 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.2636, allocations: 0 / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.017e-05/0.2637, allocations: 29.7 kB / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2638, allocations: 130.7 kB / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.2638, allocations: 101.8 kB / 1.034 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.2639, allocations: 25.7 kB / 1.034 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.2639, allocations: 84.05 kB / 1.035 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.2639, allocations: 3.938 kB / 1.035 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2639, allocations: 13.72 kB / 1.035 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.264, allocations: 314.8 kB / 1.035 GB, free: 288 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-06/0.264, allocations: 0 / 1.035 GB, free: 288 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-06/0.2641, allocations: 4 kB / 1.035 GB, free: 284 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.2641, allocations: 8.859 kB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2641, allocations: 0 / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.013e-05/0.2642, allocations: 41.62 kB / 1.035 GB, free: 224 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2642, allocations: 8 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2642, allocations: 0 / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-06/0.2642, allocations: 0 / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.538e-05/0.2642, allocations: 0 / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2643, allocations: 3.938 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.2643, allocations: 8.031 kB / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2643, allocations: 192 / 1.035 GB, free: 204 kB / 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 7.661e-05/0.2644, allocations: 193 kB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.2644, allocations: 105 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.2645, allocations: 112.1 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-05/0.2646, allocations: 188.2 kB / 1.035 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.866e-05/0.2646, allocations: 180.3 kB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.804e-05/0.2647, allocations: 180.3 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.2649, allocations: 413.2 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.2649, allocations: 101 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.265, allocations: 104.9 kB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.514e-05/0.265, allocations: 184.2 kB / 1.037 GB, free: 14.35 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.2651, allocations: 188.2 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-05/0.2652, allocations: 176.3 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.414e-05/0.2652, allocations: 180.2 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.2653, allocations: 311.8 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.2654, allocations: 186 kB / 1.038 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.2655, allocations: 180.3 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.2656, allocations: 104.9 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2656, allocations: 184.2 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.2657, allocations: 105 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.2657, allocations: 79.28 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2657, allocations: 4 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000256/0.266, allocations: 20 kB / 1.038 GB, free: 12.57 MB / 0.795 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.0003401/0.2663, allocations: 228.9 kB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.721e-05/0.2664, allocations: 4 kB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2664, allocations: 8 kB / 1.038 GB, free: 12.33 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.2664, allocations: 0 / 1.038 GB, free: 12.33 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.2668, allocations: 0.5262 MB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.2671, allocations: 205.9 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.2673, allocations: 0.677 MB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.2673, allocations: 0 / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.2674, allocations: 7.438 kB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.2674, allocations: 0 / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of Templates: time 0.002686/0.27, allocations: 0.6657 MB / 1.04 GB, free: 10.24 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches