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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001573/0.001574, allocations: 106.4 kB / 16.37 MB, free: 6.309 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.00172/0.001721, allocations: 190.1 kB / 17.3 MB, free: 5.871 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 442.6 MB / 0.7166 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.55 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2585, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002211/0.2607, allocations: 1.297 MB / 1.028 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003924/0.2647, allocations: 3.759 MB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.2647, allocations: 4 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.2647, allocations: 3.938 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.2652, allocations: 99.48 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.2655, allocations: 139.5 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.751e-05/0.2656, allocations: 23.92 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.034e-05/0.2656, allocations: 4 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.2657, allocations: 27.91 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.2658, allocations: 39.83 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.2658, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.2663, allocations: 307.6 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.2663, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.2663, allocations: 7.938 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.2665, allocations: 127.7 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.2665, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2665, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2666, allocations: 4 kB / 1.032 GB, free: 12.14 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.0003762/0.2669, allocations: 351.4 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.267, allocations: 8.031 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.267, allocations: 0.9375 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2671, allocations: 176.3 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.2671, allocations: 4.359 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2672, allocations: 4.312 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/0.2673, allocations: 33.83 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2673, allocations: 4 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.2673, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2673, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.2673, allocations: 4 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.2675, allocations: 153.7 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.2675, allocations: 30.59 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.2675, allocations: 8.797 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.2678, allocations: 101.2 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2678, allocations: 34.5 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2678, allocations: 3.938 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.2679, allocations: 49.59 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.268, allocations: 51.41 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.2681, allocations: 101.9 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2681, allocations: 33.83 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.2681, allocations: 84.12 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.2682, allocations: 7.906 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.2682, allocations: 13.72 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2683, allocations: 310.8 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.2683, allocations: 7.938 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-06/0.2683, allocations: 0 / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.2684, allocations: 24.91 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2684, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.197e-05/0.2685, allocations: 37.7 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2685, allocations: 7.938 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2685, allocations: 0 / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2685, allocations: 4 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.2686, allocations: 0 / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2686, allocations: 7.984 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.2686, allocations: 0 / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2686, allocations: 0 / 1.034 GB, free: 10.28 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.793e-05/0.2687, allocations: 117.8 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.2687, allocations: 7.938 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.2688, allocations: 44.81 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2688, allocations: 3.938 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.2688, allocations: 0 / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.2689, allocations: 88.95 kB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.2689, allocations: 0 / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.2689, allocations: 4 kB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.2689, allocations: 4.031 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.19e-05/0.269, allocations: 116.9 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001106/0.2691, allocations: 214.8 kB / 1.035 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.028e-05/0.2692, allocations: 8 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.2692, allocations: 79.28 kB / 1.035 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of Backend: time 1.773e-06/0.2692, allocations: 4.062 kB / 1.035 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.2697, allocations: 146.2 kB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0004845/0.2702, allocations: 0.5734 MB / 1.035 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of Templates: time 0.003456/0.2736, allocations: 1.383 MB / 1.037 GB, free: 7.398 MB / 0.8106 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/jenkins1/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