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.0008304/0.0008306, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008493/0.0008494, allocations: 172.7 kB / 15.95 MB, free: 208 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.445 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.373/2.373, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6308/0.6311, allocations: 142.4 MB / 0.9545 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001275/0.6324, allocations: 1.111 MB / 0.9556 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003665/0.6361, allocations: 2.819 MB / 0.9583 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.6362, allocations: 0 / 0.9583 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.363e-05/0.6363, allocations: 10.14 kB / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.6365, allocations: 35.41 kB / 0.9584 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.6381, allocations: 0.7508 MB / 0.9591 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.6383, allocations: 88.98 kB / 0.9592 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.6383, allocations: 2.75 kB / 0.9592 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.6384, allocations: 47.08 kB / 0.9592 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.6386, allocations: 237.6 kB / 0.9594 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.6387, allocations: 13.03 kB / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.6404, allocations: 1.309 MB / 0.9607 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005931/0.641, allocations: 0.706 MB / 0.9614 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.6411, allocations: 180.9 kB / 0.9616 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.6423, allocations: 1.176 MB / 0.9628 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6423, allocations: 0 / 0.9628 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6423, allocations: 3.781 kB / 0.9628 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.6423, allocations: 0 / 0.9628 GB, free: 2.289 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.007175/0.6495, allocations: 1.612 MB / 0.9643 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6496, allocations: 9 kB / 0.9643 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.6499, allocations: 142.8 kB / 0.9645 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.6504, allocations: 0.4919 MB / 0.965 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.6504, allocations: 7 kB / 0.965 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.6504, allocations: 8.438 kB / 0.965 GB, free: 496 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.6509, allocations: 386.4 kB / 0.9653 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6509, allocations: 1 kB / 0.9653 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6509, allocations: 0 / 0.9653 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.6509, allocations: 4.969 kB / 0.9653 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/0.6515, allocations: 446.2 kB / 0.9658 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.6523, allocations: 0.7986 MB / 0.9665 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.6528, allocations: 0.5573 MB / 0.9671 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.6532, allocations: 337.1 kB / 0.9674 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.6543, allocations: 1.045 MB / 0.9684 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.6547, allocations: 406.8 kB / 0.9688 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.6547, allocations: 0 / 0.9688 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.00174/0.6565, allocations: 1.342 MB / 0.9701 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.6566, allocations: 78.58 kB / 0.9702 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.6588, allocations: 1.846 MB / 0.972 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.6589, allocations: 27.02 kB / 0.972 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.6593, allocations: 484 kB / 0.9725 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.6593, allocations: 23.72 kB / 0.9725 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.6594, allocations: 1.312 kB / 0.9725 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6595, allocations: 404.9 kB / 0.9729 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.661, allocations: 1.52 MB / 0.9744 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.6625, allocations: 1.641 MB / 0.976 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.6644, allocations: 2.051 MB / 0.978 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6644, allocations: 0 / 0.978 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004472/0.6689, allocations: 4.292 MB / 0.9822 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.6689, allocations: 8 kB / 0.9822 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.6689, allocations: 3.984 kB / 0.9822 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.669, allocations: 0 / 0.9822 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.6691, allocations: 19.97 kB / 0.9822 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.6691, allocations: 4 kB / 0.9822 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008227/0.6699, allocations: 236.2 kB / 0.9824 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.67, allocations: 31.94 kB / 0.9825 GB, free: 2.215 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.0005261/0.6705, allocations: 361.6 kB / 0.9828 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6707, allocations: 118 kB / 0.9829 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.671, allocations: 153 kB / 0.9831 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.671, allocations: 0 / 0.9831 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.671, allocations: 0 / 0.9831 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.671, allocations: 7.938 kB / 0.9831 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/0.6717, allocations: 0.6794 MB / 0.9838 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6717, allocations: 7.984 kB / 0.9838 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.6718, allocations: 7.984 kB / 0.9838 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6718, allocations: 0 / 0.9838 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.6718, allocations: 7.984 kB / 0.9838 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6718, allocations: 4.031 kB / 0.9838 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6718, allocations: 0 / 0.9838 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.6728, allocations: 1.055 MB / 0.9848 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.6729, allocations: 191.1 kB / 0.985 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.673, allocations: 7.984 kB / 0.985 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.6732, allocations: 8 kB / 0.985 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.6733, allocations: 7.984 kB / 0.985 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.6733, allocations: 11.98 kB / 0.985 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001217/0.6746, allocations: 1.097 MB / 0.9861 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.1e-07/0.6746, allocations: 4 kB / 0.9861 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001218/0.6758, allocations: 431.8 kB / 0.9865 GB, free: 13.93 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.001158/0.677, allocations: 483.7 kB / 0.987 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.6793, allocations: 2.64 MB / 0.9896 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6794, allocations: 0 / 0.9896 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.6797, allocations: 343.8 kB / 0.9899 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.6801, allocations: 56.14 kB / 0.9899 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.6832, allocations: 2.703 MB / 0.9926 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.6839, allocations: 1.153 MB / 0.9937 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.684, allocations: 36.55 kB / 0.9937 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.6841, allocations: 27.36 kB / 0.9938 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.6842, allocations: 0 / 0.9938 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of Templates: time 0.01676/0.7009, allocations: 9.544 MB / 1.003 GB, free: 12.91 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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