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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008523/0.0008522, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009517/0.000952, allocations: 168.7 kB / 15.95 MB, free: 204 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003964, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7086, allocations: 142.4 MB / 0.9544 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001559/0.7102, allocations: 1.184 MB / 0.9556 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.7114, allocations: 0.832 MB / 0.9564 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/0.7115, allocations: 9.969 kB / 0.9564 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.7117, allocations: 41.22 kB / 0.9565 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.7117, allocations: 18.14 kB / 0.9565 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.7123, allocations: 166.4 kB / 0.9566 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.7123, allocations: 45.81 kB / 0.9567 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.7124, allocations: 6.547 kB / 0.9567 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.7125, allocations: 11.81 kB / 0.9567 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.416e-05/0.7125, allocations: 19.12 kB / 0.9567 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.7125, allocations: 1.156 kB / 0.9567 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.7128, allocations: 138.1 kB / 0.9569 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.7129, allocations: 5.062 kB / 0.9569 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.7129, allocations: 37.84 kB / 0.9569 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.713, allocations: 81.12 kB / 0.957 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.713, allocations: 4 kB / 0.957 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.713, allocations: 0 / 0.957 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.7131, allocations: 1.188 kB / 0.957 GB, free: 5.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.0002764/0.7133, allocations: 363.3 kB / 0.9573 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7134, allocations: 8.938 kB / 0.9573 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.7134, allocations: 85.61 kB / 0.9574 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.7136, allocations: 252.2 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.7136, allocations: 158.5 kB / 0.9578 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.7136, allocations: 154.5 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.039e-05/0.7137, allocations: 112.9 kB / 0.9581 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.7137, allocations: 75.28 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.7137, allocations: 150.6 kB / 0.9583 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.7137, allocations: 150.6 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.7138, allocations: 158.5 kB / 0.9586 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.714, allocations: 465.5 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.638e-05/0.714, allocations: 169.1 kB / 0.9592 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.714, allocations: 81.55 kB / 0.9593 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.7141, allocations: 79.28 kB / 0.9593 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.7141, allocations: 111.4 kB / 0.9594 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.7141, allocations: 0 / 0.9594 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.419e-05/0.7142, allocations: 32.3 kB / 0.9595 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.7142, allocations: 130.6 kB / 0.9596 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.7143, allocations: 129.3 kB / 0.9597 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.7143, allocations: 33.64 kB / 0.9597 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.7144, allocations: 95.12 kB / 0.9598 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.7144, allocations: 0 / 0.9598 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.7144, allocations: 0 / 0.9598 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.7144, allocations: 324.1 kB / 0.9601 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.7145, allocations: 6.984 kB / 0.9602 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.7145, allocations: 3.344 kB / 0.9602 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.7145, allocations: 7.594 kB / 0.9602 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7145, allocations: 0 / 0.9602 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.7146, allocations: 50.42 kB / 0.9602 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7146, allocations: 9.5 kB / 0.9602 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.7147, allocations: 5.766 kB / 0.9602 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.7147, allocations: 0 / 0.9602 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.7147, allocations: 0 / 0.9602 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7147, allocations: 3.938 kB / 0.9602 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.7147, allocations: 1.781 kB / 0.9602 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.7147, allocations: 0 / 0.9602 GB, free: 2.531 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.7148, allocations: 188.7 kB / 0.9604 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.7148, allocations: 110.7 kB / 0.9605 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.7149, allocations: 118.4 kB / 0.9606 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.7149, allocations: 182 kB / 0.9608 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.517e-05/0.7149, allocations: 178.1 kB / 0.961 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.715, allocations: 184.2 kB / 0.9611 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.7151, allocations: 420.3 kB / 0.9615 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.7151, allocations: 105 kB / 0.9616 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.7152, allocations: 106.7 kB / 0.9618 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-05/0.7152, allocations: 176.3 kB / 0.9619 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.7152, allocations: 182 kB / 0.9621 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/0.7152, allocations: 182.2 kB / 0.9623 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-05/0.7153, allocations: 192.2 kB / 0.9625 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.7154, allocations: 309.1 kB / 0.9627 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.7155, allocations: 184 kB / 0.9629 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.7156, allocations: 186.5 kB / 0.9631 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.7157, allocations: 104.9 kB / 0.9632 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.7157, allocations: 182.5 kB / 0.9634 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.7158, allocations: 101 kB / 0.9635 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.7159, allocations: 106 kB / 0.9636 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7159, allocations: 0 / 0.9636 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002892/0.7162, allocations: 41.48 kB / 0.9636 GB, free: 14.92 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 (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.0003013/0.7165, allocations: 218.5 kB / 0.9638 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.7166, allocations: 44.38 kB / 0.9639 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7166, allocations: 0 / 0.9639 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.7166, allocations: 0 / 0.9639 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.7171, allocations: 0.5289 MB / 0.9644 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.7174, allocations: 238.4 kB / 0.9646 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.7176, allocations: 0.6908 MB / 0.9653 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.7177, allocations: 1.062 kB / 0.9653 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.7177, allocations: 14.09 kB / 0.9653 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7177, allocations: 0 / 0.9653 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.004205/0.7219, allocations: 1.449 MB / 0.9667 GB, free: 12.47 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