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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001259/0.001259, allocations: 100.1 kB / 15.88 MB, free: 12 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.001234/0.001234, allocations: 196 kB / 16.79 MB, free: 6.809 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.455/1.455, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 71.88 kB / 0.8693 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7842, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004825/0.7891, allocations: 3.085 MB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.7922, allocations: 2.12 MB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.7926, allocations: 8 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.7945, allocations: 478.1 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.795, allocations: 127.1 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.7952, allocations: 55.95 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006263/0.7959, allocations: 461.8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.7962, allocations: 140.4 kB / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.7964, allocations: 143.4 kB / 1.024 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.7967, allocations: 179.1 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.7968, allocations: 24 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.7969, allocations: 20 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.797, allocations: 83.67 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.7973, allocations: 218.8 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.7977, allocations: 446.9 kB / 1.025 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7977, allocations: 0 / 1.025 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7977, allocations: 0 / 1.025 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.7977, allocations: 4 kB / 1.025 GB, free: 11.33 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.001312/0.799, allocations: 0.7006 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.7991, allocations: 12.03 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.657e-05/0.7992, allocations: 40.47 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.7997, allocations: 370.1 kB / 1.026 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.7998, allocations: 16.81 kB / 1.026 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.7998, allocations: 24.28 kB / 1.026 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.8002, allocations: 207.5 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.8003, allocations: 0 / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.8003, allocations: 4 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.8003, allocations: 11.98 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.8007, allocations: 161.7 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.802, allocations: 0.8662 MB / 1.027 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.8023, allocations: 162.5 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.8025, allocations: 113.1 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.8026, allocations: 0 / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.8026, allocations: 42.56 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.8026, allocations: 4 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006145/0.8032, allocations: 253.3 kB / 1.028 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.8033, allocations: 51.41 kB / 1.028 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.8038, allocations: 421.6 kB / 1.028 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.8038, allocations: 25.7 kB / 1.028 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.804, allocations: 216.1 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.804, allocations: 63.11 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.8041, allocations: 37.7 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8042, allocations: 346.7 kB / 1.029 GB, free: 7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.8044, allocations: 55.97 kB / 1.029 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.8045, allocations: 55.97 kB / 1.029 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.8048, allocations: 134.7 kB / 1.029 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8048, allocations: 4 kB / 1.029 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003992/0.8052, allocations: 210.6 kB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8053, allocations: 5.562 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.8053, allocations: 4 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.8053, allocations: 3.938 kB / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.8056, allocations: 47.97 kB / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8056, allocations: 0 / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.8058, allocations: 31.83 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.8058, allocations: 4 kB / 1.029 GB, free: 6.449 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.0001739/0.806, allocations: 165.8 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.806, allocations: 35.53 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.8061, allocations: 43.53 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.8061, allocations: 0 / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8061, allocations: 0 / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.8062, allocations: 7.984 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.8066, allocations: 377.4 kB / 1.03 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8066, allocations: 0 / 1.03 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.8069, allocations: 51.91 kB / 1.03 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.8069, allocations: 3.984 kB / 1.03 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.8069, allocations: 11.94 kB / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.8069, allocations: 0 / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.807, allocations: 0 / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.8076, allocations: 374.9 kB / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.8077, allocations: 116.7 kB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.8077, allocations: 11.92 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.8079, allocations: 11.98 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.808, allocations: 11.98 kB / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.808, allocations: 7.938 kB / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003323/0.8083, allocations: 303.2 kB / 1.031 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8083, allocations: 0 / 1.031 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003136/0.8087, allocations: 75.84 kB / 1.031 GB, free: 4.773 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.0001423/0.8088, allocations: 111.2 kB / 1.031 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.8092, allocations: 154.1 kB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8092, allocations: 0 / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.8094, allocations: 79.91 kB / 1.031 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.81, allocations: 94.61 kB / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.8114, allocations: 0.9014 MB / 1.032 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.8118, allocations: 0.7914 MB / 1.033 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.8119, allocations: 27.44 kB / 1.033 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of SimCode: time 7.52e-07/0.8119, allocations: 4 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of Templates: time 0.00778/0.8197, allocations: 4.349 MB / 1.037 GB, free: 14.25 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/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