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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007196/0.007196, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001125/0.001126, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.12 kB / 1.054 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7308, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001801/0.7326, allocations: 0.5694 MB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.7339, allocations: 1.007 MB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.734, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.734, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007356/0.7348, allocations: 91.78 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.937e-05/0.7348, allocations: 15.94 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.7349, allocations: 7.984 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.7349, allocations: 4 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.735, allocations: 3.984 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.7352, allocations: 31.91 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.7352, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.7354, allocations: 75.92 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.7354, allocations: 11.92 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.7354, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.7356, allocations: 71.84 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7356, allocations: 4 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7356, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7356, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 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.0003286/0.736, allocations: 335.2 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.736, allocations: 11.97 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.736, allocations: 0.9375 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.7362, allocations: 164.4 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.7362, allocations: 384 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.7362, allocations: 384 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.7363, allocations: 41.81 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7363, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.7363, allocations: 7.984 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.7363, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.017e-05/0.7363, allocations: 4 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.7367, allocations: 476.4 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.349e-05/0.7368, allocations: 169.1 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.7368, allocations: 80.14 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.7369, allocations: 75.28 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.7369, allocations: 109.8 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7369, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.886e-05/0.737, allocations: 37.62 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.7371, allocations: 130.7 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.7372, allocations: 97.8 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.7372, allocations: 29.7 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.7373, allocations: 84.14 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.7373, allocations: 0 / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.7373, allocations: 13.7 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7374, allocations: 318.8 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.7374, allocations: 4 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.7374, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.7375, allocations: 8.859 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7375, allocations: 0 / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001074/0.7376, allocations: 37.64 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7376, allocations: 8 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7376, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7377, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.058e-05/0.7377, allocations: 3.984 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7377, allocations: 4.094 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.7377, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.7377, allocations: 3.984 kB / 1.212 GB, free: 9.23 MB / 0.9356 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.588e-05/0.7378, allocations: 193 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.7379, allocations: 104.9 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.7379, allocations: 104.1 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.289e-05/0.738, allocations: 188.2 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.916e-05/0.7381, allocations: 184.2 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.7382, allocations: 176.3 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.7384, allocations: 409.1 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/0.7384, allocations: 101 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.7385, allocations: 105 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.45e-05/0.7386, allocations: 184.2 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.7386, allocations: 180.3 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.522e-05/0.7387, allocations: 180.2 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.13e-05/0.7388, allocations: 184.3 kB / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.7389, allocations: 316 kB / 1.214 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.739, allocations: 182 kB / 1.214 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.7391, allocations: 188.2 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.7392, allocations: 101 kB / 1.215 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.7393, allocations: 180.3 kB / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.7393, allocations: 108.9 kB / 1.215 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.7394, allocations: 87.27 kB / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7394, allocations: 0 / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002574/0.7396, allocations: 20 kB / 1.215 GB, free: 5.605 MB / 0.9356 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.0003821/0.74, allocations: 240 kB / 1.215 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.346e-05/0.7401, allocations: 4 kB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7401, allocations: 0 / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-06/0.7401, allocations: 4 kB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.7405, allocations: 462 kB / 1.216 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.7409, allocations: 204.2 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.7412, allocations: 0.6768 MB / 1.217 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.7412, allocations: 4 kB / 1.217 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.7412, allocations: 7.438 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of SimCode: time 3.476e-06/0.7413, allocations: 0 / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of Templates: time 0.002783/0.744, allocations: 0.6816 MB / 1.217 GB, free: 3.34 MB / 0.9356 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