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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001097/0.001098, allocations: 98.88 kB / 16.02 MB, free: 76 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.00151/0.00151, allocations: 182.9 kB / 16.92 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.524/1.524, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.942/2.942, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 11.06 kB / 0.9035 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3767, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003764/0.3805, allocations: 2.717 MB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.3839, allocations: 2.087 MB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.3843, allocations: 8 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.3861, allocations: 474.1 kB / 1.065 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.3866, allocations: 131.1 kB / 1.065 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.3868, allocations: 55.95 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000707/0.3875, allocations: 461.8 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.3878, allocations: 131.8 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.3881, allocations: 135.4 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.3884, allocations: 171.1 kB / 1.066 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.3885, allocations: 16 kB / 1.066 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.3886, allocations: 20 kB / 1.066 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3887, allocations: 79.62 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.3889, allocations: 224.6 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.3893, allocations: 442.7 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3894, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3894, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.3894, allocations: 4 kB / 1.066 GB, free: 13.79 MB / 0.8262 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.00113/0.3905, allocations: 0.6438 MB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3906, allocations: 11.97 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3907, allocations: 52.38 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.3913, allocations: 370.1 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3913, allocations: 16.81 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.3914, allocations: 24.31 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.3919, allocations: 207.6 kB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3919, allocations: 4 kB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.3919, allocations: 8 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3919, allocations: 4 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.3924, allocations: 177.6 kB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.3937, allocations: 0.874 MB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3941, allocations: 156.2 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.3943, allocations: 120.8 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3943, allocations: 4 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.3944, allocations: 30.56 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 3.627e-06/0.3944, allocations: 0 / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0006701/0.3951, allocations: 286.9 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3951, allocations: 51.41 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.3956, allocations: 417.7 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3957, allocations: 29.7 kB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3958, allocations: 204.2 kB / 1.07 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.071e-05/0.3959, allocations: 71.08 kB / 1.07 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.396, allocations: 17.72 kB / 1.07 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3961, allocations: 350.8 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3963, allocations: 55.97 kB / 1.07 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3964, allocations: 71.95 kB / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.3968, allocations: 139.1 kB / 1.071 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3968, allocations: 3.938 kB / 1.071 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004331/0.3972, allocations: 218.7 kB / 1.071 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3972, allocations: 4 kB / 1.071 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3972, allocations: 3.938 kB / 1.071 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3973, allocations: 7.938 kB / 1.071 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3975, allocations: 59.95 kB / 1.071 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3976, allocations: 3.938 kB / 1.071 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.3978, allocations: 31.83 kB / 1.071 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3978, allocations: 8 kB / 1.071 GB, free: 8.875 MB / 0.8262 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.0001791/0.398, allocations: 157.8 kB / 1.071 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.398, allocations: 39.52 kB / 1.071 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.712e-05/0.3981, allocations: 43.53 kB / 1.071 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3981, allocations: 0 / 1.071 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.3982, allocations: 8 kB / 1.071 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3982, allocations: 0 / 1.071 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.3986, allocations: 377.2 kB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3986, allocations: 0 / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.3989, allocations: 55.91 kB / 1.072 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3989, allocations: 0 / 1.072 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.3989, allocations: 7.938 kB / 1.072 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3989, allocations: 4 kB / 1.072 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3989, allocations: 0 / 1.072 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.3996, allocations: 387 kB / 1.072 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3997, allocations: 124.7 kB / 1.072 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.3998, allocations: 7.938 kB / 1.072 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.4, allocations: 19.92 kB / 1.072 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.4, allocations: 11.98 kB / 1.072 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.4001, allocations: 4 kB / 1.072 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003498/0.4004, allocations: 303.1 kB / 1.072 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4004, allocations: 0 / 1.072 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003301/0.4008, allocations: 71.84 kB / 1.072 GB, free: 7.191 MB / 0.8262 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.0001587/0.4009, allocations: 115.2 kB / 1.073 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.4013, allocations: 154 kB / 1.073 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4013, allocations: 4 kB / 1.073 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.4015, allocations: 83.89 kB / 1.073 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.4022, allocations: 96.39 kB / 1.073 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.4037, allocations: 0.9637 MB / 1.074 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.4041, allocations: 0.7914 MB / 1.075 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.4042, allocations: 27.44 kB / 1.075 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of SimCode: time 9.92e-07/0.4042, allocations: 0 / 1.075 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of Templates: time 0.008021/0.4122, allocations: 4.299 MB / 1.079 GB, free: 0.6445 MB / 0.8262 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