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.001539/0.001539, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.806/1.806, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.407/2.407, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6618, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002257/0.6641, allocations: 1.464 MB / 0.951 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.6651, allocations: 0.9115 MB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.6652, allocations: 2.438 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.6654, allocations: 38.48 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.443e-05/0.6654, allocations: 21.84 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.6659, allocations: 198.2 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.666, allocations: 55.67 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.666, allocations: 2.562 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.6661, allocations: 16.72 kB / 0.9522 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.992e-05/0.6661, allocations: 19.7 kB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.6661, allocations: 0 / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.6664, allocations: 142.7 kB / 0.9524 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.6665, allocations: 10.22 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.6665, allocations: 23.17 kB / 0.9524 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.6667, allocations: 122.2 kB / 0.9525 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6667, allocations: 1.188 kB / 0.9525 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6667, allocations: 0 / 0.9525 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.6667, allocations: 0 / 0.9525 GB, free: 6.957 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.000263/0.667, allocations: 370.8 kB / 0.9529 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.667, allocations: 13.84 kB / 0.9529 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.6671, allocations: 86.77 kB / 0.953 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.6672, allocations: 260.9 kB / 0.9532 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.6672, allocations: 150.9 kB / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.6673, allocations: 152.2 kB / 0.9535 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.962e-05/0.6673, allocations: 105.3 kB / 0.9536 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.6673, allocations: 80.33 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.6674, allocations: 150.6 kB / 0.9538 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.6674, allocations: 156.2 kB / 0.954 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.6674, allocations: 158.5 kB / 0.9541 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.6676, allocations: 465.4 kB / 0.9546 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/0.6676, allocations: 170.3 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.6677, allocations: 84.14 kB / 0.9548 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.6677, allocations: 75.28 kB / 0.9549 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.6677, allocations: 119 kB / 0.955 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.6677, allocations: 0 / 0.955 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.113e-05/0.6678, allocations: 32.17 kB / 0.955 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.6678, allocations: 128 kB / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.6679, allocations: 137.3 kB / 0.9553 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.6679, allocations: 25.7 kB / 0.9553 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.668, allocations: 91.17 kB / 0.9554 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.668, allocations: 0 / 0.9554 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.668, allocations: 17.83 kB / 0.9554 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.668, allocations: 316.4 kB / 0.9557 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.6681, allocations: 3.156 kB / 0.9557 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.6681, allocations: 6.484 kB / 0.9557 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.6681, allocations: 22.17 kB / 0.9558 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6681, allocations: 0 / 0.9558 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.6682, allocations: 50.17 kB / 0.9558 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6683, allocations: 9.375 kB / 0.9558 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.6683, allocations: 1.656 kB / 0.9558 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6683, allocations: 3.984 kB / 0.9558 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.6683, allocations: 0 / 0.9558 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.6683, allocations: 1.562 kB / 0.9558 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.6683, allocations: 0 / 0.9558 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.6683, allocations: 1.719 kB / 0.9558 GB, free: 3.473 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.17e-05/0.6684, allocations: 190.6 kB / 0.956 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.6684, allocations: 119.8 kB / 0.9561 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.6685, allocations: 119.8 kB / 0.9562 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.6685, allocations: 180.2 kB / 0.9564 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.6685, allocations: 177.1 kB / 0.9566 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.6686, allocations: 181.4 kB / 0.9568 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.6687, allocations: 416.4 kB / 0.9571 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.6687, allocations: 109 kB / 0.9573 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.6687, allocations: 110.4 kB / 0.9574 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/0.6687, allocations: 177 kB / 0.9575 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.6688, allocations: 177.5 kB / 0.9577 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.109e-05/0.6688, allocations: 185.1 kB / 0.9579 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-05/0.6688, allocations: 181.3 kB / 0.958 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.913e-05/0.6689, allocations: 309.5 kB / 0.9583 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.6689, allocations: 183.6 kB / 0.9585 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.669, allocations: 193.8 kB / 0.9587 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.669, allocations: 102.7 kB / 0.9588 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.669, allocations: 180.2 kB / 0.959 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.6691, allocations: 106.5 kB / 0.9591 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.6692, allocations: 107 kB / 0.9592 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6692, allocations: 0 / 0.9592 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002702/0.6694, allocations: 36.3 kB / 0.9592 GB, free: 15.86 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.000274/0.6697, allocations: 218.8 kB / 0.9594 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.6698, allocations: 41.09 kB / 0.9595 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6698, allocations: 3.938 kB / 0.9595 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.6698, allocations: 0 / 0.9595 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.6703, allocations: 469.4 kB / 0.9599 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.6706, allocations: 226.1 kB / 0.9601 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.6708, allocations: 0.6879 MB / 0.9608 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.6709, allocations: 2.094 kB / 0.9608 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.6709, allocations: 13.41 kB / 0.9608 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6709, allocations: 0 / 0.9608 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.003643/0.6745, allocations: 1.514 MB / 0.9623 GB, free: 13.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