Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007811/0.007811, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001822/0.001822, allocations: 193.2 kB / 16.67 MB, free: 5.949 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.89 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2942, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001514/0.2958, allocations: 0.5783 MB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2969, allocations: 1.005 MB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.297, allocations: 0 / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.297, allocations: 0 / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006524/0.2976, allocations: 95.78 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.115e-05/0.2976, allocations: 11.92 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.2977, allocations: 11.98 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.2977, allocations: 4 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.2977, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.2979, allocations: 39.77 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.2979, allocations: 0 / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.2981, allocations: 87.91 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.2981, allocations: 3.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.2981, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.2983, allocations: 71.84 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2983, allocations: 0 / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2983, allocations: 3.938 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2983, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 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.0003008/0.2986, allocations: 343.3 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2986, allocations: 8.031 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.2986, allocations: 0.9375 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2988, allocations: 168.3 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2988, allocations: 4.359 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2988, allocations: 384 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.35e-05/0.2989, allocations: 29.83 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.2989, allocations: 0 / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.2989, allocations: 4 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2989, allocations: 4 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.2989, allocations: 3.938 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.2993, allocations: 468.6 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.2993, allocations: 165.1 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.2994, allocations: 84.14 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.2994, allocations: 75.28 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.2994, allocations: 113.8 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2994, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 5.893e-05/0.2995, allocations: 29.7 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.2995, allocations: 126.7 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.2996, allocations: 113.7 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.2996, allocations: 25.7 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.2997, allocations: 84.12 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.2997, allocations: 4 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.2997, allocations: 13.72 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.2998, allocations: 314.8 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.2998, allocations: 4 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.2998, allocations: 0 / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.2998, allocations: 12.86 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2998, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.023e-05/0.2999, allocations: 37.69 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2999, allocations: 7.938 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.2999, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2999, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.3, allocations: 4 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/0.3, allocations: 4 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.3, allocations: 0 / 1.225 GB, free: 9.371 MB / 0.9825 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.474e-05/0.3001, allocations: 189.6 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.3001, allocations: 108.9 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.3002, allocations: 108.1 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/0.3002, allocations: 176.3 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-05/0.3003, allocations: 192.2 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-05/0.3003, allocations: 180.4 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.3005, allocations: 409.1 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/0.3006, allocations: 105 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.3006, allocations: 101 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-05/0.3007, allocations: 184.2 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.3007, allocations: 188.2 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.797e-05/0.3008, allocations: 184.2 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.568e-05/0.3008, allocations: 176.3 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.301, allocations: 307.7 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.301, allocations: 182.1 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.3011, allocations: 184.2 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.3012, allocations: 105 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.3012, allocations: 180.2 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.3012, allocations: 105 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.3013, allocations: 83.27 kB / 1.228 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3013, allocations: 0 / 1.228 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002569/0.3015, allocations: 19.94 kB / 1.228 GB, free: 5.758 MB / 0.9825 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.0003276/0.3019, allocations: 234.5 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.898e-05/0.3019, allocations: 12 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3019, allocations: 0 / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-06/0.3019, allocations: 7.875 kB / 1.228 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3023, allocations: 467.7 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.3026, allocations: 196.1 kB / 1.229 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3028, allocations: 0.6771 MB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.3029, allocations: 4 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.3029, allocations: 11.44 kB / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3029, allocations: 0 / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of Templates: time 0.002609/0.3055, allocations: 0.6727 MB / 1.23 GB, free: 3.48 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches