Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00142/0.00142, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.8126 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.659, allocations: 140.3 MB / 0.9496 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001625/0.6606, allocations: 0.5596 MB / 0.9502 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.6616, allocations: 0.9921 MB / 0.9511 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.6616, allocations: 4 kB / 0.9511 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.6616, allocations: 1.25 kB / 0.9511 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006271/0.6623, allocations: 85.06 kB / 0.9512 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.976e-05/0.6623, allocations: 15.86 kB / 0.9512 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.846e-05/0.6624, allocations: 8.031 kB / 0.9512 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.6624, allocations: 1.281 kB / 0.9512 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.6624, allocations: 1.281 kB / 0.9512 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.6626, allocations: 30.22 kB / 0.9513 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.6626, allocations: 1.125 kB / 0.9513 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.6628, allocations: 80.62 kB / 0.9514 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.6628, allocations: 0 / 0.9514 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.6628, allocations: 9.5 kB / 0.9514 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.663, allocations: 63.77 kB / 0.9514 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.663, allocations: 1.031 kB / 0.9514 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.663, allocations: 0 / 0.9514 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.663, allocations: 3.938 kB / 0.9514 GB, free: 7.992 MB / 0.7169 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.0002343/0.6632, allocations: 335.6 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6633, allocations: 9.875 kB / 0.9518 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.6633, allocations: 0.9375 kB / 0.9518 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.253e-05/0.6634, allocations: 170.8 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.6634, allocations: 4.312 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.6634, allocations: 1.625 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.494e-05/0.6635, allocations: 32.17 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.6635, allocations: 0 / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.6635, allocations: 0 / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.6635, allocations: 0 / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.485e-05/0.6635, allocations: 1.562 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.6638, allocations: 475.4 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.6638, allocations: 170.4 kB / 0.9526 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.6639, allocations: 80.14 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.6639, allocations: 76.44 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.6639, allocations: 111.2 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.6639, allocations: 0 / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.16e-05/0.664, allocations: 34.8 kB / 0.9529 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.664, allocations: 126.7 kB / 0.953 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.6641, allocations: 107.8 kB / 0.9531 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.509e-06/0.6641, allocations: 25.7 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.641e-05/0.6641, allocations: 81.33 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.6641, allocations: 3.938 kB / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.6641, allocations: 15.59 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.662e-05/0.6642, allocations: 320.3 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-06/0.6642, allocations: 5.562 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.6642, allocations: 3.984 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.919e-05/0.6642, allocations: 7.734 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6642, allocations: 0 / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.936e-05/0.6643, allocations: 39.27 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.6643, allocations: 5.375 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.6643, allocations: 4 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.6643, allocations: 1.312 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.21e-05/0.6644, allocations: 0 / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.6644, allocations: 0 / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.6644, allocations: 1.344 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.6644, allocations: 0 / 0.9536 GB, free: 5.609 MB / 0.7169 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 4.106e-05/0.6644, allocations: 190.3 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.6645, allocations: 106.3 kB / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.6645, allocations: 117.1 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.6645, allocations: 181.5 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/0.6646, allocations: 182.8 kB / 0.9543 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.6646, allocations: 181.2 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.6647, allocations: 403.7 kB / 0.9549 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.6647, allocations: 108.9 kB / 0.955 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.6647, allocations: 106.1 kB / 0.9551 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.088e-05/0.6648, allocations: 181.6 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.6648, allocations: 177.5 kB / 0.9554 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/0.6648, allocations: 185.2 kB / 0.9556 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.151e-05/0.6649, allocations: 177.6 kB / 0.9558 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.967e-05/0.6649, allocations: 314.8 kB / 0.9561 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.665, allocations: 183.9 kB / 0.9562 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.665, allocations: 181.4 kB / 0.9564 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.665, allocations: 109 kB / 0.9565 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.6651, allocations: 181.5 kB / 0.9567 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.6651, allocations: 106.5 kB / 0.9568 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.6651, allocations: 82.06 kB / 0.9569 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6651, allocations: 1.125 kB / 0.9569 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002564/0.6654, allocations: 25.64 kB / 0.9569 GB, free: 2.02 MB / 0.7169 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.0003205/0.6657, allocations: 233.8 kB / 0.9571 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.159e-05/0.6658, allocations: 1.438 kB / 0.9571 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6658, allocations: 0 / 0.9571 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.6658, allocations: 1.781 kB / 0.9571 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.666, allocations: 470.9 kB / 0.9576 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.6663, allocations: 193.8 kB / 0.9578 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.826e-05/0.6664, allocations: 0.6749 MB / 0.9584 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.6665, allocations: 2.062 kB / 0.9584 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.6665, allocations: 8.438 kB / 0.9584 GB, free: 480 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6665, allocations: 0 / 0.9584 GB, free: 480 kB / 0.7169 GB Notification: Performance of Templates: time 0.002554/0.669, allocations: 0.6585 MB / 0.9591 GB, free: 160 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches