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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006004/0.006004, allocations: 95.23 kB / 15.73 MB, free: 6.047 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.001207/0.001207, allocations: 205.8 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 72.08 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2611, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002291/0.2634, allocations: 1.414 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.2677, allocations: 3.033 MB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.2678, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.2679, allocations: 11.86 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.2682, allocations: 35.84 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.2705, allocations: 0.9877 MB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.2706, allocations: 87.67 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.2706, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.2707, allocations: 43.91 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.2709, allocations: 157.6 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.271, allocations: 15.94 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.2728, allocations: 1.388 MB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006335/0.2734, allocations: 0.6874 MB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.2738, allocations: 441 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.2756, allocations: 1.801 MB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2756, allocations: 0 / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2756, allocations: 0 / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.2756, allocations: 0 / 1.098 GB, free: 7.316 MB / 0.8575 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.01048/0.2861, allocations: 1.746 MB / 1.1 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2862, allocations: 12.03 kB / 1.1 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.2866, allocations: 147.8 kB / 1.1 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.2871, allocations: 0.5374 MB / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2872, allocations: 8.312 kB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.2872, allocations: 8.359 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.2876, allocations: 395.5 kB / 1.101 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2877, allocations: 0 / 1.101 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2877, allocations: 0 / 1.101 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2877, allocations: 0 / 1.101 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.2881, allocations: 435.7 kB / 1.101 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.2889, allocations: 0.8117 MB / 1.102 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.2893, allocations: 0.5634 MB / 1.102 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.2897, allocations: 333.6 kB / 1.103 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.2907, allocations: 1.021 MB / 1.104 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.2911, allocations: 416.8 kB / 1.104 GB, free: 460 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.975e-06/0.2911, allocations: 3.984 kB / 1.104 GB, free: 456 kB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001295/0.2924, allocations: 1.352 MB / 1.105 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2925, allocations: 85.09 kB / 1.106 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.2942, allocations: 1.847 MB / 1.107 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.2942, allocations: 29.7 kB / 1.107 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.2946, allocations: 477.8 kB / 1.108 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.2946, allocations: 23.84 kB / 1.108 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.2949, allocations: 351.5 kB / 1.108 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.295, allocations: 309.1 kB / 1.108 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.2963, allocations: 1.514 MB / 1.11 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.2976, allocations: 1.642 MB / 1.112 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007121/0.3048, allocations: 3.69 MB / 1.115 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3048, allocations: 4 kB / 1.115 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004702/0.3095, allocations: 4.336 MB / 1.119 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3095, allocations: 8 kB / 1.119 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.3096, allocations: 0 / 1.119 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3096, allocations: 0 / 1.119 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3098, allocations: 15.98 kB / 1.119 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3098, allocations: 4 kB / 1.119 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.3105, allocations: 241.4 kB / 1.12 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.3105, allocations: 27.92 kB / 1.12 GB, free: 296 kB / 0.8731 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005011/0.311, allocations: 365.5 kB / 1.12 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.3111, allocations: 130.9 kB / 1.12 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.3115, allocations: 145.1 kB / 1.12 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3115, allocations: 0 / 1.12 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3115, allocations: 4.031 kB / 1.12 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.3115, allocations: 7.984 kB / 1.12 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.3122, allocations: 0.6756 MB / 1.121 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3122, allocations: 4 kB / 1.121 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.3123, allocations: 7.938 kB / 1.121 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3123, allocations: 0 / 1.121 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3123, allocations: 11.92 kB / 1.121 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3123, allocations: 0 / 1.121 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3123, allocations: 0 / 1.121 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009138/0.3132, allocations: 1.06 MB / 1.122 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.3134, allocations: 207.9 kB / 1.122 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/0.3135, allocations: 4 kB / 1.122 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3137, allocations: 4 kB / 1.122 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.3138, allocations: 7.984 kB / 1.122 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.3138, allocations: 15.98 kB / 1.122 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001134/0.315, allocations: 1.104 MB / 1.123 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.315, allocations: 7.938 kB / 1.123 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001095/0.3161, allocations: 439 kB / 1.124 GB, free: 11.96 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.3172, allocations: 486 kB / 1.124 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.3195, allocations: 2.644 MB / 1.127 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3195, allocations: 0 / 1.127 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.3198, allocations: 347.9 kB / 1.127 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.3202, allocations: 58.41 kB / 1.127 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.3233, allocations: 2.6 MB / 1.13 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.324, allocations: 1.149 MB / 1.131 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.3242, allocations: 44.53 kB / 1.131 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.3243, allocations: 23.42 kB / 1.131 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/0.3243, allocations: 0 / 1.131 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of Templates: time 0.01946/0.3437, allocations: 10.11 MB / 1.141 GB, free: 10.47 MB / 0.9044 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