Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001089/0.001089, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001151/0.001151, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.03 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2536, allocations: 157.4 MB / 1.052 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002215/0.2559, allocations: 1.341 MB / 1.053 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004102/0.26, allocations: 3.794 MB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.26, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.26, allocations: 4 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.2605, allocations: 91.55 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.2607, allocations: 87.75 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.2608, allocations: 23.92 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.2608, allocations: 7.938 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2609, allocations: 27.92 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.261, allocations: 43.89 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.261, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.2615, allocations: 295.6 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.2615, allocations: 3.984 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.2615, allocations: 7.938 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2617, allocations: 124 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2618, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2618, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2618, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 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.0003554/0.2621, allocations: 363.4 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2622, allocations: 8.031 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.2622, allocations: 8.922 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/0.2623, allocations: 160.4 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.2623, allocations: 384 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.2623, allocations: 4.375 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.951e-05/0.2624, allocations: 29.83 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2624, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.2625, allocations: 4 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2625, allocations: 4 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.2625, allocations: 11.98 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.2627, allocations: 161.7 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.842e-05/0.2627, allocations: 22.52 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.2628, allocations: 8.922 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.263, allocations: 101.1 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.263, allocations: 42.44 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2631, allocations: 3.938 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.2632, allocations: 45.53 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2632, allocations: 55.41 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.2633, allocations: 101.8 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2633, allocations: 25.7 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.2634, allocations: 84.27 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2634, allocations: 11.91 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.2634, allocations: 9.719 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2635, allocations: 318.8 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.2636, allocations: 0 / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.2636, allocations: 7.984 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.2636, allocations: 8.859 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2636, allocations: 0 / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.378e-05/0.2637, allocations: 53.64 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2637, allocations: 4 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2637, allocations: 0 / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2637, allocations: 0 / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.2638, allocations: 4 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2638, allocations: 3.984 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.2638, allocations: 0 / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2638, allocations: 0 / 1.059 GB, free: 1.055 MB / 0.8106 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.199e-05/0.2639, allocations: 115.4 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-06/0.2639, allocations: 7.969 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.264, allocations: 52.81 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.264, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.264, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2641, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/0.2642, allocations: 153.6 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2642, allocations: 0 / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.2642, allocations: 7.938 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2642, allocations: 0 / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2642, allocations: 4.031 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2642, allocations: 0 / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2642, allocations: 4 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.178e-05/0.2643, allocations: 65.28 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.2644, allocations: 92.98 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2644, allocations: 7.938 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.2644, allocations: 0 / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.2644, allocations: 7.969 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2644, allocations: 4.031 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.2645, allocations: 79.28 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2645, allocations: 0 / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000211/0.2647, allocations: 27.94 kB / 1.06 GB, free: 344 kB / 0.8106 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.0001796/0.2649, allocations: 135.2 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.416e-05/0.2649, allocations: 8 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.265, allocations: 0 / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.265, allocations: 8.062 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.2652, allocations: 7.938 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.2655, allocations: 137.6 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.2657, allocations: 0.6731 MB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.2657, allocations: 4.062 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.2658, allocations: 11.44 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2658, allocations: 0 / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.002641/0.2684, allocations: 0.728 MB / 1.062 GB, free: 14.58 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches