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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001141/0.001141, allocations: 92.16 kB / 16.02 MB, free: 80 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.001563/0.001563, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004024, allocations: 15.98 kB / 0.8735 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7888, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001527/0.7904, allocations: 1.02 MB / 1.025 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004609/0.795, allocations: 3.729 MB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.795, allocations: 0 / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.7951, allocations: 0 / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.7955, allocations: 87.55 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.7958, allocations: 91.77 kB / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.7959, allocations: 27.91 kB / 1.029 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.7959, allocations: 4 kB / 1.029 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.7961, allocations: 19.92 kB / 1.029 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.7962, allocations: 43.83 kB / 1.029 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.7962, allocations: 4 kB / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.7967, allocations: 299.6 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.7967, allocations: 0 / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.7967, allocations: 33.64 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.7969, allocations: 81.84 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7969, allocations: 4 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7969, allocations: 0 / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7969, allocations: 0 / 1.029 GB, free: 10.37 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.0004395/0.7974, allocations: 351.5 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.7974, allocations: 15.97 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.7975, allocations: 4.844 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.7976, allocations: 168.3 kB / 1.03 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.7977, allocations: 384 / 1.03 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.7977, allocations: 384 / 1.03 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.7978, allocations: 41.81 kB / 1.03 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7978, allocations: 0 / 1.03 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7978, allocations: 4 kB / 1.03 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.7978, allocations: 0 / 1.03 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.7979, allocations: 4 kB / 1.03 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.7981, allocations: 157.6 kB / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.7982, allocations: 26.55 kB / 1.03 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.7982, allocations: 8.859 kB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.7984, allocations: 105.1 kB / 1.03 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.7985, allocations: 34.5 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7985, allocations: 0 / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/0.7987, allocations: 37.7 kB / 1.03 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.7987, allocations: 55.41 kB / 1.03 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.7988, allocations: 105.9 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.7988, allocations: 25.7 kB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.7989, allocations: 88.14 kB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.7989, allocations: 3.906 kB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.7989, allocations: 9.719 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7991, allocations: 314.8 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.7991, allocations: 11.94 kB / 1.031 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.7991, allocations: 0 / 1.031 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.7991, allocations: 16.92 kB / 1.031 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7992, allocations: 0 / 1.031 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.339e-05/0.7992, allocations: 41.64 kB / 1.031 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7993, allocations: 8 kB / 1.031 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7993, allocations: 0 / 1.031 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7993, allocations: 0 / 1.031 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.7993, allocations: 11.92 kB / 1.031 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7994, allocations: 0 / 1.031 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.7994, allocations: 0 / 1.031 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.7994, allocations: 11.95 kB / 1.031 GB, free: 8.496 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 8.084e-05/0.7995, allocations: 106.4 kB / 1.031 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.7995, allocations: 11.84 kB / 1.031 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.7996, allocations: 44.81 kB / 1.031 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7996, allocations: 4 kB / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7996, allocations: 0 / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.7996, allocations: 0 / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.7998, allocations: 157.9 kB / 1.031 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.7998, allocations: 8.031 kB / 1.031 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.7998, allocations: 7.938 kB / 1.031 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.7998, allocations: 3.938 kB / 1.031 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.7998, allocations: 0 / 1.031 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7998, allocations: 0 / 1.031 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7998, allocations: 0 / 1.031 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.258e-05/0.7999, allocations: 65.12 kB / 1.031 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.8, allocations: 81.05 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.8, allocations: 8.031 kB / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.68e-05/0.8, allocations: 7.984 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.8001, allocations: 0 / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.8001, allocations: 0 / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.8001, allocations: 79.28 kB / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8001, allocations: 0 / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002084/0.8003, allocations: 24 kB / 1.031 GB, free: 7.793 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.0002111/0.8006, allocations: 139.1 kB / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.138e-05/0.8006, allocations: 11.94 kB / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8006, allocations: 0 / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.8007, allocations: 11.94 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.8009, allocations: 8.859 kB / 1.031 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.8012, allocations: 174 kB / 1.032 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.8015, allocations: 0.6811 MB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.8016, allocations: 11.44 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8016, allocations: 0 / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of Templates: time 0.002203/0.8038, allocations: 0.7104 MB / 1.033 GB, free: 5.992 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/jenkins1/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