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.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.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.0009556/0.0009555, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008648/0.008648, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.536/2.536, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004273, allocations: 12 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.7739, allocations: 142.4 MB / 0.9551 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001545/0.7755, allocations: 1.164 MB / 0.9562 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005502/0.781, allocations: 2.937 MB / 0.9591 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.7811, allocations: 0 / 0.9591 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.7812, allocations: 0 / 0.9591 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.7813, allocations: 17.12 kB / 0.9591 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005766/0.7871, allocations: 1.395 MB / 0.9605 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.7872, allocations: 45.55 kB / 0.9605 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.7873, allocations: 6.734 kB / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.7873, allocations: 12.19 kB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.7874, allocations: 16.19 kB / 0.9606 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.7874, allocations: 5.312 kB / 0.9606 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.7909, allocations: 1.474 MB / 0.962 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.791, allocations: 1.156 kB / 0.962 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.791, allocations: 45.55 kB / 0.962 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.7935, allocations: 1.107 MB / 0.9631 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7935, allocations: 1.094 kB / 0.9631 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7935, allocations: 3.938 kB / 0.9631 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.7935, allocations: 0 / 0.9631 GB, free: 2.012 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.0007143/0.7942, allocations: 0.5178 MB / 0.9636 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.7943, allocations: 8.906 kB / 0.9636 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.7944, allocations: 90.14 kB / 0.9637 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.7945, allocations: 250.1 kB / 0.964 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.7946, allocations: 150.9 kB / 0.9641 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.7946, allocations: 151.8 kB / 0.9643 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.24e-05/0.7947, allocations: 106.5 kB / 0.9644 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.7947, allocations: 75.28 kB / 0.9644 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.7947, allocations: 158.5 kB / 0.9646 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.7948, allocations: 158.5 kB / 0.9647 GB, free: 356 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.7948, allocations: 155.6 kB / 0.9649 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.7952, allocations: 465.8 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.7953, allocations: 170.2 kB / 0.9655 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.7954, allocations: 81.17 kB / 0.9656 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.7954, allocations: 75.28 kB / 0.9656 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.67e-05/0.7955, allocations: 114.9 kB / 0.9657 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.7955, allocations: 0 / 0.9657 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.392e-05/0.7956, allocations: 28.3 kB / 0.9658 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.7957, allocations: 139.9 kB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.7959, allocations: 133 kB / 0.966 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.7959, allocations: 25.7 kB / 0.9661 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.796, allocations: 94.62 kB / 0.9661 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.796, allocations: 0 / 0.9661 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.7961, allocations: 12.56 kB / 0.9662 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7962, allocations: 320.2 kB / 0.9665 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.7963, allocations: 2.5 kB / 0.9665 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.7963, allocations: 11.66 kB / 0.9665 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.7964, allocations: 15.58 kB / 0.9665 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7964, allocations: 0 / 0.9665 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001826/0.7966, allocations: 56.06 kB / 0.9665 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.7966, allocations: 4.812 kB / 0.9665 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.7966, allocations: 7.469 kB / 0.9666 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.7967, allocations: 0 / 0.9666 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/0.7967, allocations: 1.25 kB / 0.9666 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7967, allocations: 0 / 0.9666 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.7967, allocations: 6.125 kB / 0.9666 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.7968, allocations: 4.062 kB / 0.9666 GB, free: 14.41 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.0001277/0.7969, allocations: 182.6 kB / 0.9667 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.797, allocations: 118.1 kB / 0.9669 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.7971, allocations: 108.8 kB / 0.967 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.766e-05/0.7972, allocations: 183.5 kB / 0.9671 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.914e-05/0.7973, allocations: 184.2 kB / 0.9673 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.411e-05/0.7974, allocations: 176.3 kB / 0.9675 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.7978, allocations: 417.7 kB / 0.9679 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.292e-05/0.7978, allocations: 113 kB / 0.968 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.7979, allocations: 113 kB / 0.9681 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-05/0.798, allocations: 180 kB / 0.9683 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.7981, allocations: 180.3 kB / 0.9684 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.984e-05/0.7982, allocations: 184.2 kB / 0.9686 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-05/0.7983, allocations: 176.3 kB / 0.9688 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.7985, allocations: 305.5 kB / 0.9691 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.7986, allocations: 197.7 kB / 0.9693 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7988, allocations: 180.2 kB / 0.9694 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.7989, allocations: 101 kB / 0.9695 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.799, allocations: 187.7 kB / 0.9697 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.799, allocations: 101 kB / 0.9698 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.187e-05/0.7991, allocations: 102.8 kB / 0.9699 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7991, allocations: 0 / 0.9699 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001382/0.8005, allocations: 285.5 kB / 0.9702 GB, free: 10.74 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.001814/0.8024, allocations: 0.5345 MB / 0.9707 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.8025, allocations: 37.77 kB / 0.9707 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.8025, allocations: 4.812 kB / 0.9707 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.8026, allocations: 3.938 kB / 0.9707 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.8032, allocations: 0.5341 MB / 0.9713 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.8038, allocations: 255.8 kB / 0.9715 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.8041, allocations: 0.6844 MB / 0.9722 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.8042, allocations: 12.8 kB / 0.9722 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.8042, allocations: 9.625 kB / 0.9722 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.8042, allocations: 0 / 0.9722 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of Templates: time 0.01851/0.8227, allocations: 5.674 MB / 0.9777 GB, free: 5.988 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/jenkins/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