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.0075/0.0075, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001631/0.001631, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.539 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.518/2.518, allocations: 390.2 MB / 0.6649 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.89 kB / 0.8126 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7969, allocations: 140.4 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002508/0.7995, allocations: 1.505 MB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.8035, allocations: 2.997 MB / 0.954 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.8036, allocations: 3.938 kB / 0.954 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.8036, allocations: 1.062 kB / 0.954 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/0.8037, allocations: 21.91 kB / 0.9541 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.8074, allocations: 1.411 MB / 0.9554 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.8075, allocations: 42.39 kB / 0.9555 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.8076, allocations: 3.719 kB / 0.9555 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.8076, allocations: 11.25 kB / 0.9555 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.8076, allocations: 19.08 kB / 0.9555 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.8076, allocations: 1.156 kB / 0.9555 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.8099, allocations: 1.472 MB / 0.9569 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.81, allocations: 3.984 kB / 0.957 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.81, allocations: 20.62 kB / 0.957 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.8112, allocations: 0.7754 MB / 0.9577 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.8112, allocations: 1.375 kB / 0.9577 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8112, allocations: 0 / 0.9577 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8112, allocations: 0 / 0.9577 GB, free: 3.512 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.0005574/0.8118, allocations: 0.5207 MB / 0.9582 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.8118, allocations: 13.34 kB / 0.9583 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.8119, allocations: 87.25 kB / 0.9583 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.812, allocations: 253.7 kB / 0.9586 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.812, allocations: 154.9 kB / 0.9587 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.8121, allocations: 152.2 kB / 0.9589 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.61e-05/0.8121, allocations: 106.1 kB / 0.959 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.8121, allocations: 83.22 kB / 0.9591 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.8122, allocations: 154.5 kB / 0.9592 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.8122, allocations: 151.5 kB / 0.9593 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.534e-05/0.8122, allocations: 151.7 kB / 0.9595 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.8124, allocations: 465.8 kB / 0.9599 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.8125, allocations: 170.3 kB / 0.9601 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.8125, allocations: 88.02 kB / 0.9602 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.8125, allocations: 79.28 kB / 0.9603 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.8126, allocations: 110.9 kB / 0.9604 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.8126, allocations: 0 / 0.9604 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.184e-05/0.8127, allocations: 37.05 kB / 0.9604 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.8127, allocations: 126.7 kB / 0.9605 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.8128, allocations: 131.8 kB / 0.9606 GB, free: 456 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.8128, allocations: 25.7 kB / 0.9607 GB, free: 424 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.8129, allocations: 91.34 kB / 0.9608 GB, free: 332 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.8129, allocations: 0 / 0.9608 GB, free: 332 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.8129, allocations: 18.31 kB / 0.9608 GB, free: 312 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.813, allocations: 316.9 kB / 0.9611 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.8131, allocations: 15.91 kB / 0.9611 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.8131, allocations: 3.469 kB / 0.9611 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.8131, allocations: 14.11 kB / 0.9611 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8131, allocations: 0 / 0.9611 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001533/0.8133, allocations: 60.31 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8133, allocations: 7.312 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.8133, allocations: 3.281 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8134, allocations: 0 / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.8134, allocations: 1.219 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.8134, allocations: 64 / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.8134, allocations: 5 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.8134, allocations: 1.312 kB / 0.9612 GB, free: 15.91 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.0001148/0.8135, allocations: 186.3 kB / 0.9614 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.8136, allocations: 119.6 kB / 0.9615 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.8137, allocations: 107 kB / 0.9616 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-05/0.8138, allocations: 181.6 kB / 0.9617 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-05/0.8138, allocations: 181 kB / 0.9619 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.709e-05/0.8139, allocations: 181.3 kB / 0.9621 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.8142, allocations: 415.9 kB / 0.9625 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/0.8142, allocations: 114 kB / 0.9626 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.8143, allocations: 109.9 kB / 0.9627 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.995e-05/0.8143, allocations: 181.3 kB / 0.9629 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/0.8144, allocations: 181.4 kB / 0.963 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.017e-05/0.8145, allocations: 185.1 kB / 0.9632 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-05/0.8145, allocations: 181 kB / 0.9634 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.8147, allocations: 309.1 kB / 0.9637 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.8148, allocations: 200 kB / 0.9639 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.8149, allocations: 177.3 kB / 0.9641 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.8149, allocations: 102.8 kB / 0.9641 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.815, allocations: 181.3 kB / 0.9643 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.8151, allocations: 101 kB / 0.9644 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.786e-05/0.8151, allocations: 108.6 kB / 0.9645 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8151, allocations: 1.125 kB / 0.9645 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001159/0.8163, allocations: 282.6 kB / 0.9648 GB, free: 12.23 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.00126/0.8176, allocations: 0.5335 MB / 0.9653 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.8177, allocations: 46.58 kB / 0.9654 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8177, allocations: 0 / 0.9654 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.8177, allocations: 1.375 kB / 0.9654 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.8182, allocations: 0.5293 MB / 0.9659 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.8185, allocations: 276.1 kB / 0.9661 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.8188, allocations: 0.6846 MB / 0.9668 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.8188, allocations: 9.5 kB / 0.9668 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.8188, allocations: 0 / 0.9668 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.01076/0.8296, allocations: 4.744 MB / 0.9715 GB, free: 7.965 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