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.0008485/0.0008485, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.005128/0.005128, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.384/2.384, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005373, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6523/0.6528, allocations: 142.4 MB / 0.9551 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007626/0.6537, allocations: 301.8 kB / 0.9554 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.6551, allocations: 0.9865 MB / 0.9563 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.433e-05/0.6551, allocations: 3.938 kB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.6551, allocations: 1.469 kB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007247/0.6558, allocations: 82.17 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.369e-05/0.6559, allocations: 12.59 kB / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.116e-05/0.656, allocations: 7.625 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.656, allocations: 5.172 kB / 0.9564 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.656, allocations: 5.203 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.6563, allocations: 33.25 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.6563, allocations: 1.094 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.6565, allocations: 81.77 kB / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.6565, allocations: 5.484 kB / 0.9566 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.6566, allocations: 27.2 kB / 0.9566 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.6567, allocations: 71.91 kB / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6567, allocations: 0 / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6567, allocations: 4 kB / 0.9567 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.6568, allocations: 0 / 0.9567 GB, free: 6.52 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.000263/0.657, allocations: 328 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.6571, allocations: 10.03 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.6571, allocations: 4.844 kB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.753e-05/0.6572, allocations: 162.6 kB / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.6572, allocations: 384 / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.6573, allocations: 1.625 kB / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.6573, allocations: 42.7 kB / 0.9572 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6574, allocations: 4 kB / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.6574, allocations: 0 / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.6574, allocations: 0 / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.6574, allocations: 3.938 kB / 0.9572 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.6577, allocations: 467.1 kB / 0.9576 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.022e-05/0.6578, allocations: 170.1 kB / 0.9578 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.6578, allocations: 80.14 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.6578, allocations: 75.28 kB / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.6579, allocations: 114.8 kB / 0.9581 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.6579, allocations: 0 / 0.9581 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.752e-05/0.6579, allocations: 28.11 kB / 0.9581 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.658, allocations: 126.7 kB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.6581, allocations: 103.1 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.6581, allocations: 25.7 kB / 0.9583 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.6581, allocations: 85.56 kB / 0.9584 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.6581, allocations: 0 / 0.9584 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.6581, allocations: 9.719 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.6582, allocations: 319.7 kB / 0.9587 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.6582, allocations: 5.031 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.6582, allocations: 1.281 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.6582, allocations: 15.02 kB / 0.9587 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6582, allocations: 4.906 kB / 0.9587 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001032/0.6583, allocations: 30.86 kB / 0.9588 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6584, allocations: 6.656 kB / 0.9588 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6584, allocations: 7.984 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6584, allocations: 1.344 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.715e-05/0.6584, allocations: 0 / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6584, allocations: 0 / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.6585, allocations: 5.156 kB / 0.9588 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.6585, allocations: 5.094 kB / 0.9588 GB, free: 4.141 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 6.563e-05/0.6585, allocations: 194.3 kB / 0.959 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.6586, allocations: 105.9 kB / 0.9591 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.6586, allocations: 109.1 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.6586, allocations: 185.1 kB / 0.9594 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/0.6587, allocations: 185.3 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.6587, allocations: 177.2 kB / 0.9597 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.6588, allocations: 411.3 kB / 0.9601 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.6589, allocations: 102 kB / 0.9602 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.6589, allocations: 106 kB / 0.9603 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.486e-05/0.6589, allocations: 177.7 kB / 0.9605 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.659, allocations: 185.4 kB / 0.9606 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.479e-05/0.659, allocations: 188.2 kB / 0.9608 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.153e-05/0.659, allocations: 177.2 kB / 0.961 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.3e-05/0.6591, allocations: 307.7 kB / 0.9613 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.6591, allocations: 188.9 kB / 0.9615 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.6592, allocations: 180.2 kB / 0.9616 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.6592, allocations: 102.4 kB / 0.9617 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.6593, allocations: 181.1 kB / 0.9619 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.6593, allocations: 102.3 kB / 0.962 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.756e-05/0.6593, allocations: 87.23 kB / 0.9621 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6593, allocations: 0 / 0.9621 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002853/0.6596, allocations: 22.28 kB / 0.9621 GB, free: 0.5586 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.0003623/0.66, allocations: 236.2 kB / 0.9623 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.406e-05/0.6601, allocations: 1.406 kB / 0.9623 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6601, allocations: 4 kB / 0.9623 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.6601, allocations: 13.44 kB / 0.9624 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.6604, allocations: 0.5231 MB / 0.9629 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.6608, allocations: 193.1 kB / 0.9631 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.661, allocations: 0.6757 MB / 0.9637 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.6611, allocations: 5.438 kB / 0.9637 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.6611, allocations: 8.969 kB / 0.9637 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.6611, allocations: 0 / 0.9637 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.003089/0.6642, allocations: 0.6478 MB / 0.9644 GB, free: 14.61 MB / 0.7325 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