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.001305/0.001305, allocations: 118.5 kB / 16.37 MB, free: 5.984 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.001327/0.001327, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 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.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.3 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2616, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002383/0.264, allocations: 1.485 MB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2653, allocations: 0.9125 MB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.2653, allocations: 3.938 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.2655, allocations: 35.83 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.2656, allocations: 27.78 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.2661, allocations: 192.8 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.2662, allocations: 51.72 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.2662, allocations: 8 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.2663, allocations: 11.94 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.147e-05/0.2663, allocations: 23.86 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.2663, allocations: 0 / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.2667, allocations: 175.7 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.2667, allocations: 0 / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.2667, allocations: 27.8 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2669, allocations: 115.7 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2669, allocations: 0 / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2669, allocations: 0 / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.267, allocations: 0 / 1.022 GB, free: 6.824 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.000317/0.2673, allocations: 371.2 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2673, allocations: 12.92 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.2674, allocations: 84.12 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.2676, allocations: 259.5 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.2676, allocations: 154.9 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.2677, allocations: 154.9 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.076e-05/0.2678, allocations: 113.2 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.2678, allocations: 75.28 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.2678, allocations: 150.6 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/0.2679, allocations: 150.6 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.2679, allocations: 154.6 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.2682, allocations: 469.9 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.2683, allocations: 173.1 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.2683, allocations: 80.14 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2683, allocations: 75.28 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.2684, allocations: 113.8 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2684, allocations: 0 / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.289e-05/0.2685, allocations: 37.59 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.2685, allocations: 130.7 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2686, allocations: 132.8 kB / 1.025 GB, free: 3.797 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2687, allocations: 25.7 kB / 1.025 GB, free: 3.766 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.2687, allocations: 100 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.2687, allocations: 3.938 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2688, allocations: 17.72 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.2689, allocations: 326.8 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.2689, allocations: 0 / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.2689, allocations: 8 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.269, allocations: 8.859 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.269, allocations: 0 / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.2691, allocations: 49.62 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2691, allocations: 8 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.2691, allocations: 4.062 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2691, allocations: 0 / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.2691, allocations: 0 / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2691, allocations: 3.938 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.2692, allocations: 7.906 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.2692, allocations: 0 / 1.025 GB, free: 3.211 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 8.657e-05/0.2693, allocations: 185.1 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.2693, allocations: 112.9 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.2694, allocations: 116.8 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.183e-05/0.2694, allocations: 180.2 kB / 1.026 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-05/0.2695, allocations: 176.3 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/0.2696, allocations: 180.2 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.2698, allocations: 417.2 kB / 1.026 GB, free: 1.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/0.2698, allocations: 101 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.2698, allocations: 116.9 kB / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-05/0.2699, allocations: 176.3 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.27, allocations: 184.1 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.036e-05/0.27, allocations: 184.2 kB / 1.027 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.292e-05/0.2701, allocations: 184.2 kB / 1.027 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.2702, allocations: 307.7 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.2703, allocations: 201.9 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.2703, allocations: 180.3 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.2704, allocations: 101 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.2705, allocations: 184.2 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.2705, allocations: 105 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.2706, allocations: 103.2 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2706, allocations: 0 / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002671/0.2709, allocations: 28 kB / 1.028 GB, free: 15.54 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.000257/0.2711, allocations: 218.4 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.555e-05/0.2712, allocations: 45.64 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2712, allocations: 4.062 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.2712, allocations: 0 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2716, allocations: 472 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.2719, allocations: 223 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2721, allocations: 0.6845 MB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.2721, allocations: 7.984 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.2722, allocations: 7.438 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2722, allocations: 0 / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of Templates: time 0.003552/0.2757, allocations: 1.499 MB / 1.032 GB, free: 12.34 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 gbode -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