Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001161/0.001161, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.32/2.32, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66.58 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2975, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002433/0.3, allocations: 1.283 MB / 0.9515 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004038/0.304, allocations: 3.765 MB / 0.9552 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.3041, allocations: 0 / 0.9552 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.3041, allocations: 3.984 kB / 0.9552 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.3046, allocations: 103.5 kB / 0.9553 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.305, allocations: 135.5 kB / 0.9554 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.305, allocations: 27.86 kB / 0.9555 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.3051, allocations: 0 / 0.9555 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3052, allocations: 23.91 kB / 0.9555 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.3053, allocations: 39.84 kB / 0.9555 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.3053, allocations: 4 kB / 0.9555 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.3058, allocations: 307.6 kB / 0.9558 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.3058, allocations: 4 kB / 0.9558 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.3058, allocations: 7.938 kB / 0.9558 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.306, allocations: 116 kB / 0.956 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3061, allocations: 7.938 kB / 0.956 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3061, allocations: 0 / 0.956 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3061, allocations: 0 / 0.956 GB, free: 3.008 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004145/0.3065, allocations: 351.5 kB / 0.9563 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3065, allocations: 12.03 kB / 0.9563 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.3066, allocations: 8.781 kB / 0.9563 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3067, allocations: 168.4 kB / 0.9565 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3067, allocations: 4.375 kB / 0.9565 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3067, allocations: 384 / 0.9565 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3069, allocations: 33.83 kB / 0.9565 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3069, allocations: 0 / 0.9565 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3069, allocations: 3.938 kB / 0.9565 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3069, allocations: 0 / 0.9565 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.3069, allocations: 11.98 kB / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.3071, allocations: 149.7 kB / 0.9567 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.3072, allocations: 34.53 kB / 0.9567 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.3072, allocations: 4.859 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.3074, allocations: 97.16 kB / 0.9568 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3075, allocations: 38.5 kB / 0.9568 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3075, allocations: 0 / 0.9568 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/0.3076, allocations: 49.59 kB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3077, allocations: 55.34 kB / 0.9569 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.3078, allocations: 101.9 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3078, allocations: 29.69 kB / 0.9571 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.3078, allocations: 80.14 kB / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.3079, allocations: 0 / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.3079, allocations: 21.84 kB / 0.9572 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.308, allocations: 310.8 kB / 0.9575 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.308, allocations: 4 kB / 0.9575 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/0.308, allocations: 0 / 0.9575 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.3081, allocations: 20.84 kB / 0.9575 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3081, allocations: 3.938 kB / 0.9575 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.126e-05/0.3081, allocations: 41.55 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3082, allocations: 12.03 kB / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3082, allocations: 4 kB / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3082, allocations: 256 / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.3082, allocations: 0 / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3083, allocations: 8 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.3083, allocations: 4 kB / 0.9576 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3083, allocations: 0 / 0.9576 GB, free: 1.137 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 7.218e-05/0.3084, allocations: 111.8 kB / 0.9577 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.3084, allocations: 7.938 kB / 0.9577 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.3085, allocations: 48.81 kB / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3085, allocations: 0 / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3085, allocations: 4 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3085, allocations: 0 / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.709e-05/0.3086, allocations: 153.7 kB / 0.9579 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3086, allocations: 0 / 0.9579 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.3087, allocations: 15.81 kB / 0.9579 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3087, allocations: 0 / 0.9579 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3087, allocations: 0 / 0.9579 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3087, allocations: 32 / 0.9579 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3087, allocations: 4 kB / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.751e-05/0.3088, allocations: 65.12 kB / 0.9579 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.3088, allocations: 88.89 kB / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.3089, allocations: 0 / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.3089, allocations: 0 / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.3089, allocations: 7.984 kB / 0.958 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3089, allocations: 0 / 0.958 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.3089, allocations: 91.3 kB / 0.9581 GB, free: 456 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3089, allocations: 0 / 0.9581 GB, free: 456 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001977/0.3091, allocations: 20 kB / 0.9581 GB, free: 436 kB / 0.7325 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 (2): * Single equations (assignments): 2 * 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.000196/0.3093, allocations: 131.2 kB / 0.9583 GB, free: 292 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.3094, allocations: 15.94 kB / 0.9583 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3094, allocations: 0 / 0.9583 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.3095, allocations: 7.938 kB / 0.9583 GB, free: 268 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.3097, allocations: 8.125 kB / 0.9583 GB, free: 260 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.31, allocations: 153.4 kB / 0.9584 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.3102, allocations: 0.6768 MB / 0.9591 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.3102, allocations: 7.438 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.3102, allocations: 0 / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of Templates: time 0.002189/0.3124, allocations: 0.7286 MB / 0.9598 GB, free: 14.64 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches