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.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001576/0.001576, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.586/2.586, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.84 kB / 0.8685 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5704, allocations: 151.6 MB / 1.017 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002176/0.5726, allocations: 1.358 MB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003953/0.5766, allocations: 3.764 MB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.5766, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.5766, allocations: 3.938 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.5771, allocations: 83.61 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.5773, allocations: 95.75 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.21e-05/0.5774, allocations: 27.86 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.5774, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.5775, allocations: 27.84 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.5776, allocations: 35.91 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.5776, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.5781, allocations: 315.5 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.5781, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.5782, allocations: 7.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.5784, allocations: 125.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5784, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5784, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.5784, allocations: 0 / 1.022 GB, free: 13 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.0003652/0.5788, allocations: 355.5 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5788, allocations: 8.031 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.5788, allocations: 4.938 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.579, allocations: 168.4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.579, allocations: 384 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.579, allocations: 384 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.386e-05/0.5791, allocations: 33.83 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.5791, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.5791, allocations: 3.984 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5791, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.5791, allocations: 11.94 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.5793, allocations: 161.6 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.5794, allocations: 22.61 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.5794, allocations: 12.91 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/0.5796, allocations: 97.03 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.5797, allocations: 38.5 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5797, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001322/0.5798, allocations: 49.53 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.5799, allocations: 51.41 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/0.5799, allocations: 101.9 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.5799, allocations: 25.7 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.58, allocations: 84.14 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.58, allocations: 3.984 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.58, allocations: 17.62 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.5801, allocations: 315 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.5801, allocations: 8 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-06/0.5802, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.5802, allocations: 12.86 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5802, allocations: 3.938 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.384e-05/0.5803, allocations: 45.62 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5803, allocations: 8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5803, allocations: 96 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5803, allocations: 7.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.5804, allocations: 4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.5804, allocations: 3.984 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.5804, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.5804, allocations: 0 / 1.024 GB, free: 11.13 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 5.826e-05/0.5805, allocations: 106.4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.5805, allocations: 11.92 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.5806, allocations: 49.02 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.5806, allocations: 4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5806, allocations: 4 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5806, allocations: 3.984 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.057e-05/0.5807, allocations: 149.7 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5807, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.5808, allocations: 11.92 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5808, allocations: 0 / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.5808, allocations: 0 / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5808, allocations: 0 / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5808, allocations: 3.938 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.798e-05/0.5809, allocations: 73.02 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.5809, allocations: 85.03 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5809, allocations: 4 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.765e-05/0.581, allocations: 4 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.581, allocations: 0 / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.581, allocations: 0 / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.4e-05/0.581, allocations: 83.27 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.581, allocations: 4.031 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002055/0.5812, allocations: 24 kB / 1.024 GB, free: 10.42 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.0001836/0.5814, allocations: 135.2 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.61e-05/0.5815, allocations: 7.984 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5815, allocations: 4 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.5815, allocations: 4 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.5818, allocations: 3.938 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.582, allocations: 129.6 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.5822, allocations: 0.6809 MB / 1.025 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.5823, allocations: 3.938 kB / 1.025 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.5823, allocations: 15.44 kB / 1.025 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5823, allocations: 3.938 kB / 1.025 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of Templates: time 0.002577/0.5849, allocations: 0.7433 MB / 1.026 GB, free: 8.648 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