Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008106/0.008106, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001982/0.001982, allocations: 189 kB / 16.67 MB, free: 5.938 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.7985, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002562/0.8011, allocations: 1.482 MB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.8025, allocations: 0.9072 MB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.8026, allocations: 4 kB / 1.169 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.8028, allocations: 39.75 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.112e-05/0.8029, allocations: 23.84 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.8034, allocations: 190.8 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.8035, allocations: 47.67 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.8036, allocations: 7.984 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.8036, allocations: 15.88 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.55e-05/0.8037, allocations: 15.94 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.8037, allocations: 0 / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.8041, allocations: 171.8 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.8041, allocations: 7.922 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.8041, allocations: 19.88 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.8043, allocations: 120.2 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8044, allocations: 7.938 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8044, allocations: 0 / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8044, allocations: 0 / 1.17 GB, free: 0.7852 MB / 0.8887 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.0003767/0.8047, allocations: 371 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.8048, allocations: 8.922 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.8049, allocations: 88.16 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.8051, allocations: 267.5 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.8052, allocations: 150.9 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.8052, allocations: 150.9 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.917e-05/0.8053, allocations: 105.3 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.8053, allocations: 75.28 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.8054, allocations: 154.6 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.8055, allocations: 158.5 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.8055, allocations: 166.5 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.8058, allocations: 453.9 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.677e-05/0.8059, allocations: 173.1 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.8059, allocations: 84.14 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.806, allocations: 79.27 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.806, allocations: 109.8 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.806, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.605e-05/0.8061, allocations: 37.59 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.8062, allocations: 130.7 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.8063, allocations: 136.3 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.8063, allocations: 25.7 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.8064, allocations: 96.08 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.8064, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.8064, allocations: 17.72 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8066, allocations: 314.8 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.8066, allocations: 7.984 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.8066, allocations: 7.984 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.8067, allocations: 16.86 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8067, allocations: 0 / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.8068, allocations: 49.58 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8068, allocations: 7.984 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.8068, allocations: 0 / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.8068, allocations: 7.938 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.8069, allocations: 0 / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.8069, allocations: 0 / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.8069, allocations: 3.953 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.8069, allocations: 4.062 kB / 1.173 GB, free: 13.17 MB / 0.9044 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 0.0001042/0.807, allocations: 185.1 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.8071, allocations: 112.9 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.8071, allocations: 112.8 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/0.8072, allocations: 176.3 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.87e-05/0.8073, allocations: 188.2 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.208e-05/0.8073, allocations: 180.3 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.8076, allocations: 421.1 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.24e-05/0.8076, allocations: 101 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.8077, allocations: 104.9 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/0.8077, allocations: 180.2 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.8078, allocations: 184.3 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.925e-05/0.8079, allocations: 184.2 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-05/0.8079, allocations: 180.2 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.8081, allocations: 303.7 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.8082, allocations: 201.9 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.8082, allocations: 184.2 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.8083, allocations: 101 kB / 1.176 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.8084, allocations: 180.3 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.8084, allocations: 108.9 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.898e-05/0.8085, allocations: 99.27 kB / 1.176 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8085, allocations: 0 / 1.176 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002776/0.8088, allocations: 43.86 kB / 1.176 GB, free: 9.48 MB / 0.9044 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.0003035/0.8091, allocations: 214.4 kB / 1.176 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.481e-05/0.8092, allocations: 37.69 kB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8092, allocations: 4 kB / 1.177 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.8092, allocations: 0 / 1.177 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.8097, allocations: 471 kB / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.81, allocations: 241 kB / 1.177 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.8102, allocations: 0.6819 MB / 1.178 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.8103, allocations: 11.94 kB / 1.178 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.8103, allocations: 7.438 kB / 1.178 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8103, allocations: 0 / 1.178 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.003713/0.814, allocations: 1.51 MB / 1.179 GB, free: 6.277 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches