Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005644/0.005644, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001108/0.001108, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.735/2.735, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.354, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002423/0.3565, allocations: 1.432 MB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004878/0.3614, allocations: 2.856 MB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.3615, allocations: 3.938 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.3615, allocations: 7.922 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.3616, allocations: 7.875 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005219/0.3669, allocations: 1.573 MB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.367, allocations: 47.73 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.128e-05/0.3671, allocations: 0 / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.3672, allocations: 11.94 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.3672, allocations: 15.92 kB / 1.173 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.3673, allocations: 3.984 kB / 1.173 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.3704, allocations: 1.486 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.3704, allocations: 7.922 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.3705, allocations: 19.88 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.3724, allocations: 1.076 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3724, allocations: 7.938 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.388e-06/0.3724, allocations: 4 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3724, allocations: 0 / 1.175 GB, free: 14.18 MB / 0.9356 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.0008401/0.3733, allocations: 0.5324 MB / 1.176 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.3733, allocations: 8.031 kB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.743e-05/0.3734, allocations: 84.17 kB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3737, allocations: 252.8 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.3738, allocations: 150.9 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.3739, allocations: 154.9 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.374, allocations: 109.1 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.374, allocations: 79.28 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.3741, allocations: 150.6 kB / 1.177 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/0.3742, allocations: 150.6 kB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.18e-05/0.3743, allocations: 166.5 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3746, allocations: 453.9 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3748, allocations: 173.1 kB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.3748, allocations: 80.14 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.3749, allocations: 83.27 kB / 1.178 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.713e-05/0.3749, allocations: 117.7 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.3749, allocations: 0 / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001082/0.3751, allocations: 29.66 kB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.3752, allocations: 126.7 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3754, allocations: 131.7 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3754, allocations: 29.7 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.3755, allocations: 92.12 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.3755, allocations: 0 / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3755, allocations: 17.72 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3757, allocations: 314.8 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.3758, allocations: 8 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.3758, allocations: 3.984 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.458e-05/0.3759, allocations: 20.8 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3759, allocations: 0 / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001611/0.376, allocations: 45.59 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3761, allocations: 8.062 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.3761, allocations: 11.92 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3761, allocations: 0 / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.3761, allocations: 0 / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3761, allocations: 4 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.3762, allocations: 0 / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3762, allocations: 4 kB / 1.178 GB, free: 10.42 MB / 0.9356 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.0001394/0.3763, allocations: 185.2 kB / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.3764, allocations: 124.8 kB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.3765, allocations: 112.8 kB / 1.179 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/0.3766, allocations: 180.2 kB / 1.179 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.082e-05/0.3767, allocations: 176.3 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.347e-05/0.3768, allocations: 180.3 kB / 1.179 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.3771, allocations: 417.2 kB / 1.18 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.151e-05/0.3772, allocations: 108.9 kB / 1.18 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.3773, allocations: 112.9 kB / 1.18 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-05/0.3773, allocations: 176.3 kB / 1.18 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.3774, allocations: 180.3 kB / 1.18 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.633e-05/0.3775, allocations: 184.2 kB / 1.181 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.532e-05/0.3776, allocations: 188.2 kB / 1.181 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.3777, allocations: 307.7 kB / 1.181 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.3778, allocations: 182 kB / 1.181 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3779, allocations: 188.2 kB / 1.181 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.378, allocations: 105 kB / 1.181 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.3781, allocations: 184.2 kB / 1.182 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.3782, allocations: 101 kB / 1.182 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.366e-05/0.3783, allocations: 109.5 kB / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3783, allocations: 0 / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009962/0.3793, allocations: 279 kB / 1.182 GB, free: 6.496 MB / 0.9356 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.001163/0.3804, allocations: 0.5285 MB / 1.183 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.3806, allocations: 37.7 kB / 1.183 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3806, allocations: 3.938 kB / 1.183 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.3806, allocations: 0 / 1.183 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.3811, allocations: 463.6 kB / 1.183 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.3815, allocations: 236 kB / 1.183 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3817, allocations: 0.6884 MB / 1.184 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.3818, allocations: 0 / 1.184 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.3818, allocations: 7.438 kB / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of SimCode: time 6.52e-07/0.3818, allocations: 0 / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of Templates: time 0.009549/0.3913, allocations: 5.463 MB / 1.189 GB, free: 15.05 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches