Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001504/0.001504, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001408/0.001408, allocations: 193.5 kB / 17.29 MB, free: 5.863 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 / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.522/2.522, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 70.55 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3505, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003062/0.3537, allocations: 1.452 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004578/0.3583, allocations: 2.887 MB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.3583, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.3584, allocations: 7.922 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.3585, allocations: 15.86 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.3626, allocations: 1.597 MB / 1.033 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.3627, allocations: 43.72 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3627, allocations: 4 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.3627, allocations: 15.92 kB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.719e-05/0.3628, allocations: 15.88 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3628, allocations: 4 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.3649, allocations: 1.529 MB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.3649, allocations: 7.938 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.365, allocations: 23.86 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.3664, allocations: 1.111 MB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3664, allocations: 0 / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3664, allocations: 0 / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3665, allocations: 0 / 1.035 GB, free: 9.305 MB / 0.8106 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.0006171/0.3671, allocations: 0.5146 MB / 1.036 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3671, allocations: 8.031 kB / 1.036 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.3672, allocations: 84.12 kB / 1.036 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3674, allocations: 255.5 kB / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.3674, allocations: 154.9 kB / 1.036 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.3675, allocations: 150.9 kB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.677e-05/0.3676, allocations: 113 kB / 1.037 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.3676, allocations: 75.28 kB / 1.037 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.3677, allocations: 150.6 kB / 1.037 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/0.3678, allocations: 154.6 kB / 1.037 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.3678, allocations: 154.6 kB / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.3681, allocations: 465.9 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.715e-05/0.3682, allocations: 177 kB / 1.038 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.3683, allocations: 88.14 kB / 1.038 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.3683, allocations: 75.28 kB / 1.038 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.3684, allocations: 113.8 kB / 1.038 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3684, allocations: 0 / 1.038 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.948e-05/0.3685, allocations: 33.59 kB / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.3685, allocations: 134.6 kB / 1.038 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3687, allocations: 133.8 kB / 1.038 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3687, allocations: 25.7 kB / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.3688, allocations: 92.05 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.3688, allocations: 0 / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.3688, allocations: 21.7 kB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.369, allocations: 318.8 kB / 1.039 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.369, allocations: 3.938 kB / 1.039 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.369, allocations: 4 kB / 1.039 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.3691, allocations: 28.94 kB / 1.039 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3691, allocations: 0 / 1.039 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001231/0.3692, allocations: 45.64 kB / 1.039 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3692, allocations: 14.28 kB / 1.039 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.3692, allocations: 4 kB / 1.039 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3693, allocations: 0 / 1.039 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.3693, allocations: 0 / 1.039 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3693, allocations: 0 / 1.039 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.3693, allocations: 3.906 kB / 1.039 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3693, allocations: 7.984 kB / 1.039 GB, free: 5.531 MB / 0.8106 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.0001181/0.3695, allocations: 189.1 kB / 1.039 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.3695, allocations: 112.9 kB / 1.039 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/0.3696, allocations: 108.8 kB / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/0.3697, allocations: 176.3 kB / 1.039 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-05/0.3697, allocations: 184.2 kB / 1.039 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-05/0.3698, allocations: 184.2 kB / 1.04 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3701, allocations: 413.2 kB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/0.3701, allocations: 108.9 kB / 1.04 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.3702, allocations: 105 kB / 1.04 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.826e-05/0.3702, allocations: 176.3 kB / 1.04 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.3703, allocations: 188.2 kB / 1.041 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-05/0.3704, allocations: 180.3 kB / 1.041 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.723e-05/0.3705, allocations: 184.2 kB / 1.041 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.3706, allocations: 307.7 kB / 1.041 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.3707, allocations: 193.9 kB / 1.041 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.3708, allocations: 184.2 kB / 1.042 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.3709, allocations: 104.9 kB / 1.042 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.371, allocations: 188.2 kB / 1.042 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.371, allocations: 105 kB / 1.042 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.3711, allocations: 103.2 kB / 1.042 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3711, allocations: 0 / 1.042 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007476/0.3719, allocations: 283.8 kB / 1.042 GB, free: 1.609 MB / 0.8106 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.001073/0.3729, allocations: 0.5368 MB / 1.043 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.373, allocations: 41.69 kB / 1.043 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3731, allocations: 0 / 1.043 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3731, allocations: 0 / 1.043 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3735, allocations: 471.7 kB / 1.043 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.3738, allocations: 236.1 kB / 1.044 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3741, allocations: 0.6846 MB / 1.044 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.269e-05/0.3742, allocations: 0 / 1.044 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.3742, allocations: 11.44 kB / 1.044 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of SimCode: time 1.864e-06/0.3742, allocations: 0 / 1.044 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.009815/0.384, allocations: 5.637 MB / 1.05 GB, free: 9.992 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches