Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001477/0.001477, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001891/0.001891, allocations: 193.1 kB / 16.14 MB, free: 6.719 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.88 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.6238, allocations: 140.3 MB / 0.9489 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002084/0.6259, allocations: 1.356 MB / 0.9502 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003649/0.6295, allocations: 3.769 MB / 0.9539 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.6296, allocations: 0 / 0.9539 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.6296, allocations: 0 / 0.9539 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.6301, allocations: 100.8 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.6303, allocations: 97.28 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.394e-05/0.6304, allocations: 24.33 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.6304, allocations: 2.312 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.6305, allocations: 22.19 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.6306, allocations: 40.5 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.6306, allocations: 0 / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.631, allocations: 304.5 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.631, allocations: 1.531 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.6311, allocations: 14.72 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.6313, allocations: 117.2 kB / 0.9546 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6313, allocations: 0 / 0.9546 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6313, allocations: 5.062 kB / 0.9546 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.6313, allocations: 0 / 0.9546 GB, free: 4.781 MB / 0.7169 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.0002859/0.6316, allocations: 355 kB / 0.955 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.6316, allocations: 9.188 kB / 0.955 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.6317, allocations: 5.938 kB / 0.955 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.6317, allocations: 170.7 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.6318, allocations: 4.375 kB / 0.9551 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.6318, allocations: 9.469 kB / 0.9552 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.903e-05/0.6318, allocations: 32.89 kB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.6319, allocations: 1.375 kB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.6319, allocations: 0 / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6319, allocations: 0 / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.6319, allocations: 4.219 kB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.632, allocations: 153.5 kB / 0.9553 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.6321, allocations: 32.28 kB / 0.9554 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.6321, allocations: 16.25 kB / 0.9554 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.6323, allocations: 94.5 kB / 0.9555 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.6324, allocations: 35.81 kB / 0.9555 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6324, allocations: 0 / 0.9555 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001203/0.6325, allocations: 48.62 kB / 0.9556 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.6325, allocations: 52.47 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.6326, allocations: 107.5 kB / 0.9557 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.6326, allocations: 25.7 kB / 0.9557 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.454e-05/0.6326, allocations: 85.16 kB / 0.9558 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.6326, allocations: 8.969 kB / 0.9558 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.6326, allocations: 15.97 kB / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.6327, allocations: 311.9 kB / 0.9561 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.6327, allocations: 10.22 kB / 0.9561 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.6327, allocations: 3.438 kB / 0.9561 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.6328, allocations: 18.22 kB / 0.9562 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6328, allocations: 0 / 0.9562 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.643e-05/0.6328, allocations: 43.64 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.6328, allocations: 4.281 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.6329, allocations: 1.156 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.6329, allocations: 0 / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.6329, allocations: 3.406 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6329, allocations: 5.094 kB / 0.9562 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.633, allocations: 0 / 0.9562 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.633, allocations: 9.062 kB / 0.9562 GB, free: 3.016 MB / 0.7169 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 4.585e-05/0.633, allocations: 110.9 kB / 0.9563 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.633, allocations: 6.156 kB / 0.9563 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.6332, allocations: 50.78 kB / 0.9564 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6332, allocations: 0 / 0.9564 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6332, allocations: 5.688 kB / 0.9564 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6332, allocations: 0 / 0.9564 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.82e-05/0.6332, allocations: 153.5 kB / 0.9565 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6333, allocations: 0 / 0.9565 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.6333, allocations: 6.875 kB / 0.9565 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6333, allocations: 1.219 kB / 0.9565 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.6333, allocations: 0 / 0.9565 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6333, allocations: 1.25 kB / 0.9565 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6333, allocations: 0 / 0.9565 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.6334, allocations: 72.34 kB / 0.9566 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.6334, allocations: 86.27 kB / 0.9567 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.6334, allocations: 0 / 0.9567 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.547e-05/0.6335, allocations: 1.25 kB / 0.9567 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.6335, allocations: 1.281 kB / 0.9567 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.6335, allocations: 3.938 kB / 0.9567 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.295e-05/0.6335, allocations: 92.52 kB / 0.9568 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6335, allocations: 0 / 0.9568 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002135/0.6337, allocations: 21.59 kB / 0.9568 GB, free: 2.367 MB / 0.7169 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.0001773/0.6339, allocations: 134.8 kB / 0.9569 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.144e-05/0.634, allocations: 15.03 kB / 0.957 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.634, allocations: 0 / 0.957 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.634, allocations: 5.375 kB / 0.957 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.6342, allocations: 6.031 kB / 0.957 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.6345, allocations: 130.4 kB / 0.9571 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.887e-05/0.6346, allocations: 0.6778 MB / 0.9578 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.6346, allocations: 6.281 kB / 0.9578 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.6346, allocations: 9.906 kB / 0.9578 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6347, allocations: 0 / 0.9578 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.002627/0.6373, allocations: 0.7388 MB / 0.9585 GB, free: 1.035 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches