Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006337/0.006337, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001272/0.001272, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.46/2.46, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.62 kB / 0.9509 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3101, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002458/0.3126, allocations: 1.437 MB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.3169, allocations: 2.881 MB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.3169, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.317, allocations: 3.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.317, allocations: 23.84 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.3207, allocations: 1.582 MB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9e-05/0.3208, allocations: 47.72 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.3209, allocations: 3.984 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.727e-05/0.3209, allocations: 11.94 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.045e-05/0.321, allocations: 19.86 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.321, allocations: 4 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.3231, allocations: 1.54 MB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3231, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3232, allocations: 23.81 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.3245, allocations: 1.103 MB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3245, allocations: 0 / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3245, allocations: 0 / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3246, allocations: 0 / 1.096 GB, free: 8.859 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000613/0.3252, allocations: 0.5324 MB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3252, allocations: 8.031 kB / 1.097 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.3253, allocations: 84.22 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3254, allocations: 255.6 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/0.3255, allocations: 150.9 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.3256, allocations: 150.9 kB / 1.098 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/0.3257, allocations: 105.1 kB / 1.098 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.3257, allocations: 79.22 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.3258, allocations: 154.6 kB / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.3258, allocations: 154.6 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.3259, allocations: 150.6 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.3262, allocations: 465.9 kB / 1.099 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.975e-05/0.3263, allocations: 177.1 kB / 1.099 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.3263, allocations: 88.02 kB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3264, allocations: 75.28 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.3264, allocations: 109.8 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3264, allocations: 0 / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.894e-05/0.3265, allocations: 33.66 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3266, allocations: 130.7 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3267, allocations: 136 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3267, allocations: 25.7 kB / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.3268, allocations: 88.12 kB / 1.1 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.3268, allocations: 0 / 1.1 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3268, allocations: 21.72 kB / 1.1 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.327, allocations: 318.8 kB / 1.1 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.327, allocations: 7.938 kB / 1.1 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.327, allocations: 8 kB / 1.1 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.3271, allocations: 16.91 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3271, allocations: 0 / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001222/0.3272, allocations: 65.58 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3272, allocations: 4 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.3273, allocations: 4 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3273, allocations: 0 / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.3273, allocations: 0 / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3273, allocations: 4 kB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.3273, allocations: 4.062 kB / 1.1 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3273, allocations: 0 / 1.1 GB, free: 5.082 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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.00011/0.3274, allocations: 193.1 kB / 1.1 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.3275, allocations: 108.9 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.3276, allocations: 112.8 kB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.911e-05/0.3277, allocations: 180.2 kB / 1.101 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.229e-05/0.3277, allocations: 180.3 kB / 1.101 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.113e-05/0.3278, allocations: 188.2 kB / 1.101 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.328, allocations: 409.2 kB / 1.101 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/0.3281, allocations: 104.9 kB / 1.101 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.3281, allocations: 108.9 kB / 1.101 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.3282, allocations: 180.3 kB / 1.102 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.3283, allocations: 184.2 kB / 1.102 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.504e-05/0.3283, allocations: 176.3 kB / 1.102 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.438e-05/0.3284, allocations: 184.2 kB / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3286, allocations: 307.7 kB / 1.102 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.3286, allocations: 193.9 kB / 1.103 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.068e-05/0.3287, allocations: 188.2 kB / 1.103 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.3288, allocations: 101 kB / 1.103 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.3289, allocations: 180.2 kB / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.3289, allocations: 108.9 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.329, allocations: 105.1 kB / 1.103 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.329, allocations: 4 kB / 1.103 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007164/0.3297, allocations: 287 kB / 1.104 GB, free: 1.152 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.001046/0.3308, allocations: 0.5262 MB / 1.104 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.3309, allocations: 45.62 kB / 1.104 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3309, allocations: 8.062 kB / 1.104 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3309, allocations: 0 / 1.104 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3313, allocations: 476.2 kB / 1.105 GB, free: 92 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.3317, allocations: 251.9 kB / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.332, allocations: 0.6807 MB / 1.105 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.289e-05/0.332, allocations: 0 / 1.105 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.332, allocations: 7.438 kB / 1.105 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.332, allocations: 0 / 1.105 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.009477/0.3415, allocations: 5.615 MB / 1.111 GB, free: 9.539 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches