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.0008289/0.0008289, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008419/0.0008419, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 8.812 kB / 0.9022 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3217, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003022/0.3248, allocations: 2.601 MB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.3272, allocations: 1.952 MB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.3274, allocations: 4 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.3285, allocations: 430.1 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.3287, allocations: 123.2 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.812e-05/0.3288, allocations: 43.95 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.3293, allocations: 425.8 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.3295, allocations: 107 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.3297, allocations: 143.4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.3299, allocations: 163.2 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.3299, allocations: 20 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.33, allocations: 16 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-05/0.3301, allocations: 75.73 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.3302, allocations: 109.5 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.3305, allocations: 438.7 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3305, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3305, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3305, allocations: 0 / 1.065 GB, free: 14.64 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.0008801/0.3314, allocations: 0.6501 MB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3315, allocations: 8.031 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.3316, allocations: 43.44 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.332, allocations: 365.1 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.332, allocations: 20.39 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.3321, allocations: 16 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.3325, allocations: 207.3 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3325, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.3325, allocations: 12 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3325, allocations: 4 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.3329, allocations: 169.7 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.3341, allocations: 0.8779 MB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.3344, allocations: 158.6 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.3346, allocations: 116.8 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.3346, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3346, allocations: 38.5 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.3347, allocations: 4 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0005629/0.3352, allocations: 266.7 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3353, allocations: 55.41 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.3357, allocations: 417.7 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3357, allocations: 29.7 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3359, allocations: 204.2 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.3359, allocations: 59.11 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.336, allocations: 4 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3361, allocations: 346.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3362, allocations: 71.89 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3364, allocations: 61.52 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3365, allocations: 67.94 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3365, allocations: 3.938 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000377/0.3369, allocations: 222.7 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.337, allocations: 8 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.337, allocations: 0 / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.337, allocations: 0 / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3372, allocations: 55.97 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3372, allocations: 7.938 kB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3374, allocations: 23.83 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3374, allocations: 8 kB / 1.069 GB, free: 9.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.3376, allocations: 161.8 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.3376, allocations: 39.48 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.3377, allocations: 39.59 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3377, allocations: 11.98 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3377, allocations: 0 / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3377, allocations: 0 / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.3381, allocations: 377.2 kB / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3381, allocations: 0 / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.3384, allocations: 59.89 kB / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3384, allocations: 0 / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.3384, allocations: 11.95 kB / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3384, allocations: 3.938 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3384, allocations: 4 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.339, allocations: 392.6 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.3391, allocations: 116.7 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.3392, allocations: 7.953 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3393, allocations: 15.98 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.3394, allocations: 11.98 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3394, allocations: 4 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003035/0.3397, allocations: 307.1 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3397, allocations: 64 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003069/0.34, allocations: 75.84 kB / 1.071 GB, free: 8.164 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.3402, allocations: 107.2 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.3405, allocations: 153 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3405, allocations: 4 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3407, allocations: 79.91 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.3413, allocations: 102.5 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3426, allocations: 0.89 MB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.343, allocations: 0.7993 MB / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.3431, allocations: 26.97 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.3432, allocations: 27.44 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3432, allocations: 0 / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.007423/0.3506, allocations: 3.573 MB / 1.076 GB, free: 2.469 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/jenkins/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