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.001673/0.001673, allocations: 109.3 kB / 15.7 MB, free: 132 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.001839/0.001839, allocations: 196.8 kB / 16.63 MB, free: 6.609 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.362/1.362, allocations: 222.9 MB / 240.3 MB, free: 4.344 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.367/2.367, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.64 kB / 0.9509 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2995, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002527/0.3021, allocations: 1.472 MB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3036, allocations: 0.9009 MB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.3037, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.3039, allocations: 43.77 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.037e-05/0.3039, allocations: 19.84 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.3045, allocations: 189 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.607e-05/0.3046, allocations: 55.66 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.3047, allocations: 4 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.3047, allocations: 23.86 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.3048, allocations: 19.86 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3048, allocations: 0 / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.3051, allocations: 171.8 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.3052, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.3052, allocations: 19.86 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3054, allocations: 123.6 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3054, allocations: 4 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3054, allocations: 4 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3054, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 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.0004148/0.3059, allocations: 367.2 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3059, allocations: 8.031 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.306, allocations: 84.12 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3062, allocations: 263.4 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.778e-05/0.3063, allocations: 158.9 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.3064, allocations: 150.9 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.448e-05/0.3064, allocations: 113.3 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.3065, allocations: 75.28 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.3066, allocations: 150.6 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.3067, allocations: 154.6 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.178e-05/0.3067, allocations: 158.5 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.3072, allocations: 465.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3074, allocations: 165.1 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.3074, allocations: 80.14 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3075, allocations: 87.27 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.3075, allocations: 109.8 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3075, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.553e-05/0.3076, allocations: 33.64 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3077, allocations: 126.7 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3078, allocations: 142.9 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3079, allocations: 29.64 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.3079, allocations: 92.12 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.3079, allocations: 0 / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.308, allocations: 17.72 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3081, allocations: 318.8 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.3081, allocations: 11.94 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.3081, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.3082, allocations: 12.86 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3082, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.3083, allocations: 57.59 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3083, allocations: 4 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.3083, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3084, allocations: 4 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3084, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3084, allocations: 3.984 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.3084, allocations: 7.844 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3084, allocations: 0 / 1.094 GB, free: 10.87 MB / 0.8575 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.933e-05/0.3085, allocations: 185.1 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.3086, allocations: 112.9 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/0.3087, allocations: 116.8 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.098e-05/0.3087, allocations: 180.3 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.969e-05/0.3088, allocations: 184.2 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/0.3088, allocations: 176.3 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3091, allocations: 421.1 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/0.3091, allocations: 105 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.3092, allocations: 104.9 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.3093, allocations: 180.2 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.3094, allocations: 180.2 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-05/0.3095, allocations: 184.2 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001338/0.3096, allocations: 180.3 kB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.3097, allocations: 307.7 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.3099, allocations: 193.9 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.31, allocations: 180.2 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3101, allocations: 113 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.3102, allocations: 180.3 kB / 1.097 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.3103, allocations: 108.9 kB / 1.098 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.235e-05/0.3104, allocations: 105.4 kB / 1.098 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3104, allocations: 0 / 1.098 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003347/0.3107, allocations: 32 kB / 1.098 GB, free: 7.191 MB / 0.8575 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.00037/0.3111, allocations: 230.9 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.832e-05/0.3112, allocations: 29.7 kB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3112, allocations: 0 / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3112, allocations: 0 / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.3117, allocations: 471.6 kB / 1.098 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.312, allocations: 227.1 kB / 1.099 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.3122, allocations: 0.6807 MB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.3123, allocations: 7.922 kB / 1.099 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.3123, allocations: 11.44 kB / 1.099 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3123, allocations: 0 / 1.099 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of Templates: time 0.003928/0.3162, allocations: 1.507 MB / 1.101 GB, free: 3.992 MB / 0.8575 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/jenkins/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