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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005834/0.005834, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00109/0.00109, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.64 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.298, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002942/0.301, allocations: 1.469 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3024, allocations: 0.9009 MB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.3025, allocations: 4 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.3027, allocations: 51.75 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.593e-05/0.3028, allocations: 11.86 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.3033, allocations: 191.6 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3035, allocations: 55.67 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.3035, allocations: 11.97 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.3036, allocations: 19.88 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.3037, allocations: 11.88 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3037, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.3041, allocations: 167.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.3041, allocations: 8 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.3041, allocations: 11.88 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.3044, allocations: 131.6 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3044, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3044, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3044, allocations: 0 / 1.091 GB, free: 14.42 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.0004431/0.3049, allocations: 367.2 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3049, allocations: 8.031 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.305, allocations: 84.12 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.3052, allocations: 263.4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.3053, allocations: 154.9 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.3054, allocations: 158.9 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.176e-05/0.3054, allocations: 109.3 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.3055, allocations: 75.28 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.3055, allocations: 150.6 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.3056, allocations: 150.6 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.3057, allocations: 158.5 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.306, allocations: 465.8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.3061, allocations: 165.1 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.3061, allocations: 80.14 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.3062, allocations: 87.22 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.3062, allocations: 113.8 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3062, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.674e-05/0.3063, allocations: 33.64 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.3064, allocations: 126.7 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3065, allocations: 138.9 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3066, allocations: 29.64 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.3066, allocations: 96.12 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.3066, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.3067, allocations: 17.72 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3068, allocations: 314.8 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.3068, allocations: 8 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.3068, allocations: 8 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.3069, allocations: 16.89 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3069, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/0.307, allocations: 53.59 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.307, allocations: 4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.307, allocations: 4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3071, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.3071, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3071, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.3071, allocations: 7.844 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3071, allocations: 4 kB / 1.094 GB, free: 10.8 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 9.956e-05/0.3072, allocations: 185.1 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.3073, allocations: 113 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.3073, allocations: 112.8 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.977e-05/0.3074, allocations: 188.3 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.954e-05/0.3075, allocations: 180.2 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.276e-05/0.3075, allocations: 176.3 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3078, allocations: 421.1 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-05/0.3078, allocations: 101 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.3079, allocations: 108.9 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.836e-05/0.3079, allocations: 184.2 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.308, allocations: 176.3 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.509e-05/0.3081, allocations: 184.2 kB / 1.096 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-05/0.3081, allocations: 180.3 kB / 1.096 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.3083, allocations: 311.7 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.3084, allocations: 189.9 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.3085, allocations: 184.2 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.3085, allocations: 105 kB / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.3086, allocations: 180.3 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.3087, allocations: 108.9 kB / 1.097 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.3087, allocations: 112.8 kB / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 0 / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002728/0.309, allocations: 28 kB / 1.098 GB, free: 7.125 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.0003024/0.3093, allocations: 219 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.938e-05/0.3094, allocations: 37.7 kB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3094, allocations: 0 / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.3094, allocations: 0 / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.3099, allocations: 471.6 kB / 1.098 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.3102, allocations: 235.1 kB / 1.098 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3105, allocations: 0.6844 MB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.3106, allocations: 4 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.3106, allocations: 7.438 kB / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3106, allocations: 0 / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of Templates: time 0.004097/0.3147, allocations: 1.516 MB / 1.101 GB, free: 3.926 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