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.001491/0.001495, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00175/0.00175, allocations: 192.6 kB / 16.25 MB, free: 6.641 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.586 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.345/2.345, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 71.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5834, allocations: 140.3 MB / 0.9491 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002078/0.5855, allocations: 1.536 MB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009721/0.5865, allocations: 0.8943 MB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.5866, allocations: 2.75 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.5868, allocations: 46.72 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.517e-05/0.5868, allocations: 21.25 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.5872, allocations: 180.8 kB / 0.9517 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.5873, allocations: 48.11 kB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.5874, allocations: 7.562 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.5874, allocations: 19.59 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.067e-05/0.5875, allocations: 15.55 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.5875, allocations: 1.25 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.5877, allocations: 146.9 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.5877, allocations: 7.938 kB / 0.952 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.5878, allocations: 15.53 kB / 0.952 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.5879, allocations: 130.5 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.588, allocations: 1.156 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.588, allocations: 4 kB / 0.9521 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.588, allocations: 0 / 0.9521 GB, free: 6.75 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.0002419/0.5882, allocations: 374.9 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.5883, allocations: 9.312 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.5883, allocations: 82.78 kB / 0.9525 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.5884, allocations: 255.9 kB / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.5884, allocations: 154.9 kB / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.5885, allocations: 160.2 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.256e-05/0.5885, allocations: 106.4 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5885, allocations: 75.28 kB / 0.9533 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5886, allocations: 150.6 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.5886, allocations: 155.8 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.5886, allocations: 154.5 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.5888, allocations: 469.8 kB / 0.9542 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.5888, allocations: 166.8 kB / 0.9543 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.5888, allocations: 80.14 kB / 0.9544 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.5888, allocations: 79.27 kB / 0.9545 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5889, allocations: 120 kB / 0.9546 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5889, allocations: 0 / 0.9546 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.318e-05/0.5889, allocations: 35.55 kB / 0.9546 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.589, allocations: 126.7 kB / 0.9547 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.5891, allocations: 133.5 kB / 0.9549 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-06/0.5891, allocations: 25.7 kB / 0.9549 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.5891, allocations: 91.16 kB / 0.955 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.5891, allocations: 4 kB / 0.955 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.5892, allocations: 17.88 kB / 0.955 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.5892, allocations: 312.2 kB / 0.9553 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.5892, allocations: 11.14 kB / 0.9553 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.5893, allocations: 2.188 kB / 0.9553 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.5893, allocations: 14.45 kB / 0.9553 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5893, allocations: 0 / 0.9553 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.398e-05/0.5894, allocations: 49.92 kB / 0.9554 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5894, allocations: 10.86 kB / 0.9554 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5894, allocations: 9.406 kB / 0.9554 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.5894, allocations: 0 / 0.9554 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/0.5894, allocations: 5.375 kB / 0.9554 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.5895, allocations: 0 / 0.9554 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.5895, allocations: 0 / 0.9554 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.5895, allocations: 1.438 kB / 0.9554 GB, free: 3.266 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 4.548e-05/0.5895, allocations: 187.9 kB / 0.9556 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.5896, allocations: 111.7 kB / 0.9557 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.5896, allocations: 121.7 kB / 0.9558 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.5896, allocations: 181.8 kB / 0.956 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.5897, allocations: 181.5 kB / 0.9561 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.5897, allocations: 181.5 kB / 0.9563 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.5898, allocations: 411.3 kB / 0.9567 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.5898, allocations: 114.5 kB / 0.9568 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.5898, allocations: 108.9 kB / 0.9569 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.021e-05/0.5899, allocations: 185.4 kB / 0.9571 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.5899, allocations: 177.3 kB / 0.9573 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.981e-05/0.5899, allocations: 177.2 kB / 0.9574 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-05/0.5899, allocations: 185.5 kB / 0.9576 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.46e-05/0.59, allocations: 314 kB / 0.9579 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.59, allocations: 183.5 kB / 0.9581 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.5901, allocations: 181.7 kB / 0.9583 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.5901, allocations: 104.9 kB / 0.9584 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.5902, allocations: 185.3 kB / 0.9585 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.5903, allocations: 107 kB / 0.9586 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.5903, allocations: 101.7 kB / 0.9587 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5903, allocations: 0 / 0.9587 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002699/0.5906, allocations: 36.98 kB / 0.9588 GB, free: 15.65 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.0002518/0.5909, allocations: 211.3 kB / 0.959 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.217e-05/0.5909, allocations: 40.02 kB / 0.959 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.591, allocations: 0 / 0.959 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.591, allocations: 1.188 kB / 0.959 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.5914, allocations: 460.8 kB / 0.9594 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.5917, allocations: 247.6 kB / 0.9597 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.5919, allocations: 0.689 MB / 0.9604 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.5919, allocations: 1.375 kB / 0.9604 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.5919, allocations: 9.625 kB / 0.9604 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.5919, allocations: 0 / 0.9604 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.003424/0.5954, allocations: 1.524 MB / 0.9619 GB, free: 13.25 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