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.00769/0.00769, allocations: 101.1 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.00166/0.00166, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.18 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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.81 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2603, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002368/0.2627, allocations: 1.414 MB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004525/0.2672, allocations: 3.029 MB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.2673, allocations: 3.938 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2674, allocations: 3.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.2677, allocations: 39.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.2701, allocations: 0.9965 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.2703, allocations: 87.67 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.2704, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.2704, allocations: 43.89 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.2707, allocations: 157.6 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.2707, allocations: 12 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.2726, allocations: 1.388 MB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.2733, allocations: 0.6835 MB / 1.096 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.2737, allocations: 437 kB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.2756, allocations: 1.792 MB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2756, allocations: 0 / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2756, allocations: 0 / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.2756, allocations: 4 kB / 1.098 GB, free: 7.344 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.01082/0.2865, allocations: 1.69 MB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.2865, allocations: 12.03 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.287, allocations: 146.9 kB / 1.1 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.2878, allocations: 0.525 MB / 1.1 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2878, allocations: 4.375 kB / 1.1 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.2879, allocations: 4.375 kB / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.2883, allocations: 395.4 kB / 1.101 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2884, allocations: 0 / 1.101 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.2884, allocations: 4 kB / 1.101 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2884, allocations: 4 kB / 1.101 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.289, allocations: 435.7 kB / 1.101 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.2898, allocations: 0.7995 MB / 1.102 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.2904, allocations: 0.5633 MB / 1.102 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.2907, allocations: 345.7 kB / 1.103 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.2921, allocations: 1.021 MB / 1.104 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.2926, allocations: 412.8 kB / 1.104 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.2926, allocations: 0 / 1.104 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001393/0.294, allocations: 1.343 MB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.294, allocations: 81.11 kB / 1.105 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.2959, allocations: 1.839 MB / 1.107 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.296, allocations: 37.7 kB / 1.107 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.2963, allocations: 469.3 kB / 1.108 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.2963, allocations: 27.64 kB / 1.108 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.2967, allocations: 347.5 kB / 1.108 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.2968, allocations: 305.1 kB / 1.108 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.2981, allocations: 1.514 MB / 1.11 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.2995, allocations: 1.646 MB / 1.111 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007118/0.3066, allocations: 3.69 MB / 1.115 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3066, allocations: 3.938 kB / 1.115 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004435/0.3111, allocations: 4.319 MB / 1.119 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3111, allocations: 8.031 kB / 1.119 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.3111, allocations: 7.984 kB / 1.119 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3112, allocations: 3.984 kB / 1.119 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3113, allocations: 15.94 kB / 1.119 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3113, allocations: 0 / 1.119 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006332/0.312, allocations: 236.3 kB / 1.119 GB, free: 468 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.312, allocations: 23.92 kB / 1.12 GB, free: 444 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.0004801/0.3125, allocations: 365.6 kB / 1.12 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3126, allocations: 126 kB / 1.12 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.313, allocations: 145 kB / 1.12 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.313, allocations: 4 kB / 1.12 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.313, allocations: 0 / 1.12 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.313, allocations: 0 / 1.12 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.3136, allocations: 0.6833 MB / 1.121 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3136, allocations: 0 / 1.121 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.3137, allocations: 15.97 kB / 1.121 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3137, allocations: 4 kB / 1.121 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3137, allocations: 7.984 kB / 1.121 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.3137, allocations: 4 kB / 1.121 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3137, allocations: 0 / 1.121 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.3147, allocations: 1.051 MB / 1.122 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.3148, allocations: 199.1 kB / 1.122 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.3149, allocations: 3.984 kB / 1.122 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3151, allocations: 8 kB / 1.122 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.3152, allocations: 7.984 kB / 1.122 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.3152, allocations: 11.98 kB / 1.122 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001198/0.3164, allocations: 1.101 MB / 1.123 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3164, allocations: 0 / 1.123 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001167/0.3176, allocations: 443.8 kB / 1.124 GB, free: 12.12 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.001089/0.3187, allocations: 478.8 kB / 1.124 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.321, allocations: 2.64 MB / 1.127 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.321, allocations: 0 / 1.127 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.3214, allocations: 344.1 kB / 1.127 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3218, allocations: 52.05 kB / 1.127 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.3245, allocations: 2.57 MB / 1.129 GB, free: 6 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.3252, allocations: 1.153 MB / 1.131 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.3253, allocations: 40.48 kB / 1.131 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3254, allocations: 31.41 kB / 1.131 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of SimCode: time 2.91e-07/0.3254, allocations: 0 / 1.131 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of Templates: time 0.0174/0.3428, allocations: 10.11 MB / 1.141 GB, free: 10.68 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