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.001102/0.001102, allocations: 118.6 kB / 16.37 MB, free: 5.984 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.001096/0.001096, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.03 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2575, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002263/0.2598, allocations: 1.292 MB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004125/0.2639, allocations: 3.758 MB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.264, allocations: 0 / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.264, allocations: 3.938 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.2645, allocations: 99.48 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.2648, allocations: 142.7 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.2649, allocations: 31.84 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.265, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2651, allocations: 27.86 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.2652, allocations: 31.89 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.2652, allocations: 4 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.2656, allocations: 307.6 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.2656, allocations: 7.938 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.2657, allocations: 7.938 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.2659, allocations: 123.8 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2659, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2659, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2659, allocations: 0 / 1.032 GB, free: 12.23 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.0004265/0.2663, allocations: 355.4 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2664, allocations: 12.03 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.2664, allocations: 4.875 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2665, allocations: 168.4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2665, allocations: 8.375 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.2666, allocations: 4.359 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.679e-05/0.2667, allocations: 37.77 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.2667, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2667, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2667, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.2667, allocations: 7.984 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.2669, allocations: 149.7 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.2669, allocations: 30.56 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.267, allocations: 8.922 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.2672, allocations: 97.09 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.2672, allocations: 38.44 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2672, allocations: 0 / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/0.2674, allocations: 53.59 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.2674, allocations: 51.41 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.2675, allocations: 97.86 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2675, allocations: 29.69 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.2675, allocations: 84.14 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.2676, allocations: 7.906 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.2676, allocations: 13.72 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.2677, allocations: 311 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.2677, allocations: 4 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.2677, allocations: 8 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.151e-05/0.2678, allocations: 16.78 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2678, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.367e-05/0.2679, allocations: 45.64 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2679, allocations: 4 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2679, allocations: 0 / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.2679, allocations: 3.938 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.268, allocations: 8.094 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.268, allocations: 0 / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.268, allocations: 0 / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.268, allocations: 4 kB / 1.034 GB, free: 10.36 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.104e-05/0.2681, allocations: 113.8 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.2681, allocations: 3.938 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2682, allocations: 52.75 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2682, allocations: 32 / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2682, allocations: 4 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2682, allocations: 0 / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.419e-05/0.2683, allocations: 161.6 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2683, allocations: 0 / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.2684, allocations: 8.188 kB / 1.034 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2684, allocations: 0 / 1.034 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2684, allocations: 8 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2684, allocations: 0 / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2684, allocations: 0 / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.622e-05/0.2685, allocations: 72.97 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.2685, allocations: 85.05 kB / 1.035 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.2685, allocations: 0 / 1.035 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.2686, allocations: 4 kB / 1.035 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.2686, allocations: 0 / 1.035 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2686, allocations: 4 kB / 1.035 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.2686, allocations: 83.27 kB / 1.035 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2686, allocations: 0 / 1.035 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000203/0.2688, allocations: 24.03 kB / 1.035 GB, free: 9.645 MB / 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.0001785/0.269, allocations: 127.2 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.894e-05/0.2691, allocations: 12 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2691, allocations: 0 / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.2691, allocations: 7.938 kB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.2693, allocations: 4 kB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.2696, allocations: 131.7 kB / 1.035 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2698, allocations: 0.6768 MB / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.2698, allocations: 3.938 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.2698, allocations: 11.44 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2698, allocations: 0 / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of Templates: time 0.002734/0.2726, allocations: 0.7515 MB / 1.036 GB, free: 7.875 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 -s gbode -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