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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.4 MB, free: 3.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.107 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.8955, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00225/0.8978, allocations: 1.314 MB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00367/0.9014, allocations: 3.81 MB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.9015, allocations: 0.8438 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.9015, allocations: 0.8438 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.9019, allocations: 107.2 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.9022, allocations: 135.1 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.9023, allocations: 30.42 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.9023, allocations: 1.844 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.9024, allocations: 21.36 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.9025, allocations: 46.55 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.9025, allocations: 4.781 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.903, allocations: 303.3 kB / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.903, allocations: 4.859 kB / 1.278 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.903, allocations: 8.688 kB / 1.278 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.9032, allocations: 119.6 kB / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9032, allocations: 0.9688 kB / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9032, allocations: 0 / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.9033, allocations: 0 / 1.278 GB, free: 3.98 MB / 0.9981 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.0002997/0.9036, allocations: 365.8 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.9036, allocations: 13.75 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.9036, allocations: 1.688 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.187e-05/0.9037, allocations: 166.3 kB / 1.278 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.9037, allocations: 1.406 kB / 1.278 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.9037, allocations: 1.25 kB / 1.278 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.669e-05/0.9038, allocations: 34.73 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9038, allocations: 0 / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.9038, allocations: 1.031 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.9038, allocations: 9.016 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.994e-05/0.9038, allocations: 7.719 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.904, allocations: 158 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.776e-05/0.904, allocations: 24.91 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.904, allocations: 8.594 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.9042, allocations: 100.1 kB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.9042, allocations: 39.22 kB / 1.279 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9042, allocations: 0 / 1.279 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.00013/0.9044, allocations: 39.12 kB / 1.279 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/0.9044, allocations: 56.69 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.9044, allocations: 102.9 kB / 1.279 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.9044, allocations: 27.02 kB / 1.279 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/0.9045, allocations: 84.27 kB / 1.279 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.9045, allocations: 13.2 kB / 1.279 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.9045, allocations: 14.03 kB / 1.279 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.9045, allocations: 312.4 kB / 1.279 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.9046, allocations: 5.969 kB / 1.279 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.9046, allocations: 7.094 kB / 1.279 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.9046, allocations: 12.08 kB / 1.279 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9046, allocations: 0 / 1.279 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.791e-05/0.9047, allocations: 52.25 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9047, allocations: 5.062 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9047, allocations: 1.344 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.9047, allocations: 1.734 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.9048, allocations: 7.031 kB / 1.279 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.9048, allocations: 0.9688 kB / 1.279 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/0.9048, allocations: 0 / 1.279 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.9048, allocations: 0.8125 kB / 1.279 GB, free: 2.25 MB / 0.9981 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 3.993e-05/0.9048, allocations: 109.4 kB / 1.279 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.9048, allocations: 8.875 kB / 1.279 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.9049, allocations: 50.19 kB / 1.279 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9049, allocations: 0.6875 kB / 1.279 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9049, allocations: 1.062 kB / 1.279 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9049, allocations: 0 / 1.279 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.157e-05/0.905, allocations: 158 kB / 1.28 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.905, allocations: 1.062 kB / 1.28 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.905, allocations: 12.34 kB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.905, allocations: 0.9688 kB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.905, allocations: 4 kB / 1.28 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.905, allocations: 1.625 kB / 1.28 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.905, allocations: 0 / 1.28 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.334e-05/0.9051, allocations: 61.02 kB / 1.28 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.9051, allocations: 86.56 kB / 1.28 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.9051, allocations: 5.062 kB / 1.28 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.9052, allocations: 0 / 1.28 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.9052, allocations: 5.781 kB / 1.28 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.9052, allocations: 0.875 kB / 1.28 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.109e-05/0.9052, allocations: 81.02 kB / 1.28 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9052, allocations: 0 / 1.28 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002066/0.9054, allocations: 26.06 kB / 1.28 GB, free: 1.629 MB / 0.9981 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.0001704/0.9056, allocations: 134.2 kB / 1.28 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.9057, allocations: 13.16 kB / 1.28 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9057, allocations: 4.062 kB / 1.28 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.9057, allocations: 4.344 kB / 1.28 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.9059, allocations: 3.703 kB / 1.28 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.9061, allocations: 141.8 kB / 1.28 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.035e-05/0.9062, allocations: 0.6731 MB / 1.281 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.9062, allocations: 9.938 kB / 1.281 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.9062, allocations: 11.42 kB / 1.281 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.9062, allocations: 0 / 1.281 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of Templates: time 0.003287/0.9095, allocations: 0.7586 MB / 1.282 GB, free: 0.6055 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.456462720409036]