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.001291/0.00129, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001497/0.001497, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.218/2.218, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 74.89 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3403, allocations: 140.4 MB / 0.9503 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002981/0.3433, allocations: 1.439 MB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004483/0.3478, allocations: 2.878 MB / 0.9545 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.3479, allocations: 4 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.348, allocations: 7.922 kB / 0.9546 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.348, allocations: 15.86 kB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.3522, allocations: 1.588 MB / 0.9561 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.702e-05/0.3523, allocations: 47.66 kB / 0.9562 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.66e-05/0.3524, allocations: 7.938 kB / 0.9562 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.332e-05/0.3524, allocations: 15.94 kB / 0.9562 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.3524, allocations: 19.86 kB / 0.9562 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3525, allocations: 4 kB / 0.9562 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.3546, allocations: 1.459 MB / 0.9576 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.3547, allocations: 3.984 kB / 0.9576 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.3547, allocations: 19.88 kB / 0.9577 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.3561, allocations: 1.096 MB / 0.9587 GB, free: 196 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3562, allocations: 3.938 kB / 0.9587 GB, free: 192 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3562, allocations: 0 / 0.9587 GB, free: 192 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3562, allocations: 0 / 0.9587 GB, free: 192 kB / 0.7325 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.0006833/0.3569, allocations: 0.5186 MB / 0.9592 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3569, allocations: 8.031 kB / 0.9592 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.357, allocations: 84.12 kB / 0.9593 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3572, allocations: 251.5 kB / 0.9596 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.3572, allocations: 150.9 kB / 0.9597 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.3573, allocations: 154.9 kB / 0.9599 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.902e-05/0.3574, allocations: 109 kB / 0.96 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.3574, allocations: 79.28 kB / 0.96 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.3575, allocations: 154.6 kB / 0.9602 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.725e-05/0.3575, allocations: 154.5 kB / 0.9603 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.3576, allocations: 154.6 kB / 0.9605 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.3579, allocations: 473.9 kB / 0.9609 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.358, allocations: 173.1 kB / 0.9611 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.3581, allocations: 80.14 kB / 0.9612 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.3581, allocations: 75.28 kB / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.3582, allocations: 117.8 kB / 0.9614 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3582, allocations: 4 kB / 0.9614 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.06e-05/0.3583, allocations: 29.61 kB / 0.9614 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.3583, allocations: 126.7 kB / 0.9615 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3585, allocations: 140.4 kB / 0.9616 GB, free: 13 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3585, allocations: 25.7 kB / 0.9617 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.3586, allocations: 92.14 kB / 0.9618 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.3586, allocations: 3.938 kB / 0.9618 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.3586, allocations: 17.7 kB / 0.9618 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3587, allocations: 318.8 kB / 0.9621 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.3588, allocations: 4 kB / 0.9621 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.3588, allocations: 11.98 kB / 0.9621 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.3588, allocations: 12.86 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3589, allocations: 0 / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001334/0.359, allocations: 53.55 kB / 0.9622 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.359, allocations: 8 kB / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.359, allocations: 0 / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3591, allocations: 0 / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-06/0.3591, allocations: 8.047 kB / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3591, allocations: 7.938 kB / 0.9622 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.3591, allocations: 7.969 kB / 0.9622 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3591, allocations: 0 / 0.9622 GB, free: 12.41 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.0001078/0.3592, allocations: 185.1 kB / 0.9624 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.3593, allocations: 104.9 kB / 0.9625 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/0.3594, allocations: 108.9 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.547e-05/0.3595, allocations: 192.2 kB / 0.9628 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.765e-05/0.3595, allocations: 180.2 kB / 0.9629 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.066e-05/0.3596, allocations: 184.2 kB / 0.9631 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.3598, allocations: 405.2 kB / 0.9635 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.631e-05/0.3599, allocations: 112.9 kB / 0.9636 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.3599, allocations: 108.9 kB / 0.9637 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-05/0.36, allocations: 180.3 kB / 0.9639 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.3601, allocations: 180.2 kB / 0.964 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.871e-05/0.3602, allocations: 180.3 kB / 0.9642 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.764e-05/0.3602, allocations: 180.2 kB / 0.9644 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3604, allocations: 315.8 kB / 0.9647 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.3605, allocations: 193.9 kB / 0.9649 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/0.3606, allocations: 176.3 kB / 0.965 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.3607, allocations: 105 kB / 0.9651 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.3607, allocations: 184.2 kB / 0.9653 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/0.3608, allocations: 105 kB / 0.9654 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.096e-05/0.3609, allocations: 101.9 kB / 0.9655 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3609, allocations: 0 / 0.9655 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007435/0.3616, allocations: 283.8 kB / 0.9658 GB, free: 8.504 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.001077/0.3627, allocations: 0.5343 MB / 0.9663 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3628, allocations: 49.62 kB / 0.9664 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3629, allocations: 0 / 0.9664 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.3629, allocations: 4 kB / 0.9664 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3633, allocations: 463.6 kB / 0.9668 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.3637, allocations: 275.2 kB / 0.9671 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.364, allocations: 0.6844 MB / 0.9677 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.364, allocations: 7.438 kB / 0.9677 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of SimCode: time 2e-07/0.364, allocations: 0 / 0.9677 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of Templates: time 0.007845/0.3718, allocations: 4.764 MB / 0.9724 GB, free: 1.668 MB / 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 -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