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.001353/0.001353, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001715/0.001715, allocations: 214.6 kB / 23.01 MB, free: 4.566 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.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 3.482/3.482, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 69.14 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4133, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002868/0.4161, allocations: 1.322 MB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005294/0.4214, allocations: 3.861 MB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.4215, allocations: 0 / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.4215, allocations: 0 / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005283/0.422, allocations: 115.4 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.4224, allocations: 131.5 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.848e-05/0.4225, allocations: 31.84 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.4225, allocations: 0 / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.4226, allocations: 27.86 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.4227, allocations: 35.95 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.4227, allocations: 4 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.4233, allocations: 307.6 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.4233, allocations: 3.984 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.4233, allocations: 15.92 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.4236, allocations: 115.6 kB / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4236, allocations: 0 / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4236, allocations: 0 / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.4236, allocations: 0 / 1.36 GB, free: 1.922 MB / 1.045 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.0004859/0.4241, allocations: 290 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4241, allocations: 16.03 kB / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.4241, allocations: 4.891 kB / 1.36 GB, free: 1.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.4243, allocations: 114.5 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4243, allocations: 384 / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.4243, allocations: 384 / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4244, allocations: 41.77 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4244, allocations: 0 / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.4244, allocations: 0 / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4244, allocations: 0 / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.202e-05/0.4245, allocations: 7.984 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.4247, allocations: 124.8 kB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.4247, allocations: 30.59 kB / 1.361 GB, free: 1.195 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.4247, allocations: 8.797 kB / 1.361 GB, free: 1.184 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.425, allocations: 20.05 kB / 1.361 GB, free: 1.164 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.425, allocations: 42.44 kB / 1.361 GB, free: 1.113 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.425, allocations: 0 / 1.361 GB, free: 1.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001609/0.4252, allocations: 49.64 kB / 1.361 GB, free: 1.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.4252, allocations: 51.41 kB / 1.361 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4253, allocations: 105.8 kB / 1.361 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.4253, allocations: 25.7 kB / 1.361 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.4254, allocations: 80.14 kB / 1.361 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.4254, allocations: 0 / 1.361 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.4254, allocations: 25.8 kB / 1.361 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4256, allocations: 310.8 kB / 1.361 GB, free: 436 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.4256, allocations: 4 kB / 1.361 GB, free: 432 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.4256, allocations: 3.938 kB / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.4257, allocations: 20.84 kB / 1.361 GB, free: 404 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4257, allocations: 3.938 kB / 1.361 GB, free: 400 kB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.712e-05/0.4257, allocations: 41.64 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4258, allocations: 4.094 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4258, allocations: 8 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4258, allocations: 0 / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.4258, allocations: 0 / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4258, allocations: 4 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.4259, allocations: 0 / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.4259, allocations: 3.984 kB / 1.361 GB, free: 332 kB / 1.045 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.688e-05/0.426, allocations: 109.8 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.426, allocations: 7.938 kB / 1.361 GB, free: 204 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.4261, allocations: 49 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4261, allocations: 0 / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4261, allocations: 4 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4261, allocations: 3.984 kB / 1.361 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.4262, allocations: 128.7 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4263, allocations: 0 / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.4263, allocations: 7.938 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4263, allocations: 0 / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.4263, allocations: 0 / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4263, allocations: 4.188 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4263, allocations: 8.031 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.477e-05/0.4264, allocations: 73.02 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.4264, allocations: 3.938 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.4264, allocations: 4 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.4264, allocations: 0 / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.4264, allocations: 4 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.4264, allocations: 0 / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.877e-05/0.4265, allocations: 87.3 kB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4265, allocations: 0 / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002238/0.4267, allocations: 23.94 kB / 1.362 GB, free: 15.73 MB / 1.061 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.0002142/0.4269, allocations: 127.1 kB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.762e-05/0.427, allocations: 12 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.427, allocations: 3.938 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.427, allocations: 4 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.4273, allocations: 4.125 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.4276, allocations: 164.1 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4279, allocations: 0.6768 MB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.428, allocations: 7.438 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.428, allocations: 0 / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of Templates: time 0.002501/0.4305, allocations: 0.7298 MB / 1.363 GB, free: 13.95 MB / 1.061 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/jenkins1/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: 11.60091898898827]