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.006627/0.006627, allocations: 106 kB / 15.74 MB, free: 6.02 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.00145/0.00145, allocations: 192.4 kB / 16.68 MB, free: 5.938 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.24/2.24, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 59.89 kB / 0.9509 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.7839, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002198/0.7861, allocations: 1.412 MB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004171/0.7903, allocations: 3.023 MB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.7904, allocations: 4.625 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.7905, allocations: 8.5 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.7908, allocations: 36.55 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.7936, allocations: 0.9951 MB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.7937, allocations: 79.02 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.7938, allocations: 7.781 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.7939, allocations: 44.34 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.7941, allocations: 139.2 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.7942, allocations: 16.88 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.7966, allocations: 1.389 MB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.7969, allocations: 261.8 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.7972, allocations: 274.6 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.7994, allocations: 1.494 MB / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7994, allocations: 0 / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7994, allocations: 0 / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.7994, allocations: 1.125 kB / 1.097 GB, free: 0.8398 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.01018/0.8096, allocations: 1.251 MB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8096, allocations: 8.594 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.81, allocations: 90.47 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.8105, allocations: 358.1 kB / 1.099 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.8105, allocations: 6.062 kB / 1.099 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.8106, allocations: 5.688 kB / 1.099 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.8111, allocations: 398.1 kB / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.8111, allocations: 0 / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.8111, allocations: 1.828 kB / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8111, allocations: 1 kB / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.8117, allocations: 432.6 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.8125, allocations: 0.6441 MB / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.8132, allocations: 0.5625 MB / 1.101 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.8135, allocations: 335.6 kB / 1.101 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.8146, allocations: 1.028 MB / 1.102 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004468/0.815, allocations: 405 kB / 1.102 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.815, allocations: 0 / 1.102 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001512/0.8165, allocations: 1.294 MB / 1.104 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.8166, allocations: 79.77 kB / 1.104 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.8181, allocations: 1.207 MB / 1.105 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.8181, allocations: 39.84 kB / 1.105 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.8183, allocations: 267.6 kB / 1.105 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.8184, allocations: 21.95 kB / 1.105 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/0.8188, allocations: 351.9 kB / 1.105 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8189, allocations: 308.9 kB / 1.106 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.8205, allocations: 1.362 MB / 1.107 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.822, allocations: 1.49 MB / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007417/0.8295, allocations: 3.548 MB / 1.112 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8295, allocations: 0 / 1.112 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004857/0.8343, allocations: 3.963 MB / 1.116 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8344, allocations: 6.594 kB / 1.116 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.8344, allocations: 1.125 kB / 1.116 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8344, allocations: 1.219 kB / 1.116 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.8346, allocations: 19.73 kB / 1.116 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8346, allocations: 5.969 kB / 1.116 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.8352, allocations: 240.4 kB / 1.116 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.8353, allocations: 22.48 kB / 1.116 GB, free: 7.465 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.0003545/0.8356, allocations: 235.5 kB / 1.116 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.8357, allocations: 76.95 kB / 1.116 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.836, allocations: 79.2 kB / 1.117 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.836, allocations: 2.281 kB / 1.117 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.836, allocations: 4.562 kB / 1.117 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.836, allocations: 1.594 kB / 1.117 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.8366, allocations: 497.1 kB / 1.117 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8367, allocations: 1.281 kB / 1.117 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.8367, allocations: 11.3 kB / 1.117 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8367, allocations: 1.438 kB / 1.117 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.8368, allocations: 3.188 kB / 1.117 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8368, allocations: 1.672 kB / 1.117 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8368, allocations: 5 kB / 1.117 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.8379, allocations: 1.001 MB / 1.118 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.838, allocations: 159 kB / 1.118 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.8381, allocations: 2.844 kB / 1.118 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.8382, allocations: 12.19 kB / 1.118 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.8383, allocations: 6.906 kB / 1.118 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.8383, allocations: 19.78 kB / 1.118 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007877/0.8391, allocations: 0.6628 MB / 1.119 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8391, allocations: 0 / 1.119 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001701/0.8408, allocations: 405.5 kB / 1.119 GB, free: 6.316 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.001214/0.8421, allocations: 486.9 kB / 1.12 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002478/0.8445, allocations: 2.491 MB / 1.122 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.8446, allocations: 1.688 kB / 1.122 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.8449, allocations: 353 kB / 1.122 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.8453, allocations: 39.33 kB / 1.123 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.8474, allocations: 1.758 MB / 1.124 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.848, allocations: 0.9658 MB / 1.125 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.8481, allocations: 33.58 kB / 1.125 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.8482, allocations: 32.23 kB / 1.125 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.8482, allocations: 1.25 kB / 1.125 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.02037/0.8686, allocations: 9.56 MB / 1.135 GB, free: 3.109 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/jenkins/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