Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.2 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8221, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001278/0.8234, allocations: 1.107 MB / 0.9546 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003465/0.8269, allocations: 2.778 MB / 0.9574 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.827, allocations: 1.375 kB / 0.9574 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.8271, allocations: 11.92 kB / 0.9574 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.8273, allocations: 21.98 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.8291, allocations: 0.7262 MB / 0.9581 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.8292, allocations: 49.53 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.8293, allocations: 5.828 kB / 0.9581 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.8293, allocations: 36 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.8295, allocations: 142.3 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.8295, allocations: 12.38 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.8313, allocations: 1.267 MB / 0.9596 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005916/0.8319, allocations: 0.6007 MB / 0.9602 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.8321, allocations: 176.5 kB / 0.9603 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.8336, allocations: 1.182 MB / 0.9615 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8336, allocations: 1.625 kB / 0.9615 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8336, allocations: 0 / 0.9615 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.8336, allocations: 0 / 0.9615 GB, free: 2.816 MB / 0.7169 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.01054/0.8442, allocations: 1.602 MB / 0.963 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.8442, allocations: 9.375 kB / 0.9631 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.8446, allocations: 151.6 kB / 0.9632 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.8452, allocations: 0.4949 MB / 0.9637 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.8452, allocations: 3.562 kB / 0.9637 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.8453, allocations: 8.094 kB / 0.9637 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.8457, allocations: 390.8 kB / 0.9641 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.8458, allocations: 4 kB / 0.9641 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8458, allocations: 0.8125 kB / 0.9641 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8458, allocations: 1 kB / 0.9641 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.8463, allocations: 437.6 kB / 0.9645 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.8471, allocations: 0.8031 MB / 0.9653 GB, free: 224 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.8477, allocations: 0.5684 MB / 0.9658 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.8487, allocations: 1.041 MB / 0.9668 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.8492, allocations: 410.4 kB / 0.9672 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.8492, allocations: 1.156 kB / 0.9672 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.00162/0.8508, allocations: 1.337 MB / 0.9685 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.8509, allocations: 87.94 kB / 0.9686 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.8532, allocations: 1.838 MB / 0.9704 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.8533, allocations: 31.98 kB / 0.9704 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.8537, allocations: 479.4 kB / 0.9709 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.8537, allocations: 15.69 kB / 0.9709 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.8538, allocations: 4 kB / 0.9709 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.854, allocations: 413.2 kB / 0.9713 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.8555, allocations: 1.51 MB / 0.9728 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.8569, allocations: 1.646 MB / 0.9744 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.8587, allocations: 2.047 MB / 0.9764 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8587, allocations: 0 / 0.9764 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004951/0.8636, allocations: 4.292 MB / 0.9806 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8637, allocations: 8.031 kB / 0.9806 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.8637, allocations: 8.078 kB / 0.9806 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8637, allocations: 0 / 0.9806 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.8638, allocations: 19.92 kB / 0.9806 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.8639, allocations: 3.984 kB / 0.9806 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/0.8648, allocations: 232.2 kB / 0.9809 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.8649, allocations: 27.98 kB / 0.9809 GB, free: 3.531 MB / 0.7325 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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0006461/0.8656, allocations: 373.5 kB / 0.9812 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.8657, allocations: 118 kB / 0.9813 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.8661, allocations: 153 kB / 0.9815 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8661, allocations: 0 / 0.9815 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8661, allocations: 0 / 0.9815 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8661, allocations: 0 / 0.9815 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.8669, allocations: 0.6794 MB / 0.9822 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.8669, allocations: 0 / 0.9822 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.867, allocations: 16.02 kB / 0.9822 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.867, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.867, allocations: 4 kB / 0.9822 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.867, allocations: 3.938 kB / 0.9822 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.867, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.8681, allocations: 1.085 MB / 0.9832 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.8683, allocations: 191.1 kB / 0.9834 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.8684, allocations: 0 / 0.9834 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.8686, allocations: 7.984 kB / 0.9834 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.8686, allocations: 4 kB / 0.9834 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.8687, allocations: 15.97 kB / 0.9834 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001284/0.87, allocations: 1.097 MB / 0.9845 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.87, allocations: 4 kB / 0.9845 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001694/0.8717, allocations: 435.8 kB / 0.9849 GB, free: 15.21 MB / 0.7481 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.001362/0.873, allocations: 477.8 kB / 0.9854 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.8756, allocations: 2.648 MB / 0.988 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8756, allocations: 3.938 kB / 0.988 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.8759, allocations: 339.8 kB / 0.9883 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.8763, allocations: 46.53 kB / 0.9884 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.8798, allocations: 2.702 MB / 0.991 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.8806, allocations: 1.181 MB / 0.9921 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.8808, allocations: 36.55 kB / 0.9922 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.19e-05/0.8809, allocations: 23.42 kB / 0.9922 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.8809, allocations: 0 / 0.9922 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of Templates: time 0.01796/0.8989, allocations: 9.548 MB / 1.002 GB, free: 14.18 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches