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.001134/0.001134, allocations: 100.1 kB / 15.88 MB, free: 12 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.001212/0.001212, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.346/1.346, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.431/2.431, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 75.88 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6894, allocations: 140.3 MB / 0.9496 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002922/0.6924, allocations: 1.551 MB / 0.9511 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.6938, allocations: 0.9254 MB / 0.952 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.6939, allocations: 2.5 kB / 0.952 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.6941, allocations: 45.98 kB / 0.952 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.6942, allocations: 14.41 kB / 0.9521 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.6947, allocations: 167.9 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.295e-05/0.6948, allocations: 51.12 kB / 0.9523 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.6949, allocations: 7.422 kB / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.695, allocations: 16 kB / 0.9523 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.695, allocations: 15.42 kB / 0.9523 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.695, allocations: 4 kB / 0.9523 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.6954, allocations: 148.1 kB / 0.9525 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.6954, allocations: 11.91 kB / 0.9525 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.6954, allocations: 20.03 kB / 0.9525 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.6956, allocations: 80.23 kB / 0.9526 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6956, allocations: 0 / 0.9526 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6956, allocations: 0 / 0.9526 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.6956, allocations: 1.375 kB / 0.9526 GB, free: 7.09 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.0003045/0.6959, allocations: 370.7 kB / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.696, allocations: 13.53 kB / 0.9529 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.696, allocations: 82.38 kB / 0.953 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.6962, allocations: 259.1 kB / 0.9533 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.6962, allocations: 151.8 kB / 0.9534 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.6962, allocations: 154.9 kB / 0.9535 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.265e-05/0.6963, allocations: 106.8 kB / 0.9536 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.6963, allocations: 79.28 kB / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.6963, allocations: 150.6 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.6964, allocations: 156.1 kB / 0.954 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.6964, allocations: 154.5 kB / 0.9542 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.6966, allocations: 465.4 kB / 0.9546 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.7e-05/0.6967, allocations: 170.4 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.6967, allocations: 80.14 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.6967, allocations: 75.28 kB / 0.9549 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.6967, allocations: 115.2 kB / 0.955 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6967, allocations: 3.938 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.151e-05/0.6968, allocations: 40.41 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.6968, allocations: 128.2 kB / 0.9552 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.697, allocations: 136.5 kB / 0.9553 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.697, allocations: 25.7 kB / 0.9553 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.697, allocations: 86.2 kB / 0.9554 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.697, allocations: 0.8125 kB / 0.9554 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.6971, allocations: 21.86 kB / 0.9554 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.6971, allocations: 313.1 kB / 0.9557 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.6971, allocations: 10.09 kB / 0.9558 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.6972, allocations: 3.25 kB / 0.9558 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.6972, allocations: 21.59 kB / 0.9558 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6972, allocations: 0 / 0.9558 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.6973, allocations: 45.89 kB / 0.9558 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6974, allocations: 8.469 kB / 0.9558 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.6974, allocations: 2.344 kB / 0.9558 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.6974, allocations: 0 / 0.9558 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.6974, allocations: 1.406 kB / 0.9558 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6974, allocations: 4.062 kB / 0.9558 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.6974, allocations: 5.141 kB / 0.9558 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.6975, allocations: 5.094 kB / 0.9558 GB, free: 3.602 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.83e-05/0.6975, allocations: 182.4 kB / 0.956 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.6976, allocations: 116.3 kB / 0.9561 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.6976, allocations: 111 kB / 0.9562 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.6976, allocations: 185.4 kB / 0.9564 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/0.6977, allocations: 184.2 kB / 0.9566 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.6977, allocations: 177.5 kB / 0.9568 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.6978, allocations: 412.8 kB / 0.9572 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.6979, allocations: 109 kB / 0.9573 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.6979, allocations: 110.2 kB / 0.9574 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.493e-05/0.6979, allocations: 189.5 kB / 0.9575 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.6979, allocations: 181.6 kB / 0.9577 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-05/0.698, allocations: 180.2 kB / 0.9579 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.132e-05/0.698, allocations: 177.7 kB / 0.9581 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.268e-05/0.6981, allocations: 317.3 kB / 0.9584 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.6981, allocations: 184.3 kB / 0.9585 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.6981, allocations: 181.8 kB / 0.9587 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.6982, allocations: 105 kB / 0.9588 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.6983, allocations: 185.7 kB / 0.959 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.6983, allocations: 106.4 kB / 0.9591 GB, free: 92 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.6983, allocations: 105.5 kB / 0.9592 GB, free: 0 / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6983, allocations: 0 / 0.9592 GB, free: 0 / 0.7169 GB Notification: Performance of remove unused functions: time 0.000302/0.6986, allocations: 33.38 kB / 0.9592 GB, free: 15.99 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.0002868/0.6989, allocations: 210 kB / 0.9594 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.699, allocations: 40.12 kB / 0.9595 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.699, allocations: 1.406 kB / 0.9595 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.699, allocations: 3.938 kB / 0.9595 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.6996, allocations: 0.5322 MB / 0.96 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.7, allocations: 261.7 kB / 0.9602 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.7003, allocations: 0.6854 MB / 0.9609 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.7003, allocations: 8.781 kB / 0.9609 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7003, allocations: 1.594 kB / 0.9609 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of Templates: time 0.00277/0.7031, allocations: 1.233 MB / 0.9621 GB, free: 13.65 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/jenkins1/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