Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007767/0.007767, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001716/0.001716, allocations: 187.3 kB / 16.67 MB, free: 5.465 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.89 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2541, allocations: 151.6 MB / 1.167 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002202/0.2563, allocations: 1.271 MB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004052/0.2604, allocations: 3.763 MB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.2604, allocations: 4 kB / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.2604, allocations: 3.938 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.2609, allocations: 103.5 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.2612, allocations: 143.4 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.2612, allocations: 27.86 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.946e-05/0.2613, allocations: 4 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.2614, allocations: 31.84 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.2615, allocations: 31.91 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.956e-06/0.2615, allocations: 0 / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.2619, allocations: 311.6 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.262, allocations: 3.938 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.262, allocations: 7.938 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2622, allocations: 123.6 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2622, allocations: 0 / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2622, allocations: 0 / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2622, allocations: 4 kB / 1.172 GB, free: 0.9062 MB / 0.92 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.0003406/0.2626, allocations: 355.1 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.2626, allocations: 8.031 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.2627, allocations: 12.83 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.062e-05/0.2627, allocations: 164.4 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.2628, allocations: 384 / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.2628, allocations: 4.375 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.2629, allocations: 37.77 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2629, allocations: 7.984 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.2629, allocations: 0 / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2629, allocations: 4 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.2629, allocations: 4 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.2631, allocations: 153.7 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.2631, allocations: 22.58 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.2632, allocations: 12.97 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.2634, allocations: 97.09 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.2634, allocations: 42.38 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.2635, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.2636, allocations: 41.64 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.2636, allocations: 51.41 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.2637, allocations: 101.9 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2637, allocations: 29.83 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.2638, allocations: 84.12 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.2638, allocations: 7.953 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.2638, allocations: 13.72 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.2639, allocations: 310.8 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.2639, allocations: 4 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.264, allocations: 11.94 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.264, allocations: 12.92 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.264, allocations: 3.938 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.163e-05/0.2641, allocations: 45.62 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.2641, allocations: 8 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2641, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.2641, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.571e-05/0.2642, allocations: 4 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.2642, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.2642, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2642, allocations: 3.984 kB / 1.174 GB, free: 15.04 MB / 0.9356 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 5.991e-05/0.2643, allocations: 125.7 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.2643, allocations: 3.938 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.2644, allocations: 44.83 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2644, allocations: 3.984 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2644, allocations: 0 / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2644, allocations: 0 / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.717e-05/0.2645, allocations: 153.7 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2645, allocations: 0 / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.2646, allocations: 11.97 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2646, allocations: 0 / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.2646, allocations: 256 / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2646, allocations: 0 / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2646, allocations: 4 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.506e-05/0.2647, allocations: 73.02 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.2647, allocations: 81.05 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.2647, allocations: 8 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.2648, allocations: 4.031 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-06/0.2648, allocations: 0 / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.2648, allocations: 0 / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.2648, allocations: 83.27 kB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.2648, allocations: 0 / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002104/0.2651, allocations: 27.88 kB / 1.174 GB, free: 14.32 MB / 0.9356 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.0001681/0.2652, allocations: 139.1 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.116e-05/0.2653, allocations: 12 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2653, allocations: 3.938 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.2653, allocations: 4 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.2655, allocations: 0 / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.2658, allocations: 127.7 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.266, allocations: 0.6768 MB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.266, allocations: 4.125 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.266, allocations: 11.44 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of SimCode: time 1.583e-06/0.2661, allocations: 0 / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.002555/0.2686, allocations: 0.7545 MB / 1.176 GB, free: 12.54 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches