Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008604/0.0008604, allocations: 92.16 kB / 16.02 MB, free: 80 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.001138/0.001138, allocations: 173 kB / 16.92 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 13.11 kB / 0.9035 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3835, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004823/0.3884, allocations: 3.791 MB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004067/0.3925, allocations: 2.34 MB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00068/0.3932, allocations: 8 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.3952, allocations: 0.5047 MB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3963, allocations: 222.4 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.3967, allocations: 119.9 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.398, allocations: 0.802 MB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000585/0.3987, allocations: 272.2 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.3992, allocations: 246.9 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.3996, allocations: 282.6 kB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.3996, allocations: 36 kB / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.3997, allocations: 36 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.3999, allocations: 127.5 kB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.4002, allocations: 367.9 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.4009, allocations: 0.7867 MB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4009, allocations: 0 / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4009, allocations: 0 / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4009, allocations: 0 / 1.069 GB, free: 11.04 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001302/0.4022, allocations: 0.8451 MB / 1.07 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4023, allocations: 11.97 kB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.4024, allocations: 76.09 kB / 1.07 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.403, allocations: 457.6 kB / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.403, allocations: 37.36 kB / 1.07 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.4031, allocations: 48.38 kB / 1.07 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.4039, allocations: 430.8 kB / 1.071 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4039, allocations: 0 / 1.071 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.404, allocations: 20 kB / 1.071 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.404, allocations: 12 kB / 1.071 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.4047, allocations: 383.8 kB / 1.071 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.4066, allocations: 1.539 MB / 1.073 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.4071, allocations: 339 kB / 1.073 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.4076, allocations: 326.9 kB / 1.073 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4077, allocations: 4 kB / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4077, allocations: 38.5 kB / 1.073 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/0.4077, allocations: 0 / 1.073 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.0009726/0.4087, allocations: 0.5126 MB / 1.074 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4087, allocations: 55.41 kB / 1.074 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.4093, allocations: 485.9 kB / 1.074 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.4093, allocations: 37.64 kB / 1.074 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.4095, allocations: 280.3 kB / 1.075 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4097, allocations: 145.9 kB / 1.075 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.4097, allocations: 33.7 kB / 1.075 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4099, allocations: 362.8 kB / 1.075 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.4101, allocations: 128.7 kB / 1.075 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.4104, allocations: 133.2 kB / 1.076 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.4109, allocations: 314.3 kB / 1.076 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4109, allocations: 0 / 1.076 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006474/0.4116, allocations: 408.6 kB / 1.076 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.4116, allocations: 8 kB / 1.076 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4116, allocations: 0 / 1.076 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4116, allocations: 0 / 1.076 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.4121, allocations: 127.9 kB / 1.076 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4122, allocations: 0 / 1.076 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.4125, allocations: 55.59 kB / 1.076 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.4125, allocations: 12 kB / 1.076 GB, free: 3.223 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 (46): * Single equations (assignments): 46 * 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.0002243/0.4127, allocations: 193.8 kB / 1.077 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.4128, allocations: 63.27 kB / 1.077 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.4129, allocations: 57.11 kB / 1.077 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4129, allocations: 4 kB / 1.077 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.413, allocations: 4 kB / 1.077 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.413, allocations: 3.984 kB / 1.077 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.4136, allocations: 0.5674 MB / 1.077 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4136, allocations: 0 / 1.077 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.4142, allocations: 131.7 kB / 1.077 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4142, allocations: 11.94 kB / 1.077 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.4142, allocations: 4 kB / 1.077 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4142, allocations: 8 kB / 1.077 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4142, allocations: 0 / 1.077 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4152, allocations: 0.6674 MB / 1.078 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.4154, allocations: 140.3 kB / 1.078 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.4154, allocations: 8 kB / 1.078 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.4157, allocations: 19.98 kB / 1.078 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.4158, allocations: 28.06 kB / 1.078 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.4158, allocations: 15.98 kB / 1.078 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003997/0.4162, allocations: 351.1 kB / 1.079 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4162, allocations: 0 / 1.079 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004148/0.4166, allocations: 143.6 kB / 1.079 GB, free: 0.7305 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001643/0.4168, allocations: 115.1 kB / 1.079 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006396/0.4174, allocations: 343.8 kB / 1.079 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4174, allocations: 4 kB / 1.079 GB, free: 276 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4177, allocations: 183.8 kB / 1.079 GB, free: 92 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.4185, allocations: 121.8 kB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4205, allocations: 1.532 MB / 1.081 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.421, allocations: 0.8746 MB / 1.082 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.4211, allocations: 39.44 kB / 1.082 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.4211, allocations: 0 / 1.082 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.009856/0.431, allocations: 6.735 MB / 1.088 GB, free: 6.793 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches