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.001703/0.001703, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.867/2.867, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 68.12 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.778/0.7805, allocations: 151.6 MB / 1.017 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003542/0.7841, allocations: 1.434 MB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.7895, allocations: 2.86 MB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.7895, allocations: 0 / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.7896, allocations: 3.938 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.656e-05/0.7897, allocations: 19.84 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004661/0.7944, allocations: 1.563 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.7945, allocations: 35.75 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.7945, allocations: 7.984 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.7946, allocations: 15.92 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.7946, allocations: 11.88 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.7946, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.7973, allocations: 1.424 MB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.7973, allocations: 3.984 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.7974, allocations: 23.88 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.7996, allocations: 1.076 MB / 1.026 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7996, allocations: 0 / 1.026 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7996, allocations: 0 / 1.026 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.7996, allocations: 0 / 1.026 GB, free: 10.08 MB / 0.7794 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.000916/0.8005, allocations: 0.5185 MB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8006, allocations: 8.031 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.8007, allocations: 88.12 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.8009, allocations: 251.5 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.801, allocations: 154.9 kB / 1.027 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.8011, allocations: 150.9 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.604e-05/0.8012, allocations: 109 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.8012, allocations: 75.28 kB / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.8013, allocations: 154.5 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.401e-05/0.8014, allocations: 158.5 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.8014, allocations: 154.6 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.8018, allocations: 461.9 kB / 1.028 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.802, allocations: 177 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.802, allocations: 84.14 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.8021, allocations: 75.28 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.551e-05/0.8021, allocations: 113.7 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.8021, allocations: 0 / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.741e-05/0.8022, allocations: 33.61 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.8023, allocations: 130.6 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.8025, allocations: 131.2 kB / 1.029 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.8025, allocations: 29.7 kB / 1.029 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.8026, allocations: 92.12 kB / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.8026, allocations: 0 / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.8027, allocations: 17.72 kB / 1.029 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.8028, allocations: 314.8 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.8028, allocations: 7.984 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.8029, allocations: 4 kB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.8029, allocations: 8.859 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8029, allocations: 8.031 kB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001449/0.8031, allocations: 49.55 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.8031, allocations: 9.391 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.8031, allocations: 7.938 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8031, allocations: 0 / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.8032, allocations: 0 / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8032, allocations: 0 / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/0.8032, allocations: 0 / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.8032, allocations: 4 kB / 1.029 GB, free: 6.328 MB / 0.7794 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.0001293/0.8033, allocations: 185.2 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.8034, allocations: 116.8 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.313e-05/0.8035, allocations: 112.8 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.429e-05/0.8036, allocations: 184.3 kB / 1.03 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.968e-05/0.8037, allocations: 176.3 kB / 1.03 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.232e-05/0.8038, allocations: 184.2 kB / 1.03 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.8041, allocations: 421.2 kB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-05/0.8041, allocations: 108.9 kB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.8042, allocations: 105 kB / 1.031 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-05/0.8043, allocations: 176.3 kB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.8044, allocations: 184.2 kB / 1.031 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.674e-05/0.8045, allocations: 184.3 kB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.272e-05/0.8046, allocations: 184.2 kB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.8047, allocations: 303.7 kB / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.8049, allocations: 193.9 kB / 1.032 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.8049, allocations: 180.2 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.8051, allocations: 112.9 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.8052, allocations: 180.2 kB / 1.032 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.8052, allocations: 101 kB / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.622e-05/0.8053, allocations: 101.1 kB / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8053, allocations: 3.938 kB / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009181/0.8062, allocations: 275.8 kB / 1.033 GB, free: 2.414 MB / 0.7794 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.001463/0.8077, allocations: 0.5215 MB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.8078, allocations: 41.64 kB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8078, allocations: 0 / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.8078, allocations: 0 / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.8083, allocations: 475.5 kB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.8088, allocations: 234 kB / 1.034 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.8091, allocations: 0.6885 MB / 1.035 GB, free: 408 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.8092, allocations: 0 / 1.035 GB, free: 408 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.8092, allocations: 11.44 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of SimCode: time 7.12e-07/0.8092, allocations: 0 / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of Templates: time 0.01182/0.821, allocations: 5.481 MB / 1.04 GB, free: 10.95 MB / 0.795 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=400 -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