Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001183/0.001183, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.677/2.677, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.98 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3309, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002743/0.3337, allocations: 1.497 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004543/0.3382, allocations: 2.899 MB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.3383, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.3384, allocations: 3.984 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.3385, allocations: 11.86 kB / 1.069 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.3425, allocations: 1.468 MB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.392e-05/0.3426, allocations: 39.75 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.3426, allocations: 7.984 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.3426, allocations: 11.94 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.3427, allocations: 19.88 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.3427, allocations: 0 / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.3449, allocations: 1.47 MB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.3449, allocations: 7.922 kB / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.345, allocations: 15.88 kB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.3461, allocations: 0.7566 MB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3461, allocations: 4 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3461, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3461, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8419 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.0007731/0.3469, allocations: 0.5185 MB / 1.073 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3469, allocations: 12.03 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.347, allocations: 84.12 kB / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.3473, allocations: 251.5 kB / 1.073 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3474, allocations: 150.9 kB / 1.073 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.63e-05/0.3475, allocations: 154.9 kB / 1.073 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.3476, allocations: 105.1 kB / 1.073 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/0.3476, allocations: 79.28 kB / 1.074 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.3478, allocations: 154.6 kB / 1.074 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.454e-05/0.3479, allocations: 154.5 kB / 1.074 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.728e-05/0.3479, allocations: 154.5 kB / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.3484, allocations: 465.9 kB / 1.074 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3485, allocations: 169.2 kB / 1.075 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.3486, allocations: 88.14 kB / 1.075 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.3486, allocations: 75.28 kB / 1.075 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.395e-05/0.3487, allocations: 113.8 kB / 1.075 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3487, allocations: 0 / 1.075 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001099/0.3488, allocations: 49.53 kB / 1.075 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.349, allocations: 126.7 kB / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3492, allocations: 136 kB / 1.075 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3492, allocations: 25.7 kB / 1.075 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.3493, allocations: 96.12 kB / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.3493, allocations: 0 / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.3493, allocations: 13.72 kB / 1.075 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3495, allocations: 318.8 kB / 1.076 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.498e-05/0.3495, allocations: 15.98 kB / 1.076 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.3496, allocations: 0 / 1.076 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.3496, allocations: 16.86 kB / 1.076 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3496, allocations: 0 / 1.076 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001521/0.3498, allocations: 53.58 kB / 1.076 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3498, allocations: 4 kB / 1.076 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/0.3498, allocations: 7.984 kB / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3499, allocations: 0 / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.3499, allocations: 0 / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3499, allocations: 0 / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.3499, allocations: 7.969 kB / 1.076 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3499, allocations: 8.062 kB / 1.076 GB, free: 3.051 MB / 0.8419 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.0001444/0.3501, allocations: 181.1 kB / 1.076 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.3502, allocations: 116.8 kB / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/0.3502, allocations: 112.8 kB / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/0.3504, allocations: 180.3 kB / 1.076 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.413e-05/0.3505, allocations: 188.2 kB / 1.076 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.461e-05/0.3506, allocations: 176.3 kB / 1.077 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.3509, allocations: 417.2 kB / 1.077 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.066e-05/0.351, allocations: 108.9 kB / 1.077 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.351, allocations: 104.9 kB / 1.077 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.3511, allocations: 184.2 kB / 1.077 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/0.3512, allocations: 180.3 kB / 1.078 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001086/0.3513, allocations: 180.2 kB / 1.078 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.714e-05/0.3514, allocations: 176.3 kB / 1.078 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.3517, allocations: 319.8 kB / 1.078 GB, free: 316 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3518, allocations: 185.9 kB / 1.078 GB, free: 104 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.5832/0.935, allocations: 180.2 kB / 1.079 GB, free: 22.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.9351, allocations: 102.5 kB / 1.079 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.9352, allocations: 184 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.9352, allocations: 102.7 kB / 1.079 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.157e-05/0.9353, allocations: 98.73 kB / 1.079 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.9353, allocations: 1 kB / 1.079 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009856/0.9363, allocations: 284.9 kB / 1.079 GB, free: 21.84 MB / 0.8419 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.001201/0.9375, allocations: 0.5395 MB / 1.08 GB, free: 21.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.9376, allocations: 44.83 kB / 1.08 GB, free: 21.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9376, allocations: 0 / 1.08 GB, free: 21.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-06/0.9376, allocations: 0.625 kB / 1.08 GB, free: 21.63 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.938, allocations: 466.6 kB / 1.08 GB, free: 21.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.9383, allocations: 262.6 kB / 1.081 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.9384, allocations: 0.683 MB / 1.081 GB, free: 20.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.9384, allocations: 9.812 kB / 1.081 GB, free: 20.26 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.9384, allocations: 3.906 kB / 1.081 GB, free: 20.26 MB / 0.8419 GB Notification: Performance of Templates: time 0.01045/0.9489, allocations: 4.758 MB / 1.086 GB, free: 19.87 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg1,Rgg2,time,x