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.001546/0.001546, allocations: 111 kB / 16.41 MB, free: 6.461 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.00156/0.00156, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.487/2.487, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 151.6 MB / 1.167 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002462/1.027, allocations: 1.285 MB / 1.169 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004627/1.032, allocations: 3.762 MB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/1.032, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/1.032, allocations: 7.984 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004749/1.032, allocations: 99.48 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/1.033, allocations: 136.6 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/1.033, allocations: 35.84 kB / 1.173 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/1.033, allocations: 8 kB / 1.173 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/1.033, allocations: 23.91 kB / 1.173 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/1.033, allocations: 47.78 kB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/1.033, allocations: 0 / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/1.033, allocations: 299.6 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/1.033, allocations: 7.984 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/1.033, allocations: 7.938 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/1.034, allocations: 116.6 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.034, allocations: 4 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.754e-06/1.034, allocations: 0 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.034, allocations: 4 kB / 1.173 GB, free: 14.09 MB / 0.9044 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.0004675/1.034, allocations: 355.1 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.034, allocations: 8.922 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/1.034, allocations: 8.891 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.034, allocations: 164.3 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.034, allocations: 4.375 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/1.035, allocations: 384 / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/1.035, allocations: 37.81 kB / 1.174 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/1.035, allocations: 4 kB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/1.035, allocations: 4 kB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.035, allocations: 0 / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/1.035, allocations: 4 kB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/1.035, allocations: 153.7 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/1.035, allocations: 26.52 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/1.035, allocations: 8.922 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/1.035, allocations: 101.1 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.035, allocations: 38.5 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.035, allocations: 0 / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/1.035, allocations: 41.66 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.036, allocations: 51.41 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/1.036, allocations: 109.8 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/1.036, allocations: 25.83 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/1.036, allocations: 84.14 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/1.036, allocations: 11.89 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/1.036, allocations: 13.72 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.036, allocations: 314.8 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/1.036, allocations: 4 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/1.036, allocations: 7.938 kB / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/1.036, allocations: 12.92 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.036, allocations: 4 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.736e-05/1.036, allocations: 41.64 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.036, allocations: 7.984 kB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.036, allocations: 0 / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.036, allocations: 3.938 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/1.036, allocations: 11.94 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/1.036, allocations: 0 / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/1.036, allocations: 0 / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/1.036, allocations: 0 / 1.175 GB, free: 12.22 MB / 0.9044 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.592e-05/1.036, allocations: 113.9 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/1.036, allocations: 3.938 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.036, allocations: 52.8 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.036, allocations: 256 / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.036, allocations: 0 / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.036, allocations: 4 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/1.037, allocations: 157.7 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/1.037, allocations: 0 / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/1.037, allocations: 7.969 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.037, allocations: 7.938 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/1.037, allocations: 0 / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.037, allocations: 3.984 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.037, allocations: 4 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.258e-05/1.037, allocations: 65.08 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/1.037, allocations: 85.05 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/1.037, allocations: 3.984 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/1.037, allocations: 4.031 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/1.037, allocations: 0 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/1.037, allocations: 0 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.172e-05/1.037, allocations: 83.28 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.037, allocations: 0 / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002144/1.037, allocations: 27.92 kB / 1.175 GB, free: 11.51 MB / 0.9044 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.0002201/1.037, allocations: 127.1 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.867e-05/1.037, allocations: 23.88 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.037, allocations: 0 / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/1.038, allocations: 7.984 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/1.038, allocations: 0.5625 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/1.038, allocations: 157.3 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/1.038, allocations: 0.6768 MB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/1.038, allocations: 7.562 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/1.038, allocations: 8 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of Templates: time 0.002173/1.041, allocations: 0.7237 MB / 1.177 GB, free: 9.723 MB / 0.9044 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