Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001716/0.001716, allocations: 192 kB / 16.14 MB, free: 6.711 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.05 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6015/0.6027, allocations: 140.4 MB / 0.9489 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002274/0.605, allocations: 1.542 MB / 0.9504 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.6062, allocations: 0.9302 MB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.6062, allocations: 1.344 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.6064, allocations: 43.56 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.29e-05/0.6064, allocations: 13.73 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.6068, allocations: 169.2 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.766e-05/0.6069, allocations: 56.92 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.6069, allocations: 2.062 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.607, allocations: 15.83 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.607, allocations: 19.11 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.607, allocations: 1.281 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.6073, allocations: 150 kB / 0.9518 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.6073, allocations: 5.141 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.6074, allocations: 19.77 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.6075, allocations: 125.8 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6075, allocations: 0.9688 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6076, allocations: 4 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.6076, allocations: 0 / 0.9519 GB, free: 6.984 MB / 0.7169 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.0002613/0.6078, allocations: 371 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.6079, allocations: 9.688 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.6079, allocations: 82.47 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.608, allocations: 253.7 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.6081, allocations: 154.9 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.6081, allocations: 156.3 kB / 0.9529 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.325e-05/0.6081, allocations: 109.2 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6081, allocations: 79.27 kB / 0.9531 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.6082, allocations: 155.8 kB / 0.9532 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.6082, allocations: 150.6 kB / 0.9534 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.6082, allocations: 155.8 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.6084, allocations: 461.1 kB / 0.954 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/0.6084, allocations: 174.2 kB / 0.9541 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.6084, allocations: 80.14 kB / 0.9542 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.6085, allocations: 79.28 kB / 0.9543 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.6085, allocations: 115.1 kB / 0.9544 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6085, allocations: 0 / 0.9544 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.969e-05/0.6086, allocations: 33.55 kB / 0.9544 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.6086, allocations: 126.7 kB / 0.9546 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.6087, allocations: 133 kB / 0.9547 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.6087, allocations: 25.7 kB / 0.9547 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6087, allocations: 91.25 kB / 0.9548 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.6088, allocations: 4 kB / 0.9548 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.6088, allocations: 26.28 kB / 0.9548 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.6088, allocations: 315.9 kB / 0.9551 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.6089, allocations: 7.188 kB / 0.9551 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.6089, allocations: 6.328 kB / 0.9551 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.6089, allocations: 14.33 kB / 0.9552 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6089, allocations: 0 / 0.9552 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.609, allocations: 54.12 kB / 0.9552 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.6091, allocations: 9.469 kB / 0.9552 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.6091, allocations: 5.5 kB / 0.9552 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.6091, allocations: 0 / 0.9552 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.6091, allocations: 1.219 kB / 0.9552 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6091, allocations: 0 / 0.9552 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.6092, allocations: 5.281 kB / 0.9552 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.6092, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7169 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.874e-05/0.6092, allocations: 183.5 kB / 0.9554 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.6093, allocations: 116.7 kB / 0.9555 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.6093, allocations: 118 kB / 0.9556 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.6093, allocations: 181.5 kB / 0.9558 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/0.6094, allocations: 177.4 kB / 0.956 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.6094, allocations: 181.5 kB / 0.9561 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.6095, allocations: 415.4 kB / 0.9565 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.6095, allocations: 110.4 kB / 0.9566 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.6095, allocations: 109 kB / 0.9567 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.098e-05/0.6096, allocations: 177.5 kB / 0.9569 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.6096, allocations: 185.5 kB / 0.9571 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.109e-05/0.6096, allocations: 181.4 kB / 0.9573 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-05/0.6097, allocations: 181.7 kB / 0.9574 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.918e-05/0.6097, allocations: 312.5 kB / 0.9577 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.6098, allocations: 191.4 kB / 0.9579 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.6098, allocations: 177.8 kB / 0.9581 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.6099, allocations: 106.4 kB / 0.9582 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.6099, allocations: 185.7 kB / 0.9584 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.6099, allocations: 101 kB / 0.9585 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.61, allocations: 106.4 kB / 0.9586 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.61, allocations: 0 / 0.9586 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002743/0.6103, allocations: 33.25 kB / 0.9586 GB, free: 15.89 MB / 0.7325 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.000285/0.6106, allocations: 222.4 kB / 0.9588 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.589e-05/0.6107, allocations: 40.08 kB / 0.9588 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6107, allocations: 0 / 0.9588 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.6107, allocations: 1.125 kB / 0.9588 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.6113, allocations: 0.5315 MB / 0.9594 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.6116, allocations: 233.2 kB / 0.9596 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.612, allocations: 0.681 MB / 0.9603 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.612, allocations: 2.719 kB / 0.9603 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.6121, allocations: 8.844 kB / 0.9603 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6122, allocations: 4 kB / 0.9603 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.003649/0.6158, allocations: 1.493 MB / 0.9617 GB, free: 13.44 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches