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.0007951/0.000795, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00508/0.00508, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 12.78 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2871, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001568/0.2888, allocations: 1.006 MB / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004321/0.2931, allocations: 3.747 MB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.2932, allocations: 0 / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.2932, allocations: 0 / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004295/0.2936, allocations: 95.55 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2939, allocations: 87.77 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.61e-05/0.294, allocations: 27.91 kB / 1.064 GB, free: 480 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.294, allocations: 4 kB / 1.064 GB, free: 476 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2941, allocations: 19.92 kB / 1.064 GB, free: 456 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.2942, allocations: 39.84 kB / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.2943, allocations: 0 / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.2947, allocations: 299.6 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.2948, allocations: 3.984 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.2948, allocations: 37.64 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.295, allocations: 120 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.295, allocations: 4 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.295, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.295, allocations: 0 / 1.064 GB, free: 15.95 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.0003533/0.2954, allocations: 351.5 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2955, allocations: 8.031 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.2955, allocations: 8.844 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2956, allocations: 160.4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.2956, allocations: 384 / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2956, allocations: 4.375 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.2957, allocations: 49.75 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.2957, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2957, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2958, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.2958, allocations: 4 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.296, allocations: 153.7 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.296, allocations: 18.58 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.296, allocations: 20.86 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.2963, allocations: 97.08 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2963, allocations: 34.5 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/0.2963, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.2965, allocations: 45.64 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2965, allocations: 55.47 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.2966, allocations: 109.8 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2966, allocations: 25.7 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.2967, allocations: 80.14 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2967, allocations: 3.906 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.2967, allocations: 13.72 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2969, allocations: 318.8 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.2969, allocations: 3.938 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.2969, allocations: 4 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.297, allocations: 12.92 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.297, allocations: 4 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.653e-05/0.2971, allocations: 45.55 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2971, allocations: 4 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2971, allocations: 0 / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2971, allocations: 0 / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.2972, allocations: 7.984 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2972, allocations: 0 / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.2972, allocations: 0 / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.2972, allocations: 8.031 kB / 1.066 GB, free: 14.09 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 7.293e-05/0.2973, allocations: 111.3 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.2973, allocations: 7.938 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.2974, allocations: 48.81 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2974, allocations: 3.984 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2974, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2974, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.2976, allocations: 153.7 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2976, allocations: 8 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.2976, allocations: 4.188 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2976, allocations: 0 / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.2976, allocations: 12 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2976, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2976, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.687e-05/0.2977, allocations: 65.06 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.2978, allocations: 92.98 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2978, allocations: 7.922 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/0.2978, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.2978, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.2978, allocations: 7.938 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.2979, allocations: 79.28 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2979, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002103/0.2981, allocations: 27.94 kB / 1.066 GB, free: 13.37 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.000189/0.2983, allocations: 131.2 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.372e-05/0.2984, allocations: 11.94 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2984, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.2984, allocations: 4 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2986, allocations: 15.92 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.2989, allocations: 140.9 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.2991, allocations: 0.677 MB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.2991, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.2992, allocations: 15.38 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.2992, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of Templates: time 0.002853/0.302, allocations: 0.7242 MB / 1.068 GB, free: 11.6 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