Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0018/0.0018, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.003141/0.003141, allocations: 189.9 kB / 22.23 MB, free: 5.098 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.519/1.519, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.411/3.411, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.42 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3857, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002673/0.3884, allocations: 1.304 MB / 1.309 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005203/0.3936, allocations: 3.813 MB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.3937, allocations: 0 / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.3937, allocations: 0 / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.3942, allocations: 115.4 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.3945, allocations: 130.8 kB / 1.313 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.3946, allocations: 27.91 kB / 1.313 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.3947, allocations: 4 kB / 1.313 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.3948, allocations: 31.86 kB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3949, allocations: 43.83 kB / 1.313 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3949, allocations: 0 / 1.313 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.3954, allocations: 299.6 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.3954, allocations: 0 / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.3955, allocations: 15.92 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.3957, allocations: 115.6 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3957, allocations: 4 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3957, allocations: 0 / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3957, allocations: 0 / 1.313 GB, free: 11.92 MB / 1.014 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.0004901/0.3962, allocations: 285.9 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3963, allocations: 16.91 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.3963, allocations: 0.9375 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3964, allocations: 114.5 kB / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3964, allocations: 384 / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.3965, allocations: 384 / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3966, allocations: 33.83 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3966, allocations: 0 / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3966, allocations: 0 / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3966, allocations: 4 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.431e-05/0.3966, allocations: 7.984 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.3968, allocations: 120.8 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.601e-05/0.3969, allocations: 34.53 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.3969, allocations: 8.859 kB / 1.314 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.3972, allocations: 24.05 kB / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3972, allocations: 34.5 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3972, allocations: 0 / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.3974, allocations: 49.64 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3974, allocations: 51.41 kB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3975, allocations: 106 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3976, allocations: 25.7 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.3976, allocations: 88.23 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3976, allocations: 11.95 kB / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3977, allocations: 13.72 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3978, allocations: 310.8 kB / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.3978, allocations: 4 kB / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.3979, allocations: 8.062 kB / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.3979, allocations: 20.78 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3979, allocations: 0 / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.381e-05/0.398, allocations: 45.7 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.398, allocations: 8 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.398, allocations: 3.938 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.398, allocations: 3.938 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.3981, allocations: 4 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3981, allocations: 0 / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.3981, allocations: 0 / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.3981, allocations: 0 / 1.314 GB, free: 10.32 MB / 1.014 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 8.891e-05/0.3982, allocations: 113.8 kB / 1.315 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.3982, allocations: 7.969 kB / 1.315 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.3983, allocations: 45 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3983, allocations: 4 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3983, allocations: 0 / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3983, allocations: 0 / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.3985, allocations: 132.6 kB / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3985, allocations: 0 / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.3985, allocations: 11.88 kB / 1.315 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3985, allocations: 0 / 1.315 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.3985, allocations: 4.031 kB / 1.315 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3985, allocations: 0 / 1.315 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3985, allocations: 0 / 1.315 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.3986, allocations: 65.12 kB / 1.315 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.3986, allocations: 11.92 kB / 1.315 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3986, allocations: 0 / 1.315 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.3987, allocations: 4 kB / 1.315 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.3987, allocations: 0 / 1.315 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3987, allocations: 4.031 kB / 1.315 GB, free: 9.852 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.3987, allocations: 87.27 kB / 1.315 GB, free: 9.766 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3987, allocations: 0 / 1.315 GB, free: 9.766 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002232/0.399, allocations: 23.94 kB / 1.315 GB, free: 9.742 MB / 1.014 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.0002233/0.3992, allocations: 131.9 kB / 1.315 GB, free: 9.605 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.513e-05/0.3993, allocations: 11.94 kB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3993, allocations: 0 / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.3993, allocations: 8.062 kB / 1.315 GB, free: 9.586 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.3995, allocations: 11.88 kB / 1.315 GB, free: 9.574 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.3999, allocations: 132.1 kB / 1.315 GB, free: 9.418 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.4002, allocations: 0.6844 MB / 1.316 GB, free: 8.707 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.4003, allocations: 8.062 kB / 1.316 GB, free: 8.699 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.4003, allocations: 7.438 kB / 1.316 GB, free: 8.691 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.4003, allocations: 0 / 1.316 GB, free: 8.691 MB / 1.014 GB Notification: Performance of Templates: time 0.003495/0.4038, allocations: 0.7595 MB / 1.317 GB, free: 7.941 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.535878621041775]