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.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.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.00169/0.00169, allocations: 104.5 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.001815/0.001816, allocations: 196.9 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: 13.7 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.356/2.356, allocations: 390.3 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 66.55 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3258, allocations: 140.4 MB / 0.9498 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003151/0.329, allocations: 1.514 MB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004512/0.3336, allocations: 2.876 MB / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.3337, allocations: 0 / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.3337, allocations: 3.938 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.012e-05/0.3338, allocations: 23.84 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.3382, allocations: 1.459 MB / 0.9556 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.3383, allocations: 43.72 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.3384, allocations: 11.88 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.3384, allocations: 23.92 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.3385, allocations: 15.88 kB / 0.9557 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.3385, allocations: 0 / 0.9557 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.341, allocations: 1.463 MB / 0.9571 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.341, allocations: 0 / 0.9571 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.462e-05/0.341, allocations: 19.88 kB / 0.9571 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.3424, allocations: 0.7525 MB / 0.9578 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3424, allocations: 3.984 kB / 0.9578 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3424, allocations: 0 / 0.9578 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3424, allocations: 0 / 0.9578 GB, free: 0.9531 MB / 0.7325 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.0008416/0.3432, allocations: 0.5185 MB / 0.9583 GB, free: 396 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.3433, allocations: 8.031 kB / 0.9584 GB, free: 388 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.3434, allocations: 84.12 kB / 0.9584 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3436, allocations: 249.9 kB / 0.9587 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.3437, allocations: 154.9 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.3437, allocations: 158.9 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.21e-05/0.3438, allocations: 109.1 kB / 0.9591 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.3439, allocations: 79.28 kB / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.3439, allocations: 154.5 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.344, allocations: 150.6 kB / 0.9594 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.3441, allocations: 150.6 kB / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.3444, allocations: 473.9 kB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 9.532e-05/0.3445, allocations: 165.1 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.3446, allocations: 80.14 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.3446, allocations: 79.22 kB / 0.9603 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/0.3447, allocations: 121.8 kB / 0.9605 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3447, allocations: 0 / 0.9605 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.797e-05/0.3448, allocations: 29.61 kB / 0.9605 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.3449, allocations: 130.7 kB / 0.9606 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.345, allocations: 133.8 kB / 0.9607 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.345, allocations: 25.7 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.3451, allocations: 88.14 kB / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3451, allocations: 3.938 kB / 0.9609 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.3451, allocations: 21.72 kB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3453, allocations: 318.9 kB / 0.9612 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.3453, allocations: 8 kB / 0.9612 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.3453, allocations: 11.94 kB / 0.9612 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.3454, allocations: 16.86 kB / 0.9612 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3454, allocations: 0 / 0.9612 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001498/0.3456, allocations: 53.53 kB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3456, allocations: 8 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.3456, allocations: 0 / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3456, allocations: 8.062 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.3456, allocations: 0 / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3456, allocations: 0 / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.3457, allocations: 3.906 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3457, allocations: 0 / 0.9613 GB, free: 13.19 MB / 0.7481 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.0001167/0.3458, allocations: 185.1 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.3459, allocations: 116.8 kB / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/0.346, allocations: 112.9 kB / 0.9617 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.489e-05/0.346, allocations: 180.2 kB / 0.9619 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-05/0.3461, allocations: 180.3 kB / 0.962 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.312e-05/0.3462, allocations: 180.2 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.3465, allocations: 413.2 kB / 0.9626 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.3465, allocations: 108.9 kB / 0.9627 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.3466, allocations: 108.9 kB / 0.9628 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.168e-05/0.3466, allocations: 180.2 kB / 0.963 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/0.3467, allocations: 180.2 kB / 0.9631 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-05/0.3468, allocations: 188.2 kB / 0.9633 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.856e-05/0.3469, allocations: 176.3 kB / 0.9635 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.3471, allocations: 311.7 kB / 0.9638 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3472, allocations: 201.9 kB / 0.964 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.3473, allocations: 184.3 kB / 0.9642 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.3474, allocations: 101 kB / 0.9643 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.3474, allocations: 184.2 kB / 0.9644 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.3475, allocations: 109 kB / 0.9645 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.3476, allocations: 102.5 kB / 0.9646 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.456e-06/0.3476, allocations: 0 / 0.9646 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008712/0.3485, allocations: 283.7 kB / 0.9649 GB, free: 9.262 MB / 0.7481 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.001368/0.3498, allocations: 0.5293 MB / 0.9654 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.35, allocations: 41.64 kB / 0.9655 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.35, allocations: 0 / 0.9655 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.35, allocations: 0 / 0.9655 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.3504, allocations: 467.6 kB / 0.9659 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.3508, allocations: 277.9 kB / 0.9662 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3512, allocations: 0.6883 MB / 0.9668 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.3512, allocations: 15.38 kB / 0.9669 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.3512, allocations: 4 kB / 0.9669 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of Templates: time 0.009667/0.3609, allocations: 4.752 MB / 0.9715 GB, free: 2.43 MB / 0.7481 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