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.001435/0.001435, allocations: 117.4 kB / 16.42 MB, free: 6.465 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.00158/0.00158, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.332/2.332, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.89 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7743, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002369/0.7767, allocations: 1.284 MB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005195/0.7819, allocations: 3.758 MB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.7821, allocations: 0.8438 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.7821, allocations: 0.7969 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008197/0.783, allocations: 101.4 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.7837, allocations: 140 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.7839, allocations: 24.7 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.7839, allocations: 2.734 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.7841, allocations: 30.72 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.7842, allocations: 34.25 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.7843, allocations: 0.6562 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007388/0.785, allocations: 306.1 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.785, allocations: 9.328 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.7851, allocations: 3.703 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.7854, allocations: 125.7 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7854, allocations: 3.938 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7854, allocations: 4.844 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7855, allocations: 0 / 1.094 GB, free: 1.633 MB / 0.8575 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.0004327/0.7859, allocations: 354.4 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7859, allocations: 9.453 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.786, allocations: 1.844 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/0.7861, allocations: 172 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.7861, allocations: 1.219 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.7861, allocations: 5.219 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.7862, allocations: 39.41 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.7862, allocations: 0 / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.7862, allocations: 0 / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.7863, allocations: 1 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.636e-05/0.7863, allocations: 4.734 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.7865, allocations: 152.9 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.7865, allocations: 29.58 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.7866, allocations: 16.2 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.7868, allocations: 101.5 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.7868, allocations: 35.3 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.7868, allocations: 1.094 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.787, allocations: 48.86 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.787, allocations: 57.03 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.7871, allocations: 102.4 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.7871, allocations: 25.7 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.7871, allocations: 82.25 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.7871, allocations: 8.625 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.7872, allocations: 13.67 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.7873, allocations: 313.1 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.7873, allocations: 1.719 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.7873, allocations: 11.77 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.7874, allocations: 11.36 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7874, allocations: 0 / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.038e-05/0.7875, allocations: 44.34 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.7875, allocations: 10.41 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7875, allocations: 0 / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7875, allocations: 0.9375 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.7876, allocations: 3.719 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7876, allocations: 0.8438 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.7876, allocations: 4.75 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.7876, allocations: 1.5 kB / 1.096 GB, free: 15.91 MB / 0.8731 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.958e-05/0.7877, allocations: 108.2 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.7877, allocations: 4.688 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.7878, allocations: 50.42 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.7879, allocations: 0.9375 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7879, allocations: 4.734 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.7879, allocations: 91.75 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.7879, allocations: 5.625 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.694e-05/0.788, allocations: 1.031 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.788, allocations: 1.5 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.417e-05/0.7881, allocations: 111.3 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000143/0.7882, allocations: 212.4 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.372e-05/0.7883, allocations: 15.8 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.7883, allocations: 80.42 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of Backend: time 5.81e-07/0.7883, allocations: 0 / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.7889, allocations: 139.9 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0005367/0.7894, allocations: 0.5696 MB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.004829/0.7943, allocations: 1.397 MB / 1.099 GB, free: 14.46 MB / 0.8731 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/jenkins1/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