Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 115.5 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.086/3.086, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9551/0.957, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002511/0.9596, allocations: 1.485 MB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.961, allocations: 0.8975 MB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.9611, allocations: 5.688 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.9613, allocations: 43.08 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.183e-05/0.9613, allocations: 17.7 kB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.9619, allocations: 201.6 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.962, allocations: 55.73 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.9621, allocations: 2.969 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.356e-05/0.9622, allocations: 18.94 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.9622, allocations: 11.64 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.9622, allocations: 0.7812 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.9627, allocations: 173.3 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.9627, allocations: 9.891 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.9627, allocations: 16.52 kB / 1.265 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.963, allocations: 124.9 kB / 1.266 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.963, allocations: 0.7969 kB / 1.266 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.963, allocations: 4.812 kB / 1.266 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.963, allocations: 3.938 kB / 1.266 GB, free: 6.113 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003039/0.9633, allocations: 369.2 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.9634, allocations: 9.922 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.9634, allocations: 82.2 kB / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.9636, allocations: 268.6 kB / 1.266 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.9637, allocations: 154.9 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.9637, allocations: 152.8 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.558e-05/0.9637, allocations: 114.3 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.9638, allocations: 79.22 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.9638, allocations: 151.4 kB / 1.267 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.9638, allocations: 151.6 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.9638, allocations: 154.6 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.964, allocations: 460.6 kB / 1.268 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.77e-05/0.9641, allocations: 170.8 kB / 1.268 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.9641, allocations: 89.14 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.9641, allocations: 79.28 kB / 1.268 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.9642, allocations: 111.4 kB / 1.268 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.9642, allocations: 0 / 1.268 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.608e-05/0.9642, allocations: 34.03 kB / 1.268 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.9643, allocations: 127.3 kB / 1.268 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.9644, allocations: 134.1 kB / 1.268 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.9644, allocations: 25.7 kB / 1.268 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.9644, allocations: 96.91 kB / 1.268 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.9645, allocations: 0 / 1.268 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.9645, allocations: 23.53 kB / 1.268 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.9645, allocations: 315.1 kB / 1.269 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.9646, allocations: 10.03 kB / 1.269 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.9646, allocations: 3.938 kB / 1.269 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.9646, allocations: 9.797 kB / 1.269 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.9646, allocations: 1.219 kB / 1.269 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/0.9647, allocations: 56.19 kB / 1.269 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9648, allocations: 4.812 kB / 1.269 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.9648, allocations: 2.797 kB / 1.269 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.9648, allocations: 0 / 1.269 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.9648, allocations: 1.359 kB / 1.269 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.9648, allocations: 3.938 kB / 1.269 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.9648, allocations: 2.234 kB / 1.269 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.9649, allocations: 0.8125 kB / 1.269 GB, free: 2.668 MB / 0.9981 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.502e-05/0.9649, allocations: 191.5 kB / 1.269 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.965, allocations: 116.3 kB / 1.269 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.965, allocations: 109.1 kB / 1.269 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.965, allocations: 182.2 kB / 1.269 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-05/0.9651, allocations: 181.5 kB / 1.27 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-05/0.9652, allocations: 185.7 kB / 1.27 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.9655, allocations: 414.1 kB / 1.27 GB, free: 17.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-05/0.9655, allocations: 102.5 kB / 1.27 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.9656, allocations: 110.5 kB / 1.27 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.233e-05/0.9657, allocations: 182.3 kB / 1.271 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.9658, allocations: 181.5 kB / 1.271 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-05/0.9659, allocations: 177.6 kB / 1.271 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.626e-05/0.966, allocations: 182.3 kB / 1.271 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.9661, allocations: 311 kB / 1.271 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.9663, allocations: 189.1 kB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.9664, allocations: 178.4 kB / 1.272 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.9665, allocations: 111.5 kB / 1.272 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.9665, allocations: 181.6 kB / 1.272 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.9666, allocations: 106.4 kB / 1.272 GB, free: 15.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.893e-05/0.9667, allocations: 100.4 kB / 1.272 GB, free: 15.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9667, allocations: 0 / 1.272 GB, free: 15.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003214/0.967, allocations: 34.23 kB / 1.272 GB, free: 15.09 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003273/0.9674, allocations: 221.6 kB / 1.272 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.9675, allocations: 40.95 kB / 1.272 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9675, allocations: 0.8125 kB / 1.272 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.9675, allocations: 0 / 1.272 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.968, allocations: 463.2 kB / 1.273 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.9683, allocations: 267.2 kB / 1.273 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.9687, allocations: 0.6826 MB / 1.274 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.9687, allocations: 9.312 kB / 1.274 GB, free: 13.47 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/0.9687, allocations: 0 / 1.274 GB, free: 13.47 MB / 1.014 GB Notification: Performance of Templates: time 0.003605/0.9723, allocations: 1.237 MB / 1.275 GB, free: 13.39 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.545048007974401]