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_1borehole_5meters.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_1borehole_5meters,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_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,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_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 178.6 kB / 326.5 MB, free: 2.258 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.529/1.529, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008778/0.0008777, allocations: 86.42 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 8.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1816, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.3487, allocations: 146.6 MB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.349, allocations: 107.9 kB / 1.043 GB, free: 13.01 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4303/0.7793, allocations: 21.86 MB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7793, allocations: 0 / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.746e-05/0.7794, allocations: 13.34 kB / 1.065 GB, free: 146.1 MB / 0.698 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.002728/0.7822, allocations: 1.148 MB / 1.066 GB, free: 145.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7822, allocations: 12 kB / 1.066 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004755/0.7827, allocations: 97.77 kB / 1.066 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.7835, allocations: 424.7 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.7836, allocations: 21.64 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.7837, allocations: 34.8 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.7842, allocations: 395.3 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.7843, allocations: 0 / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.7843, allocations: 0.6562 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7843, allocations: 1.469 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.7848, allocations: 440.1 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.7857, allocations: 0.7461 MB / 1.068 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.7864, allocations: 0.5608 MB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/0.7871, allocations: 1.034 MB / 1.07 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.7876, allocations: 408.2 kB / 1.07 GB, free: 143.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.7876, allocations: 0 / 1.07 GB, free: 143.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.00163/0.7893, allocations: 1.297 MB / 1.071 GB, free: 143.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.7893, allocations: 83.28 kB / 1.071 GB, free: 143.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.7906, allocations: 1.059 MB / 1.072 GB, free: 143 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.7907, allocations: 45.52 kB / 1.072 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.7909, allocations: 276 kB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.791, allocations: 26.94 kB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.7911, allocations: 16.47 kB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7912, allocations: 420.9 kB / 1.073 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.7925, allocations: 1.216 MB / 1.074 GB, free: 142.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.7939, allocations: 1.361 MB / 1.076 GB, free: 142.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.7956, allocations: 1.607 MB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7956, allocations: 0 / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004773/0.8004, allocations: 3.45 MB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.8004, allocations: 5.219 kB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.8004, allocations: 1.625 kB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.8005, allocations: 3.688 kB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/0.8012, allocations: 142.8 kB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.8012, allocations: 3.281 kB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.8019, allocations: 240.8 kB / 1.081 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.8021, allocations: 59.98 kB / 1.081 GB, free: 141.1 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 () * Number of clocked 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.0003639/0.8025, allocations: 265.7 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.8025, allocations: 67.19 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009066/0.8035, allocations: 0.9426 MB / 1.082 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8035, allocations: 0 / 1.082 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8035, allocations: 0 / 1.082 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8035, allocations: 6.984 kB / 1.082 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.804, allocations: 496.6 kB / 1.083 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.804, allocations: 7.969 kB / 1.083 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.8041, allocations: 7.594 kB / 1.083 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8041, allocations: 0 / 1.083 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.8041, allocations: 3.812 kB / 1.083 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8041, allocations: 3.656 kB / 1.083 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8041, allocations: 0 / 1.083 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006587/0.8048, allocations: 1.01 MB / 1.084 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.8049, allocations: 158.5 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.805, allocations: 6.625 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.8051, allocations: 8.25 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.8052, allocations: 11 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.8052, allocations: 11.09 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005772/0.8058, allocations: 0.6595 MB / 1.084 GB, free: 140.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8058, allocations: 0 / 1.084 GB, free: 140.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00157/0.8074, allocations: 487.9 kB / 1.085 GB, free: 140.2 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) * Number of clocked states: 0 () * 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.002034/0.8094, allocations: 0.567 MB / 1.086 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.8113, allocations: 2.366 MB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8113, allocations: 0 / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.8115, allocations: 344.8 kB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.8117, allocations: 37.83 kB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.8135, allocations: 1.827 MB / 1.09 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.8139, allocations: 0.9783 MB / 1.091 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.8141, allocations: 58.08 kB / 1.091 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.8142, allocations: 44.52 kB / 1.091 GB, free: 138.3 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.8142, allocations: 3.938 kB / 1.091 GB, free: 138.3 MB / 0.698 GB Notification: Performance of Templates: time 0.0148/0.829, allocations: 9.189 MB / 1.1 GB, free: 130.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches