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.0016/0.0016, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00193/0.00193, allocations: 190.3 kB / 16.25 MB, free: 6.621 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.552/2.552, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.5419, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002326/0.5443, allocations: 1.358 MB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003763/0.5481, allocations: 3.721 MB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.5481, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.5482, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.5486, allocations: 91.61 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.549, allocations: 135.4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.549, allocations: 23.92 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.5491, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.5492, allocations: 23.91 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.5493, allocations: 39.84 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.5493, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.5497, allocations: 307.6 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.5497, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.5497, allocations: 7.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.5499, allocations: 117.7 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5499, allocations: 4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.55, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.55, allocations: 0 / 1.022 GB, free: 12.89 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.0003408/0.5503, allocations: 355.5 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.5503, allocations: 8.031 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.5504, allocations: 8.844 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.5505, allocations: 164.3 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.5505, allocations: 4.375 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.5505, allocations: 384 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.469e-05/0.5506, allocations: 41.77 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5506, allocations: 3.984 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.5506, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5506, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.5507, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.5508, allocations: 153.7 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.5509, allocations: 22.58 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.5509, allocations: 12.92 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.5511, allocations: 93.09 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5511, allocations: 46.42 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.5512, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001234/0.5513, allocations: 37.7 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.5513, allocations: 51.41 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.5514, allocations: 110 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.5514, allocations: 29.64 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.5515, allocations: 80.14 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5515, allocations: 7.906 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.5515, allocations: 13.72 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.5516, allocations: 314.8 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.5516, allocations: 3.984 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.5516, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.5517, allocations: 20.86 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5517, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.182e-05/0.5518, allocations: 49.48 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5518, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5518, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.547e-06/0.5518, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.5519, allocations: 7.984 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5519, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.5519, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.5519, allocations: 4.281 kB / 1.024 GB, free: 11.02 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.419e-05/0.552, allocations: 110.4 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.552, allocations: 3.938 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.5521, allocations: 52.75 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5521, allocations: 3.984 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5521, allocations: 4 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5521, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.668e-05/0.5522, allocations: 157.7 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5522, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.5523, allocations: 7.938 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5523, allocations: 0 / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.5523, allocations: 0 / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5523, allocations: 0 / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5523, allocations: 4 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.369e-05/0.5524, allocations: 65.06 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.5524, allocations: 92.98 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.5524, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.5525, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.5525, allocations: 3.984 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.5525, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.5525, allocations: 87.22 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5525, allocations: 0 / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002219/0.5528, allocations: 31.94 kB / 1.025 GB, free: 10.3 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.0001891/0.553, allocations: 135.2 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.924e-05/0.553, allocations: 12 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.553, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.6e-05/0.5531, allocations: 7.938 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.5533, allocations: 4.734 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.5535, allocations: 139.7 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.5537, allocations: 0.6767 MB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.5538, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.5538, allocations: 15.42 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5538, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.002707/0.5565, allocations: 0.7452 MB / 1.026 GB, free: 8.52 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