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.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 11 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.001/0.001, allocations: 186.7 kB / 326.5 MB, free: 2.234 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.534/1.534, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008264/0.0008264, allocations: 103.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 8.844 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1716, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.3428, allocations: 151.1 MB / 1.048 GB, free: 8.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.3432, allocations: 115.9 kB / 1.048 GB, free: 8.465 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.451/0.7942, allocations: 29.74 MB / 1.077 GB, free: 148.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7942, allocations: 0 / 1.077 GB, free: 148.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.344e-05/0.7942, allocations: 13.84 kB / 1.077 GB, free: 148.5 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.002295/0.7966, allocations: 1.197 MB / 1.078 GB, free: 147.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.7966, allocations: 9.156 kB / 1.078 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.797, allocations: 111.5 kB / 1.078 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006899/0.7977, allocations: 470 kB / 1.079 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.7977, allocations: 23.31 kB / 1.079 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.7978, allocations: 34.72 kB / 1.079 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.7982, allocations: 388.6 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.7982, allocations: 0.5312 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.7982, allocations: 4.484 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.7982, allocations: 5.047 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.7987, allocations: 442.2 kB / 1.079 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007959/0.7995, allocations: 0.7715 MB / 1.08 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008157/0.8004, allocations: 0.5638 MB / 1.081 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000761/0.8011, allocations: 1.029 MB / 1.082 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.8016, allocations: 406 kB / 1.082 GB, free: 145.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.8016, allocations: 0 / 1.082 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.00101/0.8026, allocations: 1.311 MB / 1.083 GB, free: 144.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.8027, allocations: 77.11 kB / 1.083 GB, free: 144.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008756/0.8035, allocations: 1.124 MB / 1.085 GB, free: 144.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.8036, allocations: 45.45 kB / 1.085 GB, free: 144.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.8038, allocations: 300 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.8038, allocations: 18.88 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.8039, allocations: 18.23 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.804, allocations: 428.6 kB / 1.085 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.805, allocations: 1.226 MB / 1.087 GB, free: 143.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.8062, allocations: 1.354 MB / 1.088 GB, free: 143.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.8075, allocations: 1.61 MB / 1.089 GB, free: 142.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8075, allocations: 0 / 1.089 GB, free: 142.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003234/0.8107, allocations: 3.454 MB / 1.093 GB, free: 139.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.8108, allocations: 9.969 kB / 1.093 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.8108, allocations: 0 / 1.093 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8108, allocations: 11.92 kB / 1.093 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.8114, allocations: 139.8 kB / 1.093 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.8114, allocations: 4 kB / 1.093 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.8119, allocations: 240.3 kB / 1.093 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.812, allocations: 59.98 kB / 1.093 GB, free: 139.5 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.0002507/0.8123, allocations: 273.5 kB / 1.094 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.8123, allocations: 70.69 kB / 1.094 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/0.813, allocations: 0.9445 MB / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8131, allocations: 0 / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8131, allocations: 0 / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8131, allocations: 0 / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.8134, allocations: 0.5255 MB / 1.095 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8135, allocations: 0 / 1.095 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.8135, allocations: 7.984 kB / 1.095 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8135, allocations: 7.938 kB / 1.095 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.8136, allocations: 4 kB / 1.095 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8136, allocations: 0 / 1.095 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8136, allocations: 3.938 kB / 1.095 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.8142, allocations: 1.024 MB / 1.096 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.8143, allocations: 155.8 kB / 1.096 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.8144, allocations: 0 / 1.096 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.8146, allocations: 7.984 kB / 1.096 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.8146, allocations: 8 kB / 1.096 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.8146, allocations: 19.97 kB / 1.096 GB, free: 136.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005928/0.8152, allocations: 0.7023 MB / 1.097 GB, free: 135.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8153, allocations: 0 / 1.097 GB, free: 135.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001607/0.8169, allocations: 0.5032 MB / 1.097 GB, free: 135.1 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.001528/0.8184, allocations: 0.6448 MB / 1.098 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.82, allocations: 2.36 MB / 1.1 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.82, allocations: 4.062 kB / 1.1 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.8203, allocations: 343.7 kB / 1.101 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.8206, allocations: 48.67 kB / 1.101 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.8223, allocations: 1.983 MB / 1.103 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.8227, allocations: 1.005 MB / 1.104 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.8229, allocations: 58.95 kB / 1.104 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.823, allocations: 39.42 kB / 1.104 GB, free: 128.5 MB / 0.698 GB Notification: Performance of SimCode: time 4.5e-07/0.823, allocations: 0 / 1.104 GB, free: 128.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01567/0.8387, allocations: 10.93 MB / 1.114 GB, free: 117.7 MB / 0.698 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