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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008739/0.008739, allocations: 101.5 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.002024/0.002024, allocations: 196.9 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.441/1.441, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.525/2.525, allocations: 390.2 MB / 0.6649 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 63.91 kB / 0.8126 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7915, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003044/0.7946, allocations: 1.5 MB / 0.9511 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004602/0.7992, allocations: 3 MB / 0.954 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.7993, allocations: 1.281 kB / 0.954 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.7994, allocations: 3.938 kB / 0.954 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.7995, allocations: 10.39 kB / 0.954 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004961/0.8045, allocations: 1.413 MB / 0.9554 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.8046, allocations: 42.36 kB / 0.9555 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.8047, allocations: 11.36 kB / 0.9555 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.8047, allocations: 11.91 kB / 0.9555 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.8048, allocations: 18.67 kB / 0.9555 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.8048, allocations: 6.219 kB / 0.9555 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00366/0.8085, allocations: 1.466 MB / 0.9569 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.8085, allocations: 5.359 kB / 0.9569 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.8086, allocations: 24.11 kB / 0.957 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.8106, allocations: 0.7767 MB / 0.9577 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8107, allocations: 0 / 0.9577 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8107, allocations: 0 / 0.9577 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8107, allocations: 0 / 0.9577 GB, free: 3.453 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.001311/0.812, allocations: 0.5179 MB / 0.9582 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.594e-05/0.8121, allocations: 9.125 kB / 0.9582 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.8122, allocations: 86.5 kB / 0.9583 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.8124, allocations: 255.8 kB / 0.9586 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.8124, allocations: 150.9 kB / 0.9587 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.8125, allocations: 152 kB / 0.9589 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.412e-05/0.8126, allocations: 110.2 kB / 0.959 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.8126, allocations: 75.28 kB / 0.959 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/0.8126, allocations: 159.6 kB / 0.9592 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.8127, allocations: 150.6 kB / 0.9593 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.8127, allocations: 151.9 kB / 0.9595 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.8131, allocations: 465.2 kB / 0.9599 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.8132, allocations: 169.9 kB / 0.9601 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.8132, allocations: 84.83 kB / 0.9602 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.8133, allocations: 75.28 kB / 0.9602 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.8133, allocations: 114.9 kB / 0.9603 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.8133, allocations: 0 / 0.9603 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001267/0.8135, allocations: 36.8 kB / 0.9604 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.8135, allocations: 130.7 kB / 0.9605 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.8137, allocations: 130 kB / 0.9606 GB, free: 408 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.8138, allocations: 25.7 kB / 0.9607 GB, free: 376 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.8138, allocations: 94.03 kB / 0.9607 GB, free: 280 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/0.8138, allocations: 0.9688 kB / 0.9607 GB, free: 280 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.8139, allocations: 18.91 kB / 0.9608 GB, free: 260 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.814, allocations: 316.7 kB / 0.9611 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.8141, allocations: 7.375 kB / 0.9611 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.8141, allocations: 7.344 kB / 0.9611 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.8142, allocations: 14.23 kB / 0.9611 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8142, allocations: 0 / 0.9611 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002102/0.8144, allocations: 60.59 kB / 0.9612 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.8144, allocations: 5.469 kB / 0.9612 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.8145, allocations: 3.062 kB / 0.9612 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.8145, allocations: 64 / 0.9612 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-06/0.8145, allocations: 4.906 kB / 0.9612 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8145, allocations: 3.938 kB / 0.9612 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.8146, allocations: 0.8125 kB / 0.9612 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.8146, allocations: 6.031 kB / 0.9612 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.0001682/0.8148, allocations: 182.2 kB / 0.9613 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.049e-05/0.8149, allocations: 112.1 kB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.8149, allocations: 119 kB / 0.9616 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-05/0.815, allocations: 177.5 kB / 0.9617 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-05/0.8151, allocations: 181.3 kB / 0.9619 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-05/0.8152, allocations: 181.6 kB / 0.9621 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.8155, allocations: 414.7 kB / 0.9625 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.091e-05/0.8156, allocations: 114.4 kB / 0.9626 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.8157, allocations: 106.4 kB / 0.9627 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.634e-05/0.8158, allocations: 181.6 kB / 0.9629 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.8158, allocations: 180.3 kB / 0.963 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.678e-05/0.8159, allocations: 185.6 kB / 0.9632 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.309e-05/0.816, allocations: 185.6 kB / 0.9634 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.8162, allocations: 303.8 kB / 0.9637 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.8164, allocations: 200.7 kB / 0.9639 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.8165, allocations: 185.4 kB / 0.964 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.8166, allocations: 102.4 kB / 0.9641 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.8167, allocations: 176.3 kB / 0.9643 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.8167, allocations: 107 kB / 0.9644 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001119/0.8169, allocations: 106 kB / 0.9645 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8169, allocations: 0 / 0.9645 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00201/0.8189, allocations: 287.7 kB / 0.9648 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.002354/0.8213, allocations: 0.5337 MB / 0.9653 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.8214, allocations: 38.64 kB / 0.9653 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8215, allocations: 64 / 0.9653 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.282e-06/0.8215, allocations: 4 kB / 0.9654 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.8221, allocations: 0.5362 MB / 0.9659 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.8225, allocations: 271.3 kB / 0.9661 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.8228, allocations: 0.6844 MB / 0.9668 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.8229, allocations: 9.594 kB / 0.9668 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.8229, allocations: 0 / 0.9668 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.01247/0.8354, allocations: 4.74 MB / 0.9714 GB, free: 7.918 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches