Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001372/0.001372, allocations: 107 kB / 16.36 MB, free: 6.336 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.001426/0.001426, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.265/2.265, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 66.7 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2606, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002321/0.2629, allocations: 1.471 MB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.264, allocations: 0.9125 MB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.2641, allocations: 4 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2643, allocations: 47.73 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.648e-05/0.2643, allocations: 11.88 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.2648, allocations: 200.8 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.2649, allocations: 51.67 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.2649, allocations: 11.98 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.265, allocations: 15.88 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.022e-05/0.265, allocations: 15.86 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.265, allocations: 4 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.2653, allocations: 167.8 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.2654, allocations: 7.984 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2654, allocations: 15.88 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.2656, allocations: 123.6 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2656, allocations: 0 / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2656, allocations: 0 / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2656, allocations: 4 kB / 1.022 GB, free: 6.773 MB / 0.795 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.0002986/0.2659, allocations: 367.2 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.2659, allocations: 8.922 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.266, allocations: 84.12 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.2662, allocations: 271.4 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.2662, allocations: 150.9 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.2663, allocations: 154.9 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.418e-05/0.2663, allocations: 109.3 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2664, allocations: 75.28 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.2664, allocations: 154.5 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.2665, allocations: 150.6 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.247e-05/0.2665, allocations: 154.5 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.2668, allocations: 465.9 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.2668, allocations: 169.1 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.2668, allocations: 80.14 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2669, allocations: 75.28 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.2669, allocations: 117.8 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2669, allocations: 0 / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 5.922e-05/0.267, allocations: 33.55 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.267, allocations: 134.7 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2671, allocations: 132.5 kB / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.2672, allocations: 25.7 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.2672, allocations: 100 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.2672, allocations: 7.938 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.2673, allocations: 13.72 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.2673, allocations: 318.8 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.2674, allocations: 4 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.2674, allocations: 4 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.2674, allocations: 12.86 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2674, allocations: 0 / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001143/0.2675, allocations: 57.59 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2676, allocations: 4 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.2676, allocations: 8.062 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2676, allocations: 0 / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.2676, allocations: 0 / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2676, allocations: 3.984 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.2676, allocations: 3.906 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.2677, allocations: 4 kB / 1.025 GB, free: 3.16 MB / 0.795 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 7.155e-05/0.2677, allocations: 185.1 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.2678, allocations: 116.8 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.2678, allocations: 112.9 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/0.2679, allocations: 180.3 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/0.2679, allocations: 180.2 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.633e-05/0.268, allocations: 180.2 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.2682, allocations: 417.2 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/0.2682, allocations: 105 kB / 1.026 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.2682, allocations: 104.9 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.818e-05/0.2683, allocations: 184.2 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.2684, allocations: 184.2 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.683e-05/0.2684, allocations: 180.2 kB / 1.027 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.292e-05/0.2685, allocations: 180.3 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.2686, allocations: 319.6 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.2686, allocations: 189.9 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.2687, allocations: 184.2 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.2688, allocations: 105 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.2689, allocations: 180.3 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.2689, allocations: 108.9 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.2689, allocations: 103.3 kB / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.302e-06/0.269, allocations: 0 / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002398/0.2692, allocations: 31.94 kB / 1.028 GB, free: 15.48 MB / 0.8106 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.0002214/0.2694, allocations: 214.4 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.077e-05/0.2695, allocations: 41.7 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2695, allocations: 4.062 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.2695, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2699, allocations: 470.4 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.2701, allocations: 227 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.2703, allocations: 0.6807 MB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.2704, allocations: 7.984 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-06/0.2704, allocations: 7.438 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2704, allocations: 0 / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of Templates: time 0.5582/0.8286, allocations: 1.509 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches