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_100boreholes.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_100boreholes,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_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,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_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, 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.001163/0.001162, allocations: 187.7 kB / 326.5 MB, free: 2.254 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.555/1.555, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0008163/0.0008164, allocations: 101.2 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002996, allocations: 15.03 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1771, allocations: 106.3 MB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.3467, allocations: 146.6 MB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.3471, allocations: 115.9 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4742/0.8213, allocations: 25.02 MB / 1.068 GB, free: 145.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8214, allocations: 0.625 kB / 1.068 GB, free: 145.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001126/0.8215, allocations: 19.25 kB / 1.068 GB, free: 145.7 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.004627/0.8261, allocations: 1.634 MB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.8262, allocations: 8.719 kB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.827, allocations: 158.5 kB / 1.07 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.8286, allocations: 0.649 MB / 1.07 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.8287, allocations: 24.5 kB / 1.07 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.8289, allocations: 39.94 kB / 1.07 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.8295, allocations: 387.6 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8296, allocations: 3.797 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.8296, allocations: 0.75 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8296, allocations: 1.656 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.8302, allocations: 436.3 kB / 1.071 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.8315, allocations: 0.9918 MB / 1.072 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.8321, allocations: 0.5592 MB / 1.073 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007315/0.8328, allocations: 1.037 MB / 1.074 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004124/0.8333, allocations: 409.8 kB / 1.074 GB, free: 142.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.8333, allocations: 0 / 1.074 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001583/0.8349, allocations: 1.356 MB / 1.075 GB, free: 142.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.8349, allocations: 80.83 kB / 1.075 GB, free: 142.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.8372, allocations: 1.628 MB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.8374, allocations: 44.36 kB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.8379, allocations: 492.4 kB / 1.078 GB, free: 141.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.838, allocations: 22.06 kB / 1.078 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.838, allocations: 17.19 kB / 1.078 GB, free: 141.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8382, allocations: 411.4 kB / 1.078 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.8404, allocations: 1.483 MB / 1.079 GB, free: 141.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.843, allocations: 1.614 MB / 1.081 GB, free: 141.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.8447, allocations: 1.873 MB / 1.083 GB, free: 141.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.8447, allocations: 0 / 1.083 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004345/0.849, allocations: 4.046 MB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.8491, allocations: 7.875 kB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-05/0.8491, allocations: 18.19 kB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.8492, allocations: 7.406 kB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.8498, allocations: 144.6 kB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.8498, allocations: 7.219 kB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.8508, allocations: 242.9 kB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.851, allocations: 93.2 kB / 1.087 GB, free: 140.2 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.0004818/0.8514, allocations: 394.9 kB / 1.088 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.8516, allocations: 121.1 kB / 1.088 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008956/0.8525, allocations: 1.005 MB / 1.089 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.8526, allocations: 0 / 1.089 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.8526, allocations: 3.688 kB / 1.089 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8526, allocations: 0 / 1.089 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/0.8533, allocations: 0.695 MB / 1.089 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.8533, allocations: 0 / 1.089 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.8534, allocations: 11.12 kB / 1.089 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.8534, allocations: 0 / 1.089 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.8535, allocations: 7.188 kB / 1.089 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8535, allocations: 3.656 kB / 1.089 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8535, allocations: 0 / 1.089 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/0.8542, allocations: 1.069 MB / 1.09 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.8544, allocations: 208 kB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.8546, allocations: 3.969 kB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.8549, allocations: 6.078 kB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.855, allocations: 7.047 kB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.855, allocations: 15.67 kB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001045/0.8561, allocations: 1.112 MB / 1.092 GB, free: 138.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8561, allocations: 3.938 kB / 1.092 GB, free: 138.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001687/0.8578, allocations: 0.5195 MB / 1.092 GB, free: 138.4 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.002189/0.86, allocations: 0.5612 MB / 1.093 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.8619, allocations: 2.513 MB / 1.095 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8619, allocations: 0 / 1.095 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.8622, allocations: 342.1 kB / 1.096 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.8625, allocations: 58.5 kB / 1.096 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.8652, allocations: 2.712 MB / 1.098 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.8658, allocations: 1.184 MB / 1.099 GB, free: 131.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003852/0.8662, allocations: 128.1 kB / 1.1 GB, free: 131.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.8663, allocations: 73.69 kB / 1.1 GB, free: 131.8 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/0.8663, allocations: 0 / 1.1 GB, free: 131.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02169/0.888, allocations: 11.47 MB / 1.111 GB, free: 120.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches