Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001556/0.001557, allocations: 108.7 kB / 15.99 MB, free: 6.348 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.001412/0.001412, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.648/2.648, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 61.84 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3405, allocations: 159.2 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002767/0.3434, allocations: 1.489 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004381/0.3478, allocations: 2.848 MB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.3478, allocations: 4 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.3479, allocations: 3.984 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.3479, allocations: 15.86 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003604/0.3515, allocations: 1.433 MB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.3516, allocations: 39.8 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.3517, allocations: 7.938 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.3517, allocations: 11.94 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.375e-05/0.3518, allocations: 23.86 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.3518, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.3537, allocations: 1.423 MB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.3538, allocations: 4 kB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3538, allocations: 23.86 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009739/0.3548, allocations: 0.737 MB / 1.072 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3548, allocations: 0 / 1.072 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3548, allocations: 7.938 kB / 1.072 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3548, allocations: 0 / 1.072 GB, free: 6.953 MB / 0.8419 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.0006573/0.3555, allocations: 0.5147 MB / 1.073 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3555, allocations: 8.031 kB / 1.073 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.3556, allocations: 80.12 kB / 1.073 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.3558, allocations: 258 kB / 1.073 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.3559, allocations: 154.9 kB / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.356, allocations: 162.9 kB / 1.073 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.314e-05/0.356, allocations: 105.1 kB / 1.073 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.3561, allocations: 79.27 kB / 1.073 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.3562, allocations: 150.6 kB / 1.074 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-05/0.3562, allocations: 150.6 kB / 1.074 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.3563, allocations: 158.5 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.3566, allocations: 461.9 kB / 1.074 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/0.3567, allocations: 169.1 kB / 1.074 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.3568, allocations: 80.14 kB / 1.075 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.3568, allocations: 75.33 kB / 1.075 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.3569, allocations: 125.7 kB / 1.075 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3569, allocations: 0 / 1.075 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.608e-05/0.357, allocations: 33.61 kB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.3571, allocations: 126.7 kB / 1.075 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3572, allocations: 125.8 kB / 1.075 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3572, allocations: 29.64 kB / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.3573, allocations: 100 kB / 1.075 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.3573, allocations: 4 kB / 1.075 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3574, allocations: 13.72 kB / 1.075 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3575, allocations: 322.8 kB / 1.075 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.3575, allocations: 0 / 1.075 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.3576, allocations: 8 kB / 1.075 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.548e-05/0.3576, allocations: 12.8 kB / 1.075 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3576, allocations: 0 / 1.075 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.3577, allocations: 53.62 kB / 1.075 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3578, allocations: 4 kB / 1.075 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3578, allocations: 8.062 kB / 1.076 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3578, allocations: 0 / 1.076 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3578, allocations: 0 / 1.076 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3578, allocations: 0 / 1.076 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.3578, allocations: 7.844 kB / 1.076 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3579, allocations: 8 kB / 1.076 GB, free: 3.195 MB / 0.8419 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.0001121/0.358, allocations: 181.1 kB / 1.076 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.3581, allocations: 112.9 kB / 1.076 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.3581, allocations: 116.8 kB / 1.076 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.757e-05/0.3582, allocations: 180.3 kB / 1.076 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.786e-05/0.3583, allocations: 180.3 kB / 1.076 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.44e-05/0.3584, allocations: 180.3 kB / 1.076 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3586, allocations: 421.1 kB / 1.077 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.374e-05/0.3587, allocations: 108.9 kB / 1.077 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.3587, allocations: 104.9 kB / 1.077 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.377e-05/0.3588, allocations: 176.3 kB / 1.077 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/0.3589, allocations: 184.2 kB / 1.077 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-05/0.359, allocations: 180.2 kB / 1.078 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.448e-05/0.3591, allocations: 184.2 kB / 1.078 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.3592, allocations: 311.7 kB / 1.078 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/0.3593, allocations: 189.9 kB / 1.078 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.485e-05/0.3594, allocations: 188.2 kB / 1.078 GB, free: 56 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.5902/0.9497, allocations: 101.5 kB / 1.078 GB, free: 22.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.9498, allocations: 183 kB / 1.079 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.9498, allocations: 101.5 kB / 1.079 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.985e-05/0.9499, allocations: 97.77 kB / 1.079 GB, free: 22.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.9499, allocations: 1.281 kB / 1.079 GB, free: 22.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001024/0.9509, allocations: 272.1 kB / 1.079 GB, free: 22.05 MB / 0.8419 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.001176/0.9521, allocations: 0.5235 MB / 1.08 GB, free: 21.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.9522, allocations: 39.42 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9523, allocations: 2.219 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.9523, allocations: 0 / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.9526, allocations: 468.1 kB / 1.08 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.9529, allocations: 257.8 kB / 1.08 GB, free: 21.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.953, allocations: 0.683 MB / 1.081 GB, free: 20.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.9531, allocations: 9.625 kB / 1.081 GB, free: 20.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.9531, allocations: 0 / 1.081 GB, free: 20.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.01013/0.9632, allocations: 4.641 MB / 1.086 GB, free: 20.08 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches