Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001285/0.001285, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008602/0.008602, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 12 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5914, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001446/0.5929, allocations: 1.012 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004318/0.5973, allocations: 3.729 MB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.838e-05/0.5973, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.5973, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.5977, allocations: 87.55 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.598, allocations: 95.7 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.602e-05/0.5981, allocations: 23.92 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.045e-05/0.5981, allocations: 3.984 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.5982, allocations: 23.92 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.5983, allocations: 39.84 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.5984, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.5988, allocations: 307.6 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.5989, allocations: 4 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.5989, allocations: 33.64 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.5991, allocations: 121.7 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.5991, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5991, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.5991, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 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.0003501/0.5995, allocations: 347.5 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.5995, allocations: 8.031 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.5996, allocations: 12.84 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.5997, allocations: 160.4 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.5997, allocations: 4.375 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.5997, allocations: 384 / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.541e-05/0.5998, allocations: 41.56 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.5998, allocations: 0 / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.5998, allocations: 4 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5998, allocations: 0 / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.081e-05/0.5999, allocations: 4 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.6, allocations: 157.6 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.6001, allocations: 26.58 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.6001, allocations: 8.922 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.6003, allocations: 101 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.6004, allocations: 42.44 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6004, allocations: 0 / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000126/0.6005, allocations: 45.7 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.6006, allocations: 51.41 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.6006, allocations: 105.8 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.6007, allocations: 29.64 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.6007, allocations: 80.14 kB / 1.03 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.6007, allocations: 7.906 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.6007, allocations: 9.719 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6009, allocations: 318.8 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.601, allocations: 4.125 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.601, allocations: 4 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.601, allocations: 16.8 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.601, allocations: 0 / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.648e-05/0.6011, allocations: 41.64 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6011, allocations: 4 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6011, allocations: 0 / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.6011, allocations: 3.984 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.6012, allocations: 4.094 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.6012, allocations: 4 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.6012, allocations: 4 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.6012, allocations: 4 kB / 1.03 GB, free: 8.477 MB / 0.7794 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.032e-05/0.6013, allocations: 107.9 kB / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.6013, allocations: 7.844 kB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.6014, allocations: 52.75 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6014, allocations: 3.984 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.6015, allocations: 4.031 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.6015, allocations: 0 / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.6016, allocations: 153.7 kB / 1.03 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6016, allocations: 3.938 kB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.6017, allocations: 4 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6017, allocations: 0 / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.6017, allocations: 4 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6017, allocations: 0 / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6017, allocations: 0 / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.6018, allocations: 69.06 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.6018, allocations: 85.05 kB / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.6018, allocations: 7.922 kB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.6019, allocations: 0 / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.6019, allocations: 0 / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.6019, allocations: 4 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.6019, allocations: 91.47 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6019, allocations: 0 / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002086/0.6021, allocations: 20 kB / 1.031 GB, free: 7.766 MB / 0.7794 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.0001806/0.6023, allocations: 139.2 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.408e-05/0.6024, allocations: 12 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6024, allocations: 0 / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.416e-05/0.6024, allocations: 7.938 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.6026, allocations: 12.67 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.6029, allocations: 146.5 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.6031, allocations: 0.677 MB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.6031, allocations: 0 / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.6032, allocations: 11.44 kB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6032, allocations: 0 / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of Templates: time 0.002772/0.606, allocations: 0.7325 MB / 1.032 GB, free: 5.984 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches