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.001216/0.001217, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001184/0.001184, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 73.08 kB / 0.8141 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2773, allocations: 140.4 MB / 0.9512 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002679/0.28, allocations: 1.447 MB / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.2842, allocations: 2.88 MB / 0.9554 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.2842, allocations: 0 / 0.9554 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2843, allocations: 3.984 kB / 0.9554 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.2844, allocations: 19.8 kB / 0.9554 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.2882, allocations: 1.58 MB / 0.957 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.462e-05/0.2883, allocations: 39.73 kB / 0.957 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.2883, allocations: 7.938 kB / 0.957 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.813e-05/0.2883, allocations: 11.94 kB / 0.957 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.298e-05/0.2884, allocations: 27.84 kB / 0.9571 GB, free: 2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.2884, allocations: 0 / 0.9571 GB, free: 2 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.2905, allocations: 1.535 MB / 0.9586 GB, free: 476 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.2905, allocations: 4 kB / 0.9586 GB, free: 472 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.2906, allocations: 27.78 kB / 0.9586 GB, free: 444 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.292, allocations: 1.092 MB / 0.9597 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.292, allocations: 0 / 0.9597 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.253e-06/0.292, allocations: 3.938 kB / 0.9597 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.292, allocations: 0 / 0.9597 GB, free: 15.34 MB / 0.7481 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.000562/0.2926, allocations: 0.5193 MB / 0.9602 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2926, allocations: 12.03 kB / 0.9602 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.2927, allocations: 84.06 kB / 0.9603 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2928, allocations: 249.5 kB / 0.9605 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.2929, allocations: 154.9 kB / 0.9606 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.2929, allocations: 150.9 kB / 0.9608 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.62e-05/0.293, allocations: 113.1 kB / 0.9609 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.293, allocations: 75.28 kB / 0.961 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.2931, allocations: 150.6 kB / 0.9611 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.2932, allocations: 150.6 kB / 0.9613 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.2932, allocations: 158.5 kB / 0.9614 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.2935, allocations: 473.8 kB / 0.9619 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.2937, allocations: 173.2 kB / 0.962 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.2938, allocations: 84.14 kB / 0.9621 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.2938, allocations: 75.28 kB / 0.9622 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.2938, allocations: 113.8 kB / 0.9623 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2939, allocations: 0 / 0.9623 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.141e-05/0.2939, allocations: 37.55 kB / 0.9623 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.294, allocations: 126.7 kB / 0.9624 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2941, allocations: 133.8 kB / 0.9626 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.2942, allocations: 29.7 kB / 0.9626 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.2942, allocations: 84.14 kB / 0.9627 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-06/0.2942, allocations: 0 / 0.9627 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.2942, allocations: 21.72 kB / 0.9627 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2944, allocations: 322.8 kB / 0.963 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.2944, allocations: 4 kB / 0.963 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/0.2944, allocations: 4 kB / 0.963 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.2945, allocations: 12.86 kB / 0.963 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2945, allocations: 3.938 kB / 0.963 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001292/0.2946, allocations: 61.47 kB / 0.9631 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2946, allocations: 6.5 kB / 0.9631 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.2947, allocations: 4 kB / 0.9631 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2947, allocations: 4.062 kB / 0.9631 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.895e-06/0.2947, allocations: 4.062 kB / 0.9631 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2947, allocations: 0 / 0.9631 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.2947, allocations: 7.906 kB / 0.9631 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.2947, allocations: 0 / 0.9631 GB, free: 11.57 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.0001043/0.2948, allocations: 185.1 kB / 0.9633 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.2949, allocations: 116.8 kB / 0.9634 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.295, allocations: 108.9 kB / 0.9635 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.193e-05/0.2951, allocations: 184.2 kB / 0.9637 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.346e-05/0.2951, allocations: 180.2 kB / 0.9639 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-05/0.2952, allocations: 184.2 kB / 0.964 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.2954, allocations: 413.2 kB / 0.9644 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/0.2955, allocations: 104.9 kB / 0.9645 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.2955, allocations: 105 kB / 0.9646 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.435e-05/0.2956, allocations: 184.2 kB / 0.9648 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/0.2957, allocations: 184.2 kB / 0.965 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.786e-05/0.2957, allocations: 180.2 kB / 0.9651 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-05/0.2958, allocations: 176.3 kB / 0.9653 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.296, allocations: 323.7 kB / 0.9656 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.2961, allocations: 189.9 kB / 0.9658 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.2962, allocations: 184.2 kB / 0.966 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.2963, allocations: 101 kB / 0.9661 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.2964, allocations: 176.3 kB / 0.9662 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.2964, allocations: 108.9 kB / 0.9663 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.383e-05/0.2965, allocations: 107.2 kB / 0.9665 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2965, allocations: 0 / 0.9665 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007272/0.2972, allocations: 279.8 kB / 0.9667 GB, free: 7.648 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.00108/0.2983, allocations: 0.5292 MB / 0.9672 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.2984, allocations: 37.7 kB / 0.9673 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2985, allocations: 0 / 0.9673 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.2985, allocations: 3.938 kB / 0.9673 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.2989, allocations: 475.6 kB / 0.9677 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.2993, allocations: 232.2 kB / 0.9679 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2996, allocations: 0.6844 MB / 0.9686 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.2996, allocations: 3.984 kB / 0.9686 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.2996, allocations: 11.44 kB / 0.9686 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2996, allocations: 0 / 0.9686 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of Templates: time 0.01036/0.31, allocations: 5.63 MB / 0.9741 GB, free: 40 kB / 0.7481 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 -s cvode -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