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.001105/0.001105, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001118/0.001118, allocations: 190.8 kB / 17.29 MB, free: 5.48 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.451/2.451, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.34 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2804, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001723/0.2822, allocations: 0.5774 MB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2834, allocations: 1.002 MB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.2834, allocations: 0 / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.2835, allocations: 0 / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006738/0.2841, allocations: 103.8 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.13e-05/0.2842, allocations: 7.984 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.215e-05/0.2842, allocations: 7.938 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.2843, allocations: 3.984 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.2843, allocations: 4 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.2845, allocations: 39.91 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.2845, allocations: 0 / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.2847, allocations: 79.91 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.2847, allocations: 0 / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.2847, allocations: 0 / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2849, allocations: 75.86 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2849, allocations: 0 / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2849, allocations: 0 / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.2849, allocations: 0 / 1.029 GB, free: 144 kB / 0.795 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.0003048/0.2852, allocations: 335.5 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2853, allocations: 20.02 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.2853, allocations: 0.9375 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2854, allocations: 160.4 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2854, allocations: 8.312 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.2854, allocations: 384 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.2856, allocations: 29.83 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2856, allocations: 3.938 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2856, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2856, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.2856, allocations: 11.98 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.286, allocations: 460.6 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.2861, allocations: 177.1 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.2861, allocations: 80.14 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.2862, allocations: 79.28 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.2862, allocations: 105.8 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 3.286e-06/0.2862, allocations: 3.984 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.765e-05/0.2863, allocations: 29.7 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.2864, allocations: 130.6 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.2864, allocations: 105.8 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2865, allocations: 25.7 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.2865, allocations: 84.14 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.2865, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.2865, allocations: 13.72 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2867, allocations: 322.8 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.2867, allocations: 3.938 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.2867, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.2867, allocations: 4.859 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2867, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.194e-05/0.2868, allocations: 41.7 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2868, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2868, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2869, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.607e-05/0.2869, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2869, allocations: 4 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.2869, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2869, allocations: 3.984 kB / 1.031 GB, free: 13.69 MB / 0.8106 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 9.018e-05/0.287, allocations: 197 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.2871, allocations: 105 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.2871, allocations: 108 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.711e-05/0.2872, allocations: 176.3 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-05/0.2873, allocations: 180.2 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.656e-05/0.2873, allocations: 184.2 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2876, allocations: 409.2 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.315e-05/0.2876, allocations: 112.9 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.2877, allocations: 105 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.954e-05/0.2877, allocations: 176.3 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.2878, allocations: 180.2 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.357e-05/0.2879, allocations: 180.5 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.827e-05/0.2879, allocations: 196.2 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.2881, allocations: 307.7 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.2881, allocations: 182.1 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.2882, allocations: 180.2 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.888e-05/0.2883, allocations: 108.9 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.2884, allocations: 180.3 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.2884, allocations: 104.9 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.2885, allocations: 83.28 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2885, allocations: 0 / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002705/0.2888, allocations: 23.98 kB / 1.034 GB, free: 10.05 MB / 0.8106 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.0003916/0.2892, allocations: 237.3 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.346e-05/0.2892, allocations: 4 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2892, allocations: 0 / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.2892, allocations: 0 / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.2896, allocations: 463.7 kB / 1.035 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.29, allocations: 212.2 kB / 1.035 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2903, allocations: 0.6729 MB / 1.036 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.2903, allocations: 3.984 kB / 1.036 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.2903, allocations: 15.42 kB / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.2904, allocations: 4 kB / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of Templates: time 0.002847/0.2932, allocations: 0.6705 MB / 1.036 GB, free: 7.781 MB / 0.8106 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 -s cvode -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/jenkins1/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