Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001509/0.001509, allocations: 108.7 kB / 15.99 MB, free: 6.355 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.001444/0.001445, allocations: 191.7 kB / 16.91 MB, free: 6.191 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.562/2.562, allocations: 469.8 MB / 0.7427 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 72.44 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3055, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002463/0.308, allocations: 1.345 MB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004305/0.3124, allocations: 3.739 MB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.3124, allocations: 0 / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3125, allocations: 0 / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.3129, allocations: 99.55 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.3132, allocations: 115.8 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.3133, allocations: 23.92 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.3133, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.3134, allocations: 23.91 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.3135, allocations: 47.84 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3135, allocations: 4 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.314, allocations: 303.6 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.314, allocations: 4 kB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.314, allocations: 7.938 kB / 1.07 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.3141, allocations: 76.11 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3142, allocations: 0 / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3142, allocations: 0 / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3142, allocations: 0 / 1.07 GB, free: 9.266 MB / 0.8419 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.0004013/0.3146, allocations: 363.3 kB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3146, allocations: 12.03 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.3146, allocations: 0.9375 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3148, allocations: 172.3 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3148, allocations: 8.375 kB / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3148, allocations: 384 / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.3149, allocations: 37.81 kB / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3149, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3149, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3149, allocations: 7.984 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.315, allocations: 4 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.3151, allocations: 157.6 kB / 1.071 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.3152, allocations: 26.61 kB / 1.071 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.3152, allocations: 8.859 kB / 1.071 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.3155, allocations: 105.1 kB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3155, allocations: 38.44 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3155, allocations: 0 / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.3157, allocations: 41.7 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3157, allocations: 51.41 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.3158, allocations: 105.8 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3158, allocations: 25.7 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.3159, allocations: 84.27 kB / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.3159, allocations: 11.91 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3159, allocations: 17.7 kB / 1.071 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3161, allocations: 310.8 kB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.3161, allocations: 0 / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.3161, allocations: 4 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.3161, allocations: 12.86 kB / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3161, allocations: 4 kB / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.94e-05/0.3162, allocations: 49.69 kB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3162, allocations: 4 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3162, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3162, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.3163, allocations: 7.938 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3163, allocations: 3.938 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.3163, allocations: 0 / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.3163, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8419 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.198e-05/0.3164, allocations: 107.2 kB / 1.071 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.3164, allocations: 7.969 kB / 1.071 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3165, allocations: 48.81 kB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3165, allocations: 0 / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3166, allocations: 0 / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3166, allocations: 0 / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.3167, allocations: 157.6 kB / 1.072 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3167, allocations: 4 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.3167, allocations: 3.938 kB / 1.072 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3167, allocations: 3.938 kB / 1.072 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3167, allocations: 8.281 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3167, allocations: 7.984 kB / 1.072 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3168, allocations: 0 / 1.072 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.345e-05/0.3168, allocations: 61.05 kB / 1.072 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.3169, allocations: 89.03 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.3169, allocations: 3.938 kB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.3169, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.317, allocations: 4.031 kB / 1.072 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.317, allocations: 8 kB / 1.072 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.317, allocations: 79.28 kB / 1.072 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.317, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001997/0.3172, allocations: 27.98 kB / 1.072 GB, free: 6.672 MB / 0.8419 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.0001864/0.3174, allocations: 123.2 kB / 1.072 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.849e-05/0.3175, allocations: 19.92 kB / 1.072 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3175, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.3175, allocations: 8.062 kB / 1.072 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.3177, allocations: 8.062 kB / 1.072 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.318, allocations: 157.4 kB / 1.072 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3183, allocations: 0.6768 MB / 1.073 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.3183, allocations: 11.44 kB / 1.073 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of SimCode: time 2.014e-06/0.3184, allocations: 4.062 kB / 1.073 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of Templates: time 0.00219/0.3206, allocations: 0.73 MB / 1.074 GB, free: 4.883 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches