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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008055/0.0008055, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009202/0.0009202, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.9 MB / 0.666 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003797, allocations: 8 kB / 0.8154 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6862, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001297/0.6875, allocations: 1.007 MB / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003741/0.6913, allocations: 3.516 MB / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.6914, allocations: 0 / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.6914, allocations: 0 / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.6918, allocations: 75.91 kB / 0.9589 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.6922, allocations: 101.9 kB / 0.959 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.6922, allocations: 26.61 kB / 0.9591 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.6923, allocations: 0 / 0.9591 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.6924, allocations: 27.36 kB / 0.9591 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.6925, allocations: 35.42 kB / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.6925, allocations: 0 / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.6929, allocations: 297 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.693, allocations: 3.984 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.693, allocations: 28.45 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.6932, allocations: 77.48 kB / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6932, allocations: 0 / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6932, allocations: 0 / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.6932, allocations: 1.375 kB / 0.9595 GB, free: 3.645 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.0002967/0.6935, allocations: 359.6 kB / 0.9599 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.6935, allocations: 13.56 kB / 0.9599 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.6936, allocations: 1.375 kB / 0.9599 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.6937, allocations: 164.4 kB / 0.96 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.6937, allocations: 1.375 kB / 0.96 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.6937, allocations: 4 kB / 0.96 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.252e-05/0.6938, allocations: 33.81 kB / 0.9601 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.6938, allocations: 0 / 0.9601 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.6938, allocations: 3.953 kB / 0.9601 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6938, allocations: 1.375 kB / 0.9601 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.6938, allocations: 4.125 kB / 0.9601 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.694, allocations: 153.8 kB / 0.9602 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.694, allocations: 28.02 kB / 0.9602 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.694, allocations: 11.61 kB / 0.9603 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.6943, allocations: 93.47 kB / 0.9603 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.6943, allocations: 39.92 kB / 0.9604 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6943, allocations: 3.938 kB / 0.9604 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.6945, allocations: 36.61 kB / 0.9604 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.6945, allocations: 63.42 kB / 0.9605 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.6946, allocations: 104.5 kB / 0.9606 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.6946, allocations: 25.7 kB / 0.9606 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.613e-05/0.6946, allocations: 85.42 kB / 0.9607 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.6946, allocations: 13.19 kB / 0.9607 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.6946, allocations: 0 / 0.9607 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.6947, allocations: 310.8 kB / 0.961 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.6947, allocations: 3.938 kB / 0.961 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.6947, allocations: 9.109 kB / 0.961 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.6947, allocations: 6.562 kB / 0.961 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6947, allocations: 0 / 0.961 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.996e-05/0.6948, allocations: 35.92 kB / 0.961 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6948, allocations: 4.5 kB / 0.9611 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6948, allocations: 1.156 kB / 0.9611 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6949, allocations: 0 / 0.9611 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.6949, allocations: 7.562 kB / 0.9611 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6949, allocations: 3.953 kB / 0.9611 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.695, allocations: 1.062 kB / 0.9611 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.695, allocations: 5.062 kB / 0.9611 GB, free: 1.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.695, allocations: 114.6 kB / 0.9612 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.695, allocations: 6.141 kB / 0.9612 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.6952, allocations: 50.34 kB / 0.9612 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6952, allocations: 1.625 kB / 0.9612 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6952, allocations: 0 / 0.9612 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6952, allocations: 3.953 kB / 0.9612 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.419e-05/0.6952, allocations: 153.9 kB / 0.9614 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6953, allocations: 0 / 0.9614 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.6953, allocations: 7.812 kB / 0.9614 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.6953, allocations: 256 / 0.9614 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.6953, allocations: 1.031 kB / 0.9614 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6953, allocations: 7.938 kB / 0.9614 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6953, allocations: 0.8438 kB / 0.9614 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.918e-05/0.6954, allocations: 67.89 kB / 0.9615 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.6954, allocations: 86.36 kB / 0.9615 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.6955, allocations: 1.719 kB / 0.9616 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.6955, allocations: 0 / 0.9616 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.6955, allocations: 0 / 0.9616 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.6955, allocations: 1.094 kB / 0.9616 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.462e-05/0.6955, allocations: 87.92 kB / 0.9616 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6955, allocations: 0 / 0.9616 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002317/0.6958, allocations: 25.03 kB / 0.9617 GB, free: 1.266 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.696, allocations: 143 kB / 0.9618 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.6961, allocations: 11.28 kB / 0.9618 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6961, allocations: 0 / 0.9618 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.6961, allocations: 3.938 kB / 0.9618 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.6963, allocations: 11.05 kB / 0.9618 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.6965, allocations: 154.5 kB / 0.962 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.171e-05/0.6966, allocations: 0.6773 MB / 0.9626 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.6967, allocations: 6.203 kB / 0.9626 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.6967, allocations: 9.625 kB / 0.9626 GB, free: 288 kB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.6967, allocations: 0 / 0.9626 GB, free: 288 kB / 0.7169 GB Notification: Performance of Templates: time 0.00303/0.6997, allocations: 0.7115 MB / 0.9633 GB, free: 15.92 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