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.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.InternalResistancesTwoUTubeNegative,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.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_9_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.000923/0.0009231, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.466/1.466, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 15.98 kB / 0.8167 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.7621, allocations: 142.4 MB / 0.9558 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001446/0.7636, allocations: 1.167 MB / 0.9569 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003843/0.7674, allocations: 2.934 MB / 0.9598 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.7675, allocations: 3.938 kB / 0.9598 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.7675, allocations: 7.938 kB / 0.9598 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.7676, allocations: 9.547 kB / 0.9598 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.7708, allocations: 1.392 MB / 0.9611 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.237e-05/0.7709, allocations: 45.55 kB / 0.9612 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.771, allocations: 2.75 kB / 0.9612 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.771, allocations: 16.19 kB / 0.9612 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.771, allocations: 14.8 kB / 0.9612 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.771, allocations: 5.375 kB / 0.9612 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.7732, allocations: 1.47 MB / 0.9627 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.7733, allocations: 10.27 kB / 0.9627 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.7733, allocations: 40.89 kB / 0.9627 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.7744, allocations: 0.7768 MB / 0.9635 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7744, allocations: 0 / 0.9635 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7744, allocations: 0 / 0.9635 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.7744, allocations: 0 / 0.9635 GB, free: 2.297 MB / 0.7169 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.0004992/0.7749, allocations: 0.5213 MB / 0.964 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.7749, allocations: 9.906 kB / 0.964 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.775, allocations: 82.44 kB / 0.9641 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.298e-05/0.7751, allocations: 247.5 kB / 0.9643 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.7751, allocations: 156.1 kB / 0.9644 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.7752, allocations: 150.9 kB / 0.9646 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.146e-05/0.7752, allocations: 110.5 kB / 0.9647 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.7752, allocations: 75.28 kB / 0.9648 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.7753, allocations: 155.8 kB / 0.9649 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.7753, allocations: 150.6 kB / 0.9651 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.7753, allocations: 154.5 kB / 0.9652 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.7755, allocations: 470.5 kB / 0.9657 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.08e-05/0.7756, allocations: 166.5 kB / 0.9658 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.7756, allocations: 80.14 kB / 0.9659 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.7757, allocations: 75.28 kB / 0.966 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.7757, allocations: 118.7 kB / 0.9661 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.7757, allocations: 5.031 kB / 0.9661 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.017e-05/0.7758, allocations: 31.67 kB / 0.9661 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.7759, allocations: 127.7 kB / 0.9662 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.776, allocations: 137.5 kB / 0.9664 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.776, allocations: 27.02 kB / 0.9664 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.7761, allocations: 90.64 kB / 0.9665 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.7761, allocations: 0 / 0.9665 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.7761, allocations: 12 kB / 0.9665 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.7762, allocations: 324.2 kB / 0.9668 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.7762, allocations: 2.812 kB / 0.9668 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.7763, allocations: 7.625 kB / 0.9668 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.7763, allocations: 23.33 kB / 0.9668 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7763, allocations: 0 / 0.9668 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001248/0.7765, allocations: 58.59 kB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.7765, allocations: 3.375 kB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.7765, allocations: 5.062 kB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7765, allocations: 3.984 kB / 0.9669 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.7765, allocations: 0 / 0.9669 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7765, allocations: 4.062 kB / 0.9669 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.7766, allocations: 3.906 kB / 0.9669 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.7766, allocations: 3.875 kB / 0.9669 GB, free: 14.7 MB / 0.7325 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 8.352e-05/0.7767, allocations: 181.1 kB / 0.9671 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.7767, allocations: 118.5 kB / 0.9672 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.7768, allocations: 112.6 kB / 0.9673 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.387e-05/0.7768, allocations: 184.2 kB / 0.9675 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.486e-05/0.7769, allocations: 176.3 kB / 0.9676 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-05/0.777, allocations: 183.8 kB / 0.9678 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.7772, allocations: 412.2 kB / 0.9682 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-05/0.7772, allocations: 109.1 kB / 0.9683 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.7773, allocations: 113 kB / 0.9684 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.445e-05/0.7773, allocations: 183.8 kB / 0.9686 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.7774, allocations: 180.2 kB / 0.9688 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.853e-05/0.7774, allocations: 180.2 kB / 0.9689 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.062e-05/0.7775, allocations: 176.3 kB / 0.9691 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.7776, allocations: 314.8 kB / 0.9694 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.7777, allocations: 185.9 kB / 0.9696 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.7778, allocations: 184 kB / 0.9698 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.7778, allocations: 101 kB / 0.9699 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.7779, allocations: 184.2 kB / 0.97 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.7779, allocations: 108.7 kB / 0.9701 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.906e-05/0.778, allocations: 99.48 kB / 0.9702 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.778, allocations: 3.938 kB / 0.9702 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008129/0.7788, allocations: 287.3 kB / 0.9705 GB, free: 11.02 MB / 0.7325 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.001114/0.7799, allocations: 0.532 MB / 0.971 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.497e-05/0.78, allocations: 45.72 kB / 0.9711 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7801, allocations: 4.969 kB / 0.9711 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.7801, allocations: 0 / 0.9711 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.7805, allocations: 0.5287 MB / 0.9716 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.7808, allocations: 290.3 kB / 0.9719 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.7811, allocations: 0.689 MB / 0.9725 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.7811, allocations: 9.562 kB / 0.9726 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.7811, allocations: 0 / 0.9726 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of Templates: time 0.01006/0.7912, allocations: 4.738 MB / 0.9772 GB, free: 6.738 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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