Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008773/0.008773, allocations: 170.8 kB / 16.27 MB, free: 6.656 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.643/2.643, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003643, allocations: 11.98 kB / 0.8729 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.679, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003485/0.6825, allocations: 2.71 MB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003788/0.6864, allocations: 2.081 MB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.6866, allocations: 8 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.6882, allocations: 478 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.6885, allocations: 127.2 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.6887, allocations: 47.97 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.6892, allocations: 475.1 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.6895, allocations: 128.4 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.6897, allocations: 135.4 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.6899, allocations: 171.1 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.6899, allocations: 20 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.946e-05/0.69, allocations: 20 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.6902, allocations: 71.69 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.6905, allocations: 228.5 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.6909, allocations: 0.5215 MB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.691, allocations: 0 / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.691, allocations: 0 / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.691, allocations: 0 / 1.03 GB, free: 8.629 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009031/0.6919, allocations: 0.6385 MB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6919, allocations: 8.031 kB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.692, allocations: 48.38 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.6925, allocations: 374.1 kB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.6925, allocations: 12.81 kB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.6926, allocations: 28.36 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.693, allocations: 211.6 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.6931, allocations: 4 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.6931, allocations: 4 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6931, allocations: 8 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.6936, allocations: 177.6 kB / 1.032 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.6949, allocations: 0.8817 MB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.6952, allocations: 158.6 kB / 1.033 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.6954, allocations: 116.8 kB / 1.033 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.6954, allocations: 0 / 1.033 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.6955, allocations: 38.56 kB / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 3.827e-06/0.6955, allocations: 3.938 kB / 1.033 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006241/0.6961, allocations: 271.4 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.6962, allocations: 55.41 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.6966, allocations: 417.7 kB / 1.033 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.6967, allocations: 29.7 kB / 1.033 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.6968, allocations: 208.2 kB / 1.034 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.6969, allocations: 67.08 kB / 1.034 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.6969, allocations: 21.72 kB / 1.034 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6971, allocations: 346.8 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.6972, allocations: 59.97 kB / 1.034 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.6974, allocations: 61.86 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.6977, allocations: 150.6 kB / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6977, allocations: 0 / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004095/0.6981, allocations: 221.1 kB / 1.035 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6981, allocations: 8 kB / 1.035 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6982, allocations: 0 / 1.035 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6982, allocations: 3.938 kB / 1.035 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.6984, allocations: 59.89 kB / 1.035 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6985, allocations: 0 / 1.035 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.6986, allocations: 31.83 kB / 1.035 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.6986, allocations: 4 kB / 1.035 GB, free: 3.727 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0002044/0.6989, allocations: 161.3 kB / 1.035 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.6989, allocations: 35.53 kB / 1.035 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.699, allocations: 47.52 kB / 1.035 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.699, allocations: 4 kB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.699, allocations: 0 / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.699, allocations: 3.984 kB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.6995, allocations: 373.4 kB / 1.035 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6995, allocations: 0 / 1.035 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.6997, allocations: 63.89 kB / 1.035 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6997, allocations: 0 / 1.035 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.6998, allocations: 7.938 kB / 1.035 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6998, allocations: 0 / 1.035 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6998, allocations: 0 / 1.035 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.7004, allocations: 398.9 kB / 1.036 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.7005, allocations: 116.7 kB / 1.036 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.7006, allocations: 15.81 kB / 1.036 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.7008, allocations: 23.98 kB / 1.036 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.7008, allocations: 7.984 kB / 1.036 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.7008, allocations: 8 kB / 1.036 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003247/0.7012, allocations: 299.2 kB / 1.036 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7012, allocations: 0 / 1.036 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003519/0.7015, allocations: 71.84 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001349/0.7017, allocations: 119.2 kB / 1.036 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.7021, allocations: 158.6 kB / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7021, allocations: 0 / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.7022, allocations: 87.91 kB / 1.037 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.7029, allocations: 78.06 kB / 1.037 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.7043, allocations: 0.9348 MB / 1.038 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.7047, allocations: 0.7992 MB / 1.038 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.7049, allocations: 34.95 kB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.7049, allocations: 23.44 kB / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.7049, allocations: 0 / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of Templates: time 0.008187/0.7131, allocations: 3.681 MB / 1.042 GB, free: 12.18 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches