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.001269/0.00127, allocations: 109.8 kB / 16.41 MB, free: 6.449 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.001304/0.001304, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.515/2.515, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7912, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004873/0.7961, allocations: 3.04 MB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003103/0.7992, allocations: 2.148 MB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.7996, allocations: 4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.8013, allocations: 0.4956 MB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004355/0.8017, allocations: 146.8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.802, allocations: 67.94 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006151/0.8026, allocations: 454.6 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.8029, allocations: 143.2 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.8032, allocations: 171.3 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.8034, allocations: 179.2 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.8035, allocations: 32 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.8036, allocations: 36 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.8037, allocations: 95.62 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.8039, allocations: 218.9 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.8045, allocations: 0.5411 MB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8045, allocations: 0 / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8045, allocations: 4 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.8045, allocations: 0 / 1.175 GB, free: 12.04 MB / 0.9044 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.001202/0.8057, allocations: 0.7006 MB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8058, allocations: 16.86 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.8059, allocations: 48.36 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.8065, allocations: 378.1 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.8065, allocations: 16.81 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.8066, allocations: 16.38 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.807, allocations: 207.6 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.807, allocations: 0 / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.807, allocations: 12 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.807, allocations: 4 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.8074, allocations: 169.6 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.8087, allocations: 0.8544 MB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.8091, allocations: 158.5 kB / 1.177 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.8093, allocations: 112.8 kB / 1.178 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.8093, allocations: 0 / 1.178 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.8094, allocations: 38.56 kB / 1.178 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.8094, allocations: 0 / 1.178 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0006215/0.81, allocations: 256 kB / 1.178 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.81, allocations: 55.41 kB / 1.178 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.8105, allocations: 421.7 kB / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.8106, allocations: 33.64 kB / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.8107, allocations: 200.2 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.8108, allocations: 63.09 kB / 1.179 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.8108, allocations: 33.72 kB / 1.179 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.811, allocations: 350.7 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.8112, allocations: 59.92 kB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.8113, allocations: 66.19 kB / 1.179 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.8116, allocations: 127.1 kB / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.8117, allocations: 0 / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004028/0.8121, allocations: 209.1 kB / 1.179 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8121, allocations: 4 kB / 1.179 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.8121, allocations: 11.98 kB / 1.179 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.8121, allocations: 7.875 kB / 1.179 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.8124, allocations: 55.91 kB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.8124, allocations: 0 / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.8126, allocations: 19.83 kB / 1.179 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.8126, allocations: 8 kB / 1.179 GB, free: 7.152 MB / 0.9044 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.0001628/0.8128, allocations: 161.8 kB / 1.18 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.8128, allocations: 39.53 kB / 1.18 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.8129, allocations: 47.56 kB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.8129, allocations: 3.938 kB / 1.18 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.813, allocations: 0 / 1.18 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.8131, allocations: 120.6 kB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.8131, allocations: 4 kB / 1.18 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.8133, allocations: 7.984 kB / 1.18 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.8134, allocations: 15.98 kB / 1.18 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006827/0.8141, allocations: 292.8 kB / 1.18 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006461/0.8147, allocations: 457.1 kB / 1.181 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000165/0.8149, allocations: 75.89 kB / 1.181 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003982/0.8153, allocations: 311.2 kB / 1.181 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of Backend: time 5.51e-07/0.8153, allocations: 0 / 1.181 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006023/0.8159, allocations: 170.4 kB / 1.181 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00176/0.8177, allocations: 1.242 MB / 1.182 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of Templates: time 0.009542/0.8273, allocations: 4.33 MB / 1.187 GB, free: 15.92 MB / 0.92 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/jenkins1/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