Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.222/2.222, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 187.3 kB / 0.4902 GB, free: 2.211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.2 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009317, allocations: 106 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.000398, allocations: 11.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.4843, allocations: 151.8 MB / 1.378 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003865/0.4848, allocations: 107.9 kB / 1.378 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005657/0.4905, allocations: 2.14 MB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4905, allocations: 0 / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.4905, allocations: 0 / 1.38 GB, free: 15.38 MB / 0.8855 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.0003171/0.4908, allocations: 328.3 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4909, allocations: 20.5 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.491, allocations: 0 / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.4911, allocations: 167 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4911, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.4912, allocations: 4 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.164e-05/0.4913, allocations: 33.64 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.4913, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.4913, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4913, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.4913, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.4918, allocations: 472.6 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.4919, allocations: 165.1 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.4919, allocations: 79.22 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.492, allocations: 117.8 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.492, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.448e-05/0.4921, allocations: 29.7 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.4922, allocations: 126.7 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.4923, allocations: 96.97 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.4923, allocations: 25.7 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.4923, allocations: 95.98 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/0.4923, allocations: 0 / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.4924, allocations: 3.938 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4925, allocations: 318.8 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.4925, allocations: 0 / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.4925, allocations: 7.938 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/0.4925, allocations: 0 / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4925, allocations: 0 / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001083/0.4927, allocations: 33.69 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.4927, allocations: 9.875 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4927, allocations: 0 / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4927, allocations: 4.094 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-05/0.4927, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4927, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.4928, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.4928, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.4929, allocations: 193.1 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.493, allocations: 104.9 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.493, allocations: 108.1 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.48e-05/0.4931, allocations: 192.3 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-05/0.4932, allocations: 176.3 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/0.4932, allocations: 176.3 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.4935, allocations: 413.1 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-05/0.4935, allocations: 101 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.4936, allocations: 108.9 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.529e-05/0.4936, allocations: 180.2 kB / 1.383 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.4937, allocations: 184.3 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.906e-05/0.4938, allocations: 180.2 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.163e-05/0.4938, allocations: 176.3 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.494, allocations: 315.7 kB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.4941, allocations: 182.1 kB / 1.384 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.4942, allocations: 180.2 kB / 1.385 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.4942, allocations: 101 kB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.4943, allocations: 184.2 kB / 1.385 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.4944, allocations: 113 kB / 1.385 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.4944, allocations: 83.28 kB / 1.385 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4944, allocations: 3.938 kB / 1.385 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002735/0.4947, allocations: 20 kB / 1.385 GB, free: 9.434 MB / 0.8855 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 (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.0004158/0.4951, allocations: 247.7 kB / 1.385 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.758e-05/0.4952, allocations: 3.938 kB / 1.385 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4952, allocations: 4 kB / 1.385 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.062e-06/0.4952, allocations: 8 kB / 1.385 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.4956, allocations: 0.5185 MB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.4988, allocations: 1.152 MB / 1.387 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.4991, allocations: 0.677 MB / 1.388 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.4991, allocations: 4 kB / 1.388 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.4991, allocations: 11.44 kB / 1.388 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of SimCode: time 3.5e-07/0.4991, allocations: 0 / 1.388 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of Templates: time 0.002886/0.502, allocations: 0.6459 MB / 1.388 GB, free: 6.141 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches