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.004822/0.004822, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001177/0.001177, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.287/2.287, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7796, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002116/0.7817, allocations: 1.294 MB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00387/0.7856, allocations: 3.758 MB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.7857, allocations: 0.6562 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.7857, allocations: 0.6562 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.7862, allocations: 102.3 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.7866, allocations: 139.6 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.7866, allocations: 28.56 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.7867, allocations: 3.422 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.7868, allocations: 25.91 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.7869, allocations: 38.8 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.7869, allocations: 0.875 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.7875, allocations: 305.9 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.7875, allocations: 13.42 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.7875, allocations: 3.688 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.7878, allocations: 122.3 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7878, allocations: 0 / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7878, allocations: 0 / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.7878, allocations: 0.9062 kB / 1.094 GB, free: 1.645 MB / 0.8575 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.0003256/0.7881, allocations: 355.8 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.7882, allocations: 10.05 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.7882, allocations: 2.75 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.67e-05/0.7883, allocations: 171.1 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.7883, allocations: 5.344 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.7883, allocations: 5.312 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.144e-05/0.7884, allocations: 34.8 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.7884, allocations: 0 / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.7884, allocations: 1 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.7884, allocations: 0.5625 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/0.7885, allocations: 8.969 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.7886, allocations: 152.4 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.7887, allocations: 30.52 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.7887, allocations: 7.578 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.7889, allocations: 96.72 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.789, allocations: 35.86 kB / 1.094 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.789, allocations: 0 / 1.094 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.7891, allocations: 50.84 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.7892, allocations: 52.34 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.7892, allocations: 102.6 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.7892, allocations: 25.7 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.7893, allocations: 86.16 kB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.7893, allocations: 13.48 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.7893, allocations: 17.2 kB / 1.095 GB, free: 304 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.7894, allocations: 312.5 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.7894, allocations: 7.203 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.7895, allocations: 2.312 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.7895, allocations: 15.09 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7895, allocations: 0.7812 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.575e-05/0.7896, allocations: 48.55 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7896, allocations: 6.359 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.7896, allocations: 0 / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7896, allocations: 0 / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/0.7897, allocations: 9.078 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.7897, allocations: 3.984 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.7897, allocations: 4.656 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.7897, allocations: 1.422 kB / 1.095 GB, free: 15.91 MB / 0.8731 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 7.502e-05/0.7898, allocations: 108.2 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.7898, allocations: 9.641 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.79, allocations: 50.3 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.79, allocations: 9.922 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.79, allocations: 0 / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.79, allocations: 0 / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.7901, allocations: 153.6 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7901, allocations: 0 / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.7902, allocations: 8.375 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.7902, allocations: 0 / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.7902, allocations: 1.531 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7902, allocations: 1 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7902, allocations: 0 / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.821e-05/0.7903, allocations: 66.12 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.7903, allocations: 84 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.7904, allocations: 1.438 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.7904, allocations: 0.8438 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.7904, allocations: 5.453 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.7904, allocations: 2.453 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.7905, allocations: 83.88 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7905, allocations: 0 / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002287/0.7907, allocations: 31.02 kB / 1.096 GB, free: 15.28 MB / 0.8731 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.0002139/0.7909, allocations: 128.6 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.097e-05/0.791, allocations: 13.28 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.791, allocations: 0 / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.791, allocations: 4.719 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.7913, allocations: 9.703 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.7916, allocations: 138.5 kB / 1.096 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.7918, allocations: 0.6756 MB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.7919, allocations: 2.062 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.7919, allocations: 9.594 kB / 1.097 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.7919, allocations: 0 / 1.097 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.00324/0.7952, allocations: 0.7526 MB / 1.097 GB, free: 14.27 MB / 0.8731 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