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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 111.8 kB / 16.41 MB, free: 6.488 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.001317/0.001318, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.216/2.216, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 59.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8739/0.876, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002392/0.8784, allocations: 1.417 MB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004479/0.8829, allocations: 3.022 MB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.883, allocations: 0 / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.8832, allocations: 15.61 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.8835, allocations: 29.11 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.8867, allocations: 0.9921 MB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.8869, allocations: 82.22 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.887, allocations: 11.91 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.8871, allocations: 42.98 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.8874, allocations: 141.4 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.8874, allocations: 12.62 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.8902, allocations: 1.389 MB / 1.096 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.8905, allocations: 269.2 kB / 1.096 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.8907, allocations: 275.4 kB / 1.096 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.8933, allocations: 1.474 MB / 1.098 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8933, allocations: 0.7031 kB / 1.098 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.135e-06/0.8933, allocations: 0.7812 kB / 1.098 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.8933, allocations: 3.938 kB / 1.098 GB, free: 0.8555 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.01043/0.9037, allocations: 1.211 MB / 1.099 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.9038, allocations: 12.78 kB / 1.099 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.9042, allocations: 89.5 kB / 1.099 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.9047, allocations: 357.3 kB / 1.099 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.9047, allocations: 7.766 kB / 1.099 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.9047, allocations: 6.266 kB / 1.099 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.9053, allocations: 389.3 kB / 1.1 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.9053, allocations: 3.938 kB / 1.1 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.9053, allocations: 5.094 kB / 1.1 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.9053, allocations: 1.594 kB / 1.1 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.9059, allocations: 432.2 kB / 1.1 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.9067, allocations: 0.6319 MB / 1.101 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.9074, allocations: 0.5672 MB / 1.101 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.9078, allocations: 334.2 kB / 1.102 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.9088, allocations: 1.025 MB / 1.103 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.9093, allocations: 409.4 kB / 1.103 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.9093, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001614/0.9109, allocations: 1.281 MB / 1.104 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.911, allocations: 93.34 kB / 1.104 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.9125, allocations: 1.203 MB / 1.105 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.9125, allocations: 31.94 kB / 1.105 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.9127, allocations: 261.6 kB / 1.106 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.9128, allocations: 17.91 kB / 1.106 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.9132, allocations: 348 kB / 1.106 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.9133, allocations: 310 kB / 1.106 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.9148, allocations: 1.365 MB / 1.108 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.9163, allocations: 1.496 MB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007467/0.9237, allocations: 3.536 MB / 1.113 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9238, allocations: 5.188 kB / 1.113 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004449/0.9282, allocations: 3.967 MB / 1.116 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.9283, allocations: 5.406 kB / 1.116 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.9283, allocations: 2.625 kB / 1.117 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.9283, allocations: 0 / 1.117 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.9285, allocations: 23.59 kB / 1.117 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.9285, allocations: 1.578 kB / 1.117 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.9291, allocations: 227.4 kB / 1.117 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.9292, allocations: 22.77 kB / 1.117 GB, free: 7.559 MB / 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.0003931/0.9296, allocations: 239.3 kB / 1.117 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.9297, allocations: 69.03 kB / 1.117 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.93, allocations: 75.19 kB / 1.117 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.93, allocations: 2.969 kB / 1.117 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.93, allocations: 0 / 1.117 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.93, allocations: 4.734 kB / 1.117 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.9306, allocations: 0.4901 MB / 1.118 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9306, allocations: 0 / 1.118 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.9307, allocations: 11.78 kB / 1.118 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.9307, allocations: 5.906 kB / 1.118 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.9307, allocations: 2.781 kB / 1.118 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9307, allocations: 1.828 kB / 1.118 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.9307, allocations: 1.125 kB / 1.118 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000998/0.9317, allocations: 1.002 MB / 1.119 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.9318, allocations: 153.3 kB / 1.119 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.9319, allocations: 3.375 kB / 1.119 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.932, allocations: 3.703 kB / 1.119 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.9321, allocations: 10.33 kB / 1.119 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.9321, allocations: 13 kB / 1.119 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008476/0.933, allocations: 0.6674 MB / 1.119 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.933, allocations: 0 / 1.119 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001756/0.9348, allocations: 400.5 kB / 1.12 GB, free: 6.43 MB / 0.8731 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.001333/0.9361, allocations: 486.6 kB / 1.12 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.9388, allocations: 2.494 MB / 1.123 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9389, allocations: 0 / 1.123 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.9393, allocations: 342.4 kB / 1.123 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.9397, allocations: 42.88 kB / 1.123 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.9421, allocations: 1.776 MB / 1.125 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.9427, allocations: 0.9669 MB / 1.126 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.9428, allocations: 24.91 kB / 1.126 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.9428, allocations: 0 / 1.126 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of Templates: time 0.02185/0.9647, allocations: 10.56 MB / 1.136 GB, free: 2.383 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches