Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 184.3 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008179/0.0008179, allocations: 86.58 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.064e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2235, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.733/0.9566, allocations: 133.5 MB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.9569, allocations: 102.1 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004795/0.9617, allocations: 2.02 MB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9618, allocations: 2.734 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9618, allocations: 0 / 1.018 GB, free: 2.516 MB / 0.6355 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.0002845/0.9621, allocations: 322.5 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.9621, allocations: 8.031 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.9622, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.9623, allocations: 178.9 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.9623, allocations: 4 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.9624, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.029e-05/0.9624, allocations: 3.938 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.9625, allocations: 29.7 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.9625, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.9625, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.9625, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.9629, allocations: 450.4 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.963, allocations: 169.2 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.9631, allocations: 92.05 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.9631, allocations: 75.28 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.9632, allocations: 109.5 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9632, allocations: 4 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.62e-05/0.9633, allocations: 29.7 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.9633, allocations: 55.09 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.9634, allocations: 92.94 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.9634, allocations: 25.7 kB / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.9635, allocations: 80.14 kB / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.9635, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.9635, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9637, allocations: 322.5 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.9637, allocations: 8 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.9637, allocations: 3.938 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.55e-05/0.9637, allocations: 4 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9638, allocations: 0 / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001118/0.9639, allocations: 37.69 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9639, allocations: 4 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9639, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.9639, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-05/0.9639, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.964, allocations: 4.094 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.964, allocations: 0 / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.964, allocations: 4 kB / 1.02 GB, free: 248 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.415e-05/0.9641, allocations: 180.2 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.9642, allocations: 108.8 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.9642, allocations: 116.5 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-05/0.9643, allocations: 180.3 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.952e-05/0.9644, allocations: 180.2 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.134e-05/0.9644, allocations: 176.3 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.9647, allocations: 381.8 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-05/0.9647, allocations: 109.6 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.9648, allocations: 108.6 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.388e-05/0.9648, allocations: 180.3 kB / 1.021 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.9649, allocations: 188.2 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-05/0.965, allocations: 180.2 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.413e-05/0.9651, allocations: 176.3 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.9652, allocations: 307.5 kB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.9653, allocations: 186 kB / 1.022 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/0.9654, allocations: 184.2 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.9655, allocations: 101 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.9656, allocations: 176.3 kB / 1.023 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.9656, allocations: 112.8 kB / 1.023 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.9656, allocations: 86.97 kB / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9657, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002835/0.9659, allocations: 24 kB / 1.023 GB, free: 12.68 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004102/0.9664, allocations: 233.2 kB / 1.023 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.639e-05/0.9664, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9664, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.9664, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.9668, allocations: 0.5282 MB / 1.024 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.9696, allocations: 1.016 MB / 1.025 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.9698, allocations: 0.6768 MB / 1.025 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.9699, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.9699, allocations: 23.31 kB / 1.025 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of SimCode: time 4.2e-07/0.9699, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.00267/0.9726, allocations: 0.6488 MB / 1.026 GB, free: 9.672 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches