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.412/1.412, allocations: 249.3 MB / 261.8 MB, free: 5.746 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.001091/0.001091, allocations: 162.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009483/0.0009483, allocations: 92.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.456e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 106.3 MB / 0.8918 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.706/0.905, allocations: 133.2 MB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.9053, allocations: 98.67 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004751/0.9101, allocations: 2.017 MB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9101, allocations: 2.734 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9101, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 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.0002892/0.9104, allocations: 337.9 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.9105, allocations: 12.03 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.9105, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.9107, allocations: 167 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.9107, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.9107, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.994e-05/0.9108, allocations: 33.69 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.9108, allocations: 0 / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.9109, allocations: 0 / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.9109, allocations: 0 / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.9109, allocations: 10.25 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.9114, allocations: 471.9 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.9115, allocations: 165.1 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.9116, allocations: 84.12 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.9116, allocations: 75.28 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.9117, allocations: 117.1 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.9117, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.286e-05/0.9118, allocations: 33.62 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.9118, allocations: 126.7 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.9119, allocations: 96.38 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.912, allocations: 25.7 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.912, allocations: 84.14 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.912, allocations: 4 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.912, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9121, allocations: 314.8 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-06/0.9122, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-06/0.9122, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.848e-05/0.9122, allocations: 3.984 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9122, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.38e-05/0.9123, allocations: 40.52 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9123, allocations: 9.812 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9123, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.9124, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.592e-05/0.9124, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.9124, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.32e-05/0.9124, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.9124, allocations: 4 kB / 1.026 GB, free: 13.35 MB / 0.6511 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 8.902e-05/0.9125, allocations: 180.2 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.9126, allocations: 112.9 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.9127, allocations: 115.2 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-05/0.9127, allocations: 176.3 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-05/0.9128, allocations: 176.3 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/0.9129, allocations: 180.2 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.9131, allocations: 409.2 kB / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/0.9131, allocations: 108.9 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.9132, allocations: 105 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.941e-05/0.9133, allocations: 184.2 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.9133, allocations: 183.4 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.18e-05/0.9134, allocations: 176.3 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.129e-05/0.9135, allocations: 184.2 kB / 1.028 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.9136, allocations: 311.1 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.9137, allocations: 182.1 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.9138, allocations: 184.2 kB / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.9139, allocations: 108.9 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.9139, allocations: 183 kB / 1.029 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.914, allocations: 113.8 kB / 1.029 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4e-05/0.914, allocations: 82.72 kB / 1.029 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.914, allocations: 0 / 1.029 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002626/0.9143, allocations: 16 kB / 1.029 GB, free: 9.75 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.0004076/0.9147, allocations: 241.1 kB / 1.03 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.097e-05/0.9148, allocations: 4 kB / 1.03 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9148, allocations: 0 / 1.03 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.9148, allocations: 0 / 1.03 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.9151, allocations: 0.535 MB / 1.03 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.9179, allocations: 1.02 MB / 1.031 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.9182, allocations: 0.6772 MB / 1.032 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.9182, allocations: 8 kB / 1.032 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.9183, allocations: 7.438 kB / 1.032 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/0.9183, allocations: 0 / 1.032 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of Templates: time 0.00266/0.9209, allocations: 0.6497 MB / 1.032 GB, free: 6.73 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