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.00111/0.00111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001172/0.001172, allocations: 190.2 kB / 16.25 MB, free: 6.633 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.549/2.549, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.8688 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6247, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001602/0.6263, allocations: 0.6324 MB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.6274, allocations: 0.9992 MB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.301e-05/0.6274, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.6274, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0006107/0.628, allocations: 91.84 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.809e-05/0.6281, allocations: 8 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.6281, allocations: 11.92 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.6282, allocations: 3.984 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.6282, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.6284, allocations: 35.89 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-06/0.6284, allocations: 7.938 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.6285, allocations: 83.91 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.6285, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.6286, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.6287, allocations: 67.91 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6287, allocations: 8 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6287, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.6287, allocations: 3.938 kB / 1.019 GB, free: 0.7461 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.0002712/0.629, allocations: 333.5 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.629, allocations: 11.98 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.6291, allocations: 0.9375 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.271e-05/0.6292, allocations: 164.4 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.6292, allocations: 4.312 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-06/0.6292, allocations: 384 / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.293e-05/0.6293, allocations: 45.81 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.6293, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.6293, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-06/0.6293, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.379e-05/0.6293, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.6297, allocations: 468.6 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.6297, allocations: 173.1 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.6298, allocations: 80.14 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.6298, allocations: 75.28 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.6298, allocations: 109.8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6298, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.789e-05/0.6299, allocations: 33.69 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.6299, allocations: 134.6 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.63, allocations: 97.86 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.63, allocations: 25.7 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.6301, allocations: 91.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.6301, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.6301, allocations: 17.7 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.6302, allocations: 314.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-06/0.6302, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.6302, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.6303, allocations: 8.859 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6303, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.032e-05/0.6304, allocations: 33.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6304, allocations: 11.94 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6304, allocations: 7.922 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.6304, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.124e-05/0.6304, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.6304, allocations: 8.031 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.6304, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.6304, allocations: 0 / 1.021 GB, free: 14.29 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 7.477e-05/0.6305, allocations: 189.1 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.6306, allocations: 101.2 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.6306, allocations: 108 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/0.6307, allocations: 196.3 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-05/0.6307, allocations: 180.3 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.016e-05/0.6308, allocations: 180.2 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.631, allocations: 405.2 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/0.631, allocations: 108.9 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.6311, allocations: 101 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.871e-05/0.6311, allocations: 180.4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/0.6312, allocations: 188.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-05/0.6312, allocations: 180.2 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-05/0.6313, allocations: 180.2 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.6314, allocations: 307.8 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.6314, allocations: 186 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.6315, allocations: 180.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.6316, allocations: 104.9 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.6316, allocations: 180.3 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.6317, allocations: 105 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.6317, allocations: 91.2 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6317, allocations: 0 / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002397/0.632, allocations: 20 kB / 1.024 GB, free: 10.67 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.000312/0.6323, allocations: 242.1 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.585e-05/0.6323, allocations: 4 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.6323, allocations: 4 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.6324, allocations: 0 / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.6327, allocations: 461.1 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.633, allocations: 204.2 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.6332, allocations: 0.6807 MB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.6332, allocations: 0 / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.6333, allocations: 7.438 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6333, allocations: 4 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of Templates: time 0.002514/0.6358, allocations: 0.6663 MB / 1.026 GB, free: 8.41 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=480 -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