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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002367/0.002367, allocations: 169.4 kB / 22.46 MB, free: 5.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.74/1.74, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.952/2.952, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.352e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00278/0.002814, allocations: 1.309 MB / 1.001 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005275/0.008089, allocations: 3.542 MB / 1.005 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.008124, allocations: 0 / 1.005 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.00814, allocations: 0 / 1.005 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.008723, allocations: 107.4 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.009135, allocations: 135.5 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.115e-05/0.009226, allocations: 31.8 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.009268, allocations: 4 kB / 1.005 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.009424, allocations: 31.89 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.009533, allocations: 31.97 kB / 1.005 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.009547, allocations: 0 / 1.005 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.01011, allocations: 291.5 kB / 1.005 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.01012, allocations: 11.94 kB / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.01015, allocations: 4 kB / 1.006 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.01044, allocations: 143.6 kB / 1.006 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.01045, allocations: 4 kB / 1.006 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01045, allocations: 0 / 1.006 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.01046, allocations: 0 / 1.006 GB, free: 1.602 MB / 0.9512 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.0004652/0.01092, allocations: 278 kB / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.01098, allocations: 19.95 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.01101, allocations: 0.9375 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.01113, allocations: 113.8 kB / 1.006 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.01114, allocations: 384 / 1.006 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.01115, allocations: 8.312 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.01126, allocations: 30.27 kB / 1.006 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01127, allocations: 4.125 kB / 1.006 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.01128, allocations: 4.125 kB / 1.006 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.01128, allocations: 0 / 1.006 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.01132, allocations: 7.984 kB / 1.006 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.01149, allocations: 101.3 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.01156, allocations: 26.61 kB / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.01158, allocations: 4.859 kB / 1.006 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.0118, allocations: 28.03 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.01183, allocations: 30.56 kB / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.01184, allocations: 0 / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.012, allocations: 45.64 kB / 1.006 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.01204, allocations: 59.33 kB / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.01213, allocations: 101.9 kB / 1.006 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01215, allocations: 25.7 kB / 1.006 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.0122, allocations: 80.14 kB / 1.007 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.01222, allocations: 20 kB / 1.007 GB, free: 496 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.01226, allocations: 17.7 kB / 1.007 GB, free: 472 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.01241, allocations: 314.8 kB / 1.007 GB, free: 148 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.01242, allocations: 0 / 1.007 GB, free: 148 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.228e-05/0.01244, allocations: 4 kB / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.01247, allocations: 16.8 kB / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01248, allocations: 0 / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.524e-05/0.01255, allocations: 41.69 kB / 1.007 GB, free: 76 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01256, allocations: 4 kB / 1.007 GB, free: 72 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01257, allocations: 4.344 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01258, allocations: 0 / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.648e-05/0.01264, allocations: 11.94 kB / 1.007 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.01264, allocations: 0 / 1.007 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.01266, allocations: 0 / 1.007 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.01267, allocations: 11.94 kB / 1.007 GB, free: 44 kB / 0.9512 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 9.348e-05/0.01276, allocations: 106.4 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.01278, allocations: 3.953 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.01289, allocations: 52.94 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.0129, allocations: 4.031 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.0129, allocations: 3.938 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01291, allocations: 7.922 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.654e-05/0.013, allocations: 105.3 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.013, allocations: 4 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.01303, allocations: 0 / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01303, allocations: 4 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.01304, allocations: 0 / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01304, allocations: 0 / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01304, allocations: 0 / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.01314, allocations: 73 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.01316, allocations: 4.031 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.01317, allocations: 4 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.509e-05/0.01319, allocations: 0 / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.01321, allocations: 7.922 kB / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.01321, allocations: 0 / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.01326, allocations: 83.28 kB / 1.007 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01326, allocations: 0 / 1.007 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002297/0.01349, allocations: 27.88 kB / 1.007 GB, free: 15.5 MB / 0.9669 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.0002443/0.01373, allocations: 127.2 kB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.01382, allocations: 12 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.01382, allocations: 0 / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.01384, allocations: 7.938 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01409, allocations: 11.92 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.01439, allocations: 116.8 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.01444, allocations: 55.36 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.01447, allocations: 12.11 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.01449, allocations: 8.5 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.01449, allocations: 3.938 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of Templates: time 0.003705/0.0182, allocations: 0.7784 MB / 1.009 GB, free: 14.34 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.504525039345026]