Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001629/0.001629, allocations: 104.3 kB / 16.27 MB, free: 5.98 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.00185/0.00185, allocations: 187.7 kB / 17.2 MB, free: 5.605 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 58.66 kB / 0.9089 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3832, allocations: 159.1 MB / 1.064 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004549/0.3878, allocations: 3.033 MB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.3908, allocations: 2.137 MB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.3911, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.3926, allocations: 0.4977 MB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.393, allocations: 146.8 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.3931, allocations: 63.94 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.3936, allocations: 457.8 kB / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.3938, allocations: 143.2 kB / 1.071 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.3941, allocations: 163.3 kB / 1.071 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.3943, allocations: 175.2 kB / 1.071 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.3943, allocations: 39.94 kB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.068e-05/0.3944, allocations: 32 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3945, allocations: 99.61 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.3947, allocations: 215 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.3952, allocations: 0.5449 MB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3952, allocations: 7.938 kB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3952, allocations: 0 / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3953, allocations: 0 / 1.072 GB, free: 7.199 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001079/0.3963, allocations: 0.7045 MB / 1.073 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3964, allocations: 8.031 kB / 1.073 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.3965, allocations: 44.38 kB / 1.073 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.397, allocations: 370.1 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.397, allocations: 12.81 kB / 1.073 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.3971, allocations: 20.38 kB / 1.073 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.3974, allocations: 207.6 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3975, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.3975, allocations: 11.94 kB / 1.073 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3975, allocations: 11.94 kB / 1.073 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.3979, allocations: 161.7 kB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.3991, allocations: 0.8662 MB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.3994, allocations: 158.5 kB / 1.074 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.3997, allocations: 120.8 kB / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3997, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3997, allocations: 30.56 kB / 1.074 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.3997, allocations: 4 kB / 1.074 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0006028/0.4003, allocations: 251.4 kB / 1.075 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4004, allocations: 59.34 kB / 1.075 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.4009, allocations: 425.7 kB / 1.075 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4009, allocations: 25.7 kB / 1.075 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.401, allocations: 212.1 kB / 1.075 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.4011, allocations: 59.11 kB / 1.075 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.4012, allocations: 33.72 kB / 1.075 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4013, allocations: 342.8 kB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.4015, allocations: 55.97 kB / 1.076 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.4016, allocations: 63.95 kB / 1.076 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.4019, allocations: 126.4 kB / 1.076 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4019, allocations: 0 / 1.076 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003774/0.4023, allocations: 215.1 kB / 1.076 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4023, allocations: 4 kB / 1.076 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4024, allocations: 7.984 kB / 1.076 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.4024, allocations: 11.94 kB / 1.076 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.4027, allocations: 47.97 kB / 1.076 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.4027, allocations: 0 / 1.076 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.4028, allocations: 23.83 kB / 1.076 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4029, allocations: 7.938 kB / 1.076 GB, free: 2.32 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 (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.0001798/0.4031, allocations: 163.8 kB / 1.076 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.4031, allocations: 35.53 kB / 1.077 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-05/0.4032, allocations: 51.52 kB / 1.077 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4032, allocations: 0 / 1.077 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4032, allocations: 0 / 1.077 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4032, allocations: 7.938 kB / 1.077 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.4037, allocations: 369.4 kB / 1.077 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4037, allocations: 0 / 1.077 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.4039, allocations: 55.95 kB / 1.077 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.404, allocations: 0 / 1.077 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.404, allocations: 11.94 kB / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.404, allocations: 0 / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.404, allocations: 3.938 kB / 1.077 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.4047, allocations: 378.9 kB / 1.077 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-05/0.4048, allocations: 124.6 kB / 1.077 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.4048, allocations: 7.938 kB / 1.077 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.405, allocations: 4 kB / 1.077 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.405, allocations: 16.05 kB / 1.078 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.4051, allocations: 4 kB / 1.078 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003328/0.4054, allocations: 303.1 kB / 1.078 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4054, allocations: 0 / 1.078 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003079/0.4057, allocations: 75.84 kB / 1.078 GB, free: 0.6445 MB / 0.8419 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.0001664/0.4059, allocations: 107.7 kB / 1.078 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.4063, allocations: 153.2 kB / 1.078 GB, free: 392 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4063, allocations: 0 / 1.078 GB, free: 392 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4065, allocations: 79.91 kB / 1.078 GB, free: 312 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.4071, allocations: 110.2 kB / 1.078 GB, free: 208 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5574/0.9646, allocations: 0.7738 MB / 1.079 GB, free: 23.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.965, allocations: 0.7949 MB / 1.08 GB, free: 22.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.9651, allocations: 25.12 kB / 1.08 GB, free: 22.39 MB / 0.8419 GB Notification: Performance of SimCode: time 7.51e-07/0.9651, allocations: 1.438 kB / 1.08 GB, free: 22.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.0109/0.976, allocations: 4.358 MB / 1.084 GB, free: 22.09 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches