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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001534/0.001534, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.97 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2574, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002358/0.2598, allocations: 1.289 MB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.2639, allocations: 3.768 MB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.264, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.264, allocations: 3.938 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.2644, allocations: 107.5 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.2647, allocations: 131.6 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.033e-05/0.2648, allocations: 27.86 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.2648, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2649, allocations: 23.92 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.265, allocations: 35.89 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.2651, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.2655, allocations: 307.6 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.2656, allocations: 7.984 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.2656, allocations: 7.938 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.2658, allocations: 124 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2658, allocations: 3.938 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2658, allocations: 0 / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2658, allocations: 0 / 1.074 GB, free: 4.535 MB / 0.8262 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.0004251/0.2663, allocations: 351.4 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2663, allocations: 8.031 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.2664, allocations: 8.938 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2665, allocations: 176.3 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.2665, allocations: 384 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.2665, allocations: 384 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.2666, allocations: 41.77 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2666, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.2666, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2666, allocations: 4 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.2667, allocations: 4 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.2668, allocations: 157.7 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.13e-05/0.2669, allocations: 22.58 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.2669, allocations: 12.91 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.2672, allocations: 93.09 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.2672, allocations: 38.44 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.865e-06/0.2672, allocations: 4 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.2674, allocations: 49.62 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2674, allocations: 51.41 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.2675, allocations: 101.9 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2675, allocations: 25.7 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.2675, allocations: 84.12 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2676, allocations: 3.906 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.2676, allocations: 17.72 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2677, allocations: 315 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.2677, allocations: 4 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.2678, allocations: 4 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.2678, allocations: 16.8 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2678, allocations: 0 / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.313e-05/0.2679, allocations: 45.62 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2679, allocations: 8 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2679, allocations: 96 / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2679, allocations: 4 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.268, allocations: 4 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.268, allocations: 0 / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.268, allocations: 0 / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.268, allocations: 0 / 1.075 GB, free: 2.672 MB / 0.8262 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.733e-05/0.2681, allocations: 115.4 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.2681, allocations: 3.938 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.2682, allocations: 60.61 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2682, allocations: 3.984 kB / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2682, allocations: 0 / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2682, allocations: 0 / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.2683, allocations: 153.6 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2684, allocations: 3.984 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.2684, allocations: 7.938 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2684, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.2684, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2684, allocations: 256 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2684, allocations: 4 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.918e-05/0.2685, allocations: 77.08 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.2686, allocations: 81.05 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.2686, allocations: 7.938 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.2686, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.2686, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.2686, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.2687, allocations: 87.27 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2687, allocations: 4.031 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002091/0.2689, allocations: 24 kB / 1.076 GB, free: 1.953 MB / 0.8262 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.000192/0.2691, allocations: 127.8 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.4e-05/0.2692, allocations: 12 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2692, allocations: 0 / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.2692, allocations: 7.938 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.2694, allocations: 0.5625 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.2697, allocations: 139.8 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.2699, allocations: 0.6768 MB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.2699, allocations: 4 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.2699, allocations: 7.438 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2699, allocations: 7.938 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of Templates: time 0.002649/0.2726, allocations: 0.7476 MB / 1.078 GB, free: 184 kB / 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