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.001686/0.001685, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.001903/0.001903, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.336/1.336, 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.451/2.451, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002512, allocations: 67.97 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2792, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002546/0.2818, allocations: 1.48 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2831, allocations: 0.915 MB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.2832, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2834, allocations: 43.81 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.919e-05/0.2834, allocations: 15.8 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.2839, allocations: 203.4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.284, allocations: 43.73 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.284, allocations: 7.984 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.2841, allocations: 19.92 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.083e-05/0.2842, allocations: 19.81 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.2842, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.2845, allocations: 171.8 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.2845, allocations: 8 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.2846, allocations: 19.88 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.2848, allocations: 123.6 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2848, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2848, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2848, allocations: 0 / 1.03 GB, free: 14.98 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.000342/0.2852, allocations: 363.3 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2852, allocations: 16.02 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.2853, allocations: 80.12 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.2855, allocations: 267.4 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.2856, allocations: 154.9 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.2856, allocations: 154.9 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.609e-05/0.2857, allocations: 109.2 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.2857, allocations: 75.28 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.2858, allocations: 154.6 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.2858, allocations: 154.5 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.2859, allocations: 150.6 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.2862, allocations: 457.9 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.216e-05/0.2863, allocations: 173.1 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.2863, allocations: 92.12 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.2863, allocations: 75.28 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.2864, allocations: 113.8 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.2864, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.907e-05/0.2865, allocations: 33.61 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.2865, allocations: 134.7 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2866, allocations: 140 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2867, allocations: 25.7 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.2867, allocations: 96.03 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.2867, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.2868, allocations: 17.72 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2869, allocations: 318.8 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.2869, allocations: 3.984 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.2869, allocations: 4 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.287, allocations: 16.89 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.287, allocations: 0 / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001112/0.2871, allocations: 53.56 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2871, allocations: 8 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.2871, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2872, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.2872, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2872, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.2872, allocations: 7.906 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.2872, allocations: 0 / 1.033 GB, free: 11.37 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 9.131e-05/0.2873, allocations: 189.1 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.2874, allocations: 113 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.2874, allocations: 120.8 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.947e-05/0.2875, allocations: 176.3 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-05/0.2875, allocations: 176.3 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.846e-05/0.2876, allocations: 184.2 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.2878, allocations: 417.2 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/0.2879, allocations: 104.9 kB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.2879, allocations: 112.9 kB / 1.035 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.723e-05/0.288, allocations: 176.3 kB / 1.035 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.288, allocations: 184.2 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.193e-05/0.2881, allocations: 180.2 kB / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.068e-05/0.2882, allocations: 184.2 kB / 1.035 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.2883, allocations: 303.7 kB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.2884, allocations: 193.9 kB / 1.036 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.2885, allocations: 188.2 kB / 1.036 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.2886, allocations: 108.9 kB / 1.036 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.2886, allocations: 176.3 kB / 1.036 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.2887, allocations: 104.9 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.2887, allocations: 107.2 kB / 1.036 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2887, allocations: 0 / 1.036 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002677/0.289, allocations: 28 kB / 1.036 GB, free: 7.695 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.0002705/0.2893, allocations: 226.4 kB / 1.037 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.2894, allocations: 33.7 kB / 1.037 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2894, allocations: 0 / 1.037 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.2894, allocations: 4 kB / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.2898, allocations: 466.4 kB / 1.037 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.2901, allocations: 231 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.2904, allocations: 0.6807 MB / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.2904, allocations: 4 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.2904, allocations: 11.44 kB / 1.038 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2904, allocations: 0 / 1.038 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of Templates: time 0.003772/0.2942, allocations: 1.515 MB / 1.039 GB, free: 4.512 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 cvode -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