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.0009839/0.0009836, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001429/0.00143, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.439/2.439, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 15.92 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6773, allocations: 142.4 MB / 0.955 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001777/0.6791, allocations: 1.016 MB / 0.956 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005792/0.685, allocations: 3.721 MB / 0.9597 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.685, allocations: 4 kB / 0.9597 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.6851, allocations: 1.344 kB / 0.9597 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006054/0.6857, allocations: 92.05 kB / 0.9598 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.6862, allocations: 93.25 kB / 0.9599 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.6863, allocations: 23.8 kB / 0.9599 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.6863, allocations: 9.469 kB / 0.9599 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.6865, allocations: 26.59 kB / 0.9599 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.6866, allocations: 43.77 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.6867, allocations: 1.125 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000659/0.6873, allocations: 300.2 kB / 0.9602 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.6874, allocations: 0.875 kB / 0.9602 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.6874, allocations: 36.64 kB / 0.9603 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.6877, allocations: 117.8 kB / 0.9604 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6877, allocations: 0 / 0.9604 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.514e-06/0.6877, allocations: 0 / 0.9604 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.6877, allocations: 4 kB / 0.9604 GB, free: 3.465 MB / 0.7169 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.0004164/0.6882, allocations: 357.1 kB / 0.9607 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.6882, allocations: 9.625 kB / 0.9607 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.6883, allocations: 2.312 kB / 0.9607 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.6884, allocations: 169.7 kB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.6884, allocations: 384 / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.6884, allocations: 1.75 kB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.6886, allocations: 41.89 kB / 0.9609 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6886, allocations: 4 kB / 0.9609 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.6886, allocations: 0 / 0.9609 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.6886, allocations: 1.375 kB / 0.961 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.6887, allocations: 6.734 kB / 0.961 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.6888, allocations: 149.8 kB / 0.9611 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.6889, allocations: 25.44 kB / 0.9611 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.6889, allocations: 11.61 kB / 0.9611 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.6892, allocations: 97.47 kB / 0.9612 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.6892, allocations: 39.81 kB / 0.9613 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.562e-06/0.6893, allocations: 0 / 0.9613 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.6894, allocations: 44.69 kB / 0.9613 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.6895, allocations: 51.41 kB / 0.9614 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.6896, allocations: 96.73 kB / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.6896, allocations: 37.81 kB / 0.9615 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.6896, allocations: 81.52 kB / 0.9616 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.6896, allocations: 7.844 kB / 0.9616 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.6897, allocations: 11.09 kB / 0.9616 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.6897, allocations: 316.2 kB / 0.9619 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.6898, allocations: 5.312 kB / 0.9619 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.6898, allocations: 2.75 kB / 0.9619 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/0.6898, allocations: 14.36 kB / 0.9619 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6898, allocations: 4 kB / 0.9619 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.978e-05/0.6899, allocations: 47.25 kB / 0.962 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6899, allocations: 6.75 kB / 0.962 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.69, allocations: 3.938 kB / 0.962 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.69, allocations: 1.375 kB / 0.962 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.69, allocations: 2.75 kB / 0.962 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6901, allocations: 0 / 0.962 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.6901, allocations: 1.375 kB / 0.962 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.6901, allocations: 1.375 kB / 0.962 GB, free: 1.719 MB / 0.7169 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 6.126e-05/0.6902, allocations: 115.2 kB / 0.9621 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.6902, allocations: 9.219 kB / 0.9621 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.6903, allocations: 50.39 kB / 0.9621 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6903, allocations: 9.344 kB / 0.9621 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6903, allocations: 0 / 0.9621 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6904, allocations: 0 / 0.9621 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.454e-05/0.6904, allocations: 150 kB / 0.9623 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6905, allocations: 1.375 kB / 0.9623 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.6905, allocations: 14.72 kB / 0.9623 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6905, allocations: 0 / 0.9623 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.6905, allocations: 1.375 kB / 0.9623 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6905, allocations: 0 / 0.9623 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6905, allocations: 0 / 0.9623 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.655e-05/0.6906, allocations: 68.06 kB / 0.9624 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.6907, allocations: 86.42 kB / 0.9625 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.6907, allocations: 1.375 kB / 0.9625 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.6907, allocations: 4.031 kB / 0.9625 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.6907, allocations: 1.375 kB / 0.9625 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.6908, allocations: 1.375 kB / 0.9625 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.966e-05/0.6908, allocations: 82.02 kB / 0.9625 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6908, allocations: 1.375 kB / 0.9625 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003124/0.6911, allocations: 20.5 kB / 0.9626 GB, free: 1.066 MB / 0.7169 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.0002299/0.6914, allocations: 138.9 kB / 0.9627 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.28e-05/0.6915, allocations: 12.25 kB / 0.9627 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6915, allocations: 0 / 0.9627 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.6915, allocations: 12 kB / 0.9627 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.6918, allocations: 9.312 kB / 0.9627 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.6922, allocations: 146.6 kB / 0.9629 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.6923, allocations: 0.6773 MB / 0.9635 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.6923, allocations: 5.359 kB / 0.9635 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.6924, allocations: 10.19 kB / 0.9635 GB, free: 88 kB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.6924, allocations: 0 / 0.9635 GB, free: 88 kB / 0.7169 GB Notification: Performance of Templates: time 0.004758/0.6971, allocations: 0.728 MB / 0.9643 GB, free: 15.71 MB / 0.7325 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/jenkins/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