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.GFunction_SmallScaleValidation.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.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 249.5 MB / 257 MB, free: 6.887 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.001007/0.001007, allocations: 176.9 kB / 316.3 MB, free: 3.27 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.584/1.584, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.000976/0.0009761, allocations: 95.14 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.146e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2246, allocations: 106.3 MB / 0.8853 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7789/1.004, allocations: 151.3 MB / 1.033 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.004, allocations: 122.1 kB / 1.033 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09979/1.104, allocations: 29.46 MB / 1.062 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.323e-06/1.104, allocations: 0 / 1.062 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.182e-05/1.104, allocations: 19.94 kB / 1.062 GB, free: 9.648 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002152/1.106, allocations: 1.047 MB / 1.063 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.106, allocations: 12.03 kB / 1.063 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/1.106, allocations: 102.6 kB / 1.063 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006416/1.107, allocations: 468.3 kB / 1.063 GB, free: 8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/1.107, allocations: 0 / 1.063 GB, free: 8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/1.107, allocations: 20 kB / 1.064 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003505/1.108, allocations: 419.2 kB / 1.064 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/1.108, allocations: 389.6 kB / 1.064 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.108, allocations: 4 kB / 1.064 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.108, allocations: 0 / 1.064 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.108, allocations: 7.953 kB / 1.064 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/1.109, allocations: 0.7113 MB / 1.065 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/1.109, allocations: 0.5616 MB / 1.066 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/1.109, allocations: 328.5 kB / 1.066 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009481/1.11, allocations: 1.035 MB / 1.067 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/1.111, allocations: 399.4 kB / 1.067 GB, free: 4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/1.111, allocations: 0 / 1.067 GB, free: 4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0009374/1.112, allocations: 0.974 MB / 1.068 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.112, allocations: 79.73 kB / 1.068 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.113, allocations: 1.058 MB / 1.069 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/1.113, allocations: 33.64 kB / 1.069 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/1.113, allocations: 281.6 kB / 1.07 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/1.113, allocations: 23.08 kB / 1.07 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/1.113, allocations: 0 / 1.07 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.113, allocations: 426.8 kB / 1.07 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.114, allocations: 1.192 MB / 1.071 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/1.116, allocations: 1.325 MB / 1.072 GB, free: 15.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/1.117, allocations: 1.584 MB / 1.074 GB, free: 14.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.117, allocations: 0 / 1.074 GB, free: 14.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003814/1.121, allocations: 3.389 MB / 1.077 GB, free: 12.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.121, allocations: 8 kB / 1.077 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.121, allocations: 7.969 kB / 1.077 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.121, allocations: 4 kB / 1.077 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/1.122, allocations: 139.5 kB / 1.077 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.122, allocations: 4 kB / 1.077 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/1.122, allocations: 224.4 kB / 1.078 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/1.122, allocations: 58.61 kB / 1.078 GB, free: 11.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001449/1.122, allocations: 120.8 kB / 1.078 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/1.123, allocations: 74.59 kB / 1.078 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009923/1.124, allocations: 0.9297 MB / 1.079 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.124, allocations: 4 kB / 1.079 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.124, allocations: 0 / 1.079 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.124, allocations: 0 / 1.079 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/1.124, allocations: 0.4966 MB / 1.079 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.124, allocations: 0 / 1.079 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/1.124, allocations: 11.98 kB / 1.079 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.124, allocations: 4.031 kB / 1.079 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.124, allocations: 0 / 1.079 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.124, allocations: 7.938 kB / 1.079 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.124, allocations: 0 / 1.079 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/1.125, allocations: 1.012 MB / 1.08 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.125, allocations: 155.8 kB / 1.081 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/1.125, allocations: 4 kB / 1.081 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/1.125, allocations: 11.23 kB / 1.081 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/1.125, allocations: 4 kB / 1.081 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/1.125, allocations: 15.97 kB / 1.081 GB, free: 8.824 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006475/1.126, allocations: 0.6381 MB / 1.081 GB, free: 8.312 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/1.126, allocations: 0 / 1.081 GB, free: 8.312 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00158/1.128, allocations: 490.4 kB / 1.082 GB, free: 7.852 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001564/1.129, allocations: 0.6687 MB / 1.082 GB, free: 7.195 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001887/1.131, allocations: 2.326 MB / 1.085 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.131, allocations: 0 / 1.085 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/1.132, allocations: 327.5 kB / 1.085 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/1.132, allocations: 57.06 kB / 1.085 GB, free: 5.293 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/1.134, allocations: 1.473 MB / 1.086 GB, free: 3.816 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/1.134, allocations: 1.004 MB / 1.087 GB, free: 2.789 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002078/1.135, allocations: 71.2 kB / 1.087 GB, free: 2.723 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.135, allocations: 35.3 kB / 1.087 GB, free: 2.691 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/1.135, allocations: 0 / 1.087 GB, free: 2.691 MB / 0.698 GB Notification: Performance of Templates: time 0.01813/1.153, allocations: 9.968 MB / 1.097 GB, free: 8.805 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches