Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00129/0.00129, allocations: 100.1 kB / 16.35 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.001309/0.001309, allocations: 198 kB / 17.3 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.395/1.395, 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 11.0.0-master/package.mo): time 2.471/2.471, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 66.41 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2577, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002659/0.2604, allocations: 1.495 MB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2617, allocations: 0.9033 MB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.2618, allocations: 4 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.262, allocations: 43.75 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.222e-05/0.2621, allocations: 19.8 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.2626, allocations: 188.9 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.472e-05/0.2627, allocations: 47.73 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.2628, allocations: 11.97 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.2628, allocations: 15.88 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.2629, allocations: 19.88 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2629, allocations: 4 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.2632, allocations: 167.8 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.2633, allocations: 4 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.2633, allocations: 19.88 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.2635, allocations: 123.6 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2635, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2635, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2635, allocations: 3.938 kB / 1.03 GB, free: 15.02 MB / 0.8106 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.0003359/0.2639, allocations: 367.3 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2639, allocations: 8.031 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.264, allocations: 88.11 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.2642, allocations: 263.5 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.2643, allocations: 154.9 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.2643, allocations: 154.9 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.664e-05/0.2644, allocations: 113.3 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.2644, allocations: 75.28 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.2645, allocations: 150.6 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.2645, allocations: 150.6 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.974e-05/0.2646, allocations: 158.5 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.2648, allocations: 461.9 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/0.2649, allocations: 169.1 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.265, allocations: 80.14 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.265, allocations: 83.27 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.265, allocations: 113.8 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.265, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.554e-05/0.2651, allocations: 37.55 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.2652, allocations: 134.7 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2653, allocations: 132.3 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2653, allocations: 25.7 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.2654, allocations: 100 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.2654, allocations: 0 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.2654, allocations: 17.72 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.2655, allocations: 314.8 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.2656, allocations: 7.984 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.2656, allocations: 4 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.2656, allocations: 12.86 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2656, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.2657, allocations: 49.58 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2658, allocations: 7.984 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.2658, allocations: 4 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2658, allocations: 4.062 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.2658, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2658, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.2658, allocations: 7.906 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2658, allocations: 4 kB / 1.033 GB, free: 11.41 MB / 0.8106 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.574e-05/0.2659, allocations: 185.1 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.266, allocations: 112.9 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.266, allocations: 116.8 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/0.2661, allocations: 180.3 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-05/0.2662, allocations: 184.1 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-05/0.2662, allocations: 176.3 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2664, allocations: 417.2 kB / 1.034 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.294e-05/0.2665, allocations: 104.9 kB / 1.034 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.2665, allocations: 108.9 kB / 1.035 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.262e-05/0.2666, allocations: 184.2 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.2666, allocations: 176.3 kB / 1.035 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.596e-05/0.2667, allocations: 180.3 kB / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.974e-05/0.2667, allocations: 184.2 kB / 1.035 GB, free: 9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.2669, allocations: 311.7 kB / 1.036 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.267, allocations: 193.9 kB / 1.036 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.267, allocations: 184.2 kB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.2671, allocations: 104.9 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.2672, allocations: 180.2 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.2672, allocations: 109 kB / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.2673, allocations: 103.3 kB / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2673, allocations: 0 / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002712/0.2675, allocations: 31.98 kB / 1.036 GB, free: 7.73 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.0002547/0.2678, allocations: 222.4 kB / 1.037 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.035e-05/0.2679, allocations: 37.7 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2679, allocations: 0 / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.2679, allocations: 4.062 kB / 1.037 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2683, allocations: 471.6 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.2686, allocations: 227 kB / 1.037 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2689, allocations: 0.6846 MB / 1.038 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.2689, allocations: 4 kB / 1.038 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.2689, allocations: 7.438 kB / 1.038 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2689, allocations: 0 / 1.038 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of Templates: time 0.00374/0.2727, allocations: 1.511 MB / 1.039 GB, free: 4.551 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches