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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00119/0.001191, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.434/2.434, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.7573, allocations: 140.3 MB / 0.949 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002422/0.7598, allocations: 1.502 MB / 0.9504 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.7635, allocations: 2.955 MB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.7635, allocations: 0 / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.7636, allocations: 0 / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.7637, allocations: 17.75 kB / 0.9533 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.7668, allocations: 1.375 MB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.7669, allocations: 41.52 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.7669, allocations: 6.281 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.767, allocations: 19.91 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.979e-05/0.767, allocations: 10.88 kB / 0.9548 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.767, allocations: 0.9062 kB / 0.9548 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.7691, allocations: 1.433 MB / 0.9562 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.7691, allocations: 5.188 kB / 0.9562 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.7691, allocations: 19.39 kB / 0.9562 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.7706, allocations: 1.087 MB / 0.9572 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7706, allocations: 4.766 kB / 0.9572 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7706, allocations: 4 kB / 0.9572 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7706, allocations: 0 / 0.9572 GB, free: 3.441 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.0005469/0.7712, allocations: 0.509 MB / 0.9577 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.7712, allocations: 8.625 kB / 0.9578 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.7713, allocations: 82.06 kB / 0.9578 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.7714, allocations: 247.9 kB / 0.9581 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.7715, allocations: 152 kB / 0.9582 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.7715, allocations: 160.1 kB / 0.9584 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.12e-05/0.7716, allocations: 113 kB / 0.9585 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.7716, allocations: 80.38 kB / 0.9585 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.7716, allocations: 150.6 kB / 0.9587 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.7717, allocations: 150.6 kB / 0.9588 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/0.7717, allocations: 155.6 kB / 0.959 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.7719, allocations: 465.1 kB / 0.9594 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.568e-05/0.772, allocations: 170.5 kB / 0.9596 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.772, allocations: 81.45 kB / 0.9597 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.772, allocations: 75.28 kB / 0.9597 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.7721, allocations: 118.9 kB / 0.9599 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.7721, allocations: 0 / 0.9599 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.832e-05/0.7722, allocations: 31.8 kB / 0.9599 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.7722, allocations: 127.7 kB / 0.96 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.7723, allocations: 135.2 kB / 0.9601 GB, free: 404 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.7723, allocations: 26.8 kB / 0.9602 GB, free: 372 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.7724, allocations: 93.91 kB / 0.9602 GB, free: 276 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.7724, allocations: 4 kB / 0.9603 GB, free: 272 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.7724, allocations: 14.94 kB / 0.9603 GB, free: 256 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7725, allocations: 320 kB / 0.9606 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.7726, allocations: 3.031 kB / 0.9606 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.7726, allocations: 11 kB / 0.9606 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.7726, allocations: 10.27 kB / 0.9606 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7727, allocations: 0 / 0.9606 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001529/0.7728, allocations: 55.19 kB / 0.9606 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.7728, allocations: 5.531 kB / 0.9607 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.7729, allocations: 6.188 kB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.7729, allocations: 5 kB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.7729, allocations: 0 / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7729, allocations: 0 / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.7729, allocations: 1.094 kB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.7729, allocations: 1.125 kB / 0.9607 GB, free: 15.86 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 0.0001083/0.7731, allocations: 183.6 kB / 0.9608 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.7731, allocations: 115.5 kB / 0.961 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.7732, allocations: 126.8 kB / 0.9611 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.041e-05/0.7733, allocations: 177.9 kB / 0.9612 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.64e-05/0.7734, allocations: 176.3 kB / 0.9614 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.051e-05/0.7735, allocations: 181.4 kB / 0.9616 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.7737, allocations: 415.2 kB / 0.962 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-05/0.7738, allocations: 114 kB / 0.9621 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.7738, allocations: 106.2 kB / 0.9622 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.237e-05/0.7739, allocations: 181.3 kB / 0.9624 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.829e-05/0.774, allocations: 181.4 kB / 0.9625 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.944e-05/0.7741, allocations: 181.3 kB / 0.9627 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.228e-05/0.7742, allocations: 181.5 kB / 0.9629 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.7743, allocations: 304.8 kB / 0.9632 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.7744, allocations: 195.5 kB / 0.9634 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.7745, allocations: 181.3 kB / 0.9635 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.7746, allocations: 114 kB / 0.9636 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.7747, allocations: 181.4 kB / 0.9638 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.7748, allocations: 102.1 kB / 0.9639 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.7748, allocations: 102 kB / 0.964 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.573e-06/0.7748, allocations: 0 / 0.964 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009516/0.7758, allocations: 282.5 kB / 0.9643 GB, free: 12.18 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.001181/0.777, allocations: 0.5176 MB / 0.9648 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.7771, allocations: 37.25 kB / 0.9648 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7771, allocations: 1.125 kB / 0.9648 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.7771, allocations: 0 / 0.9648 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.7776, allocations: 0.5342 MB / 0.9653 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.7779, allocations: 244.2 kB / 0.9656 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.7782, allocations: 0.6845 MB / 0.9662 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.425e-05/0.7783, allocations: 1.188 kB / 0.9662 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.7783, allocations: 13.84 kB / 0.9663 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.7783, allocations: 0 / 0.9663 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.0105/0.7888, allocations: 5.466 MB / 0.9716 GB, free: 7.574 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches