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.00117/0.00117, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001113/0.001113, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9116/0.9116, allocations: 177.2 MB / 203.5 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.817/1.817, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.532e-05, allocations: 6.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001757/0.001783, allocations: 1.302 MB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003082/0.004865, allocations: 3.535 MB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.004893, allocations: 0 / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.004909, allocations: 0 / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.005327, allocations: 107.4 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.005548, allocations: 138.3 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.005614, allocations: 31.84 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.005648, allocations: 0 / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.005763, allocations: 27.91 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.005844, allocations: 43.84 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.005855, allocations: 4 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.006166, allocations: 291.5 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.006178, allocations: 3.984 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.006198, allocations: 8 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.006397, allocations: 151.6 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006401, allocations: 0 / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.006402, allocations: 0 / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.006407, allocations: 0 / 1.006 GB, free: 7.32 MB / 0.9636 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.000328/0.006735, allocations: 282 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.006773, allocations: 12.75 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.006806, allocations: 4.938 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.694e-05/0.006883, allocations: 109.7 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.006893, allocations: 384 / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.006903, allocations: 4.375 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/0.006995, allocations: 34.2 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.007002, allocations: 192 / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.007012, allocations: 4.125 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.007016, allocations: 0 / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.007049, allocations: 8 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.007159, allocations: 105.3 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.007205, allocations: 22.61 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.007223, allocations: 8.922 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.007383, allocations: 23.97 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.007403, allocations: 34.5 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.007404, allocations: 0 / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.007532, allocations: 41.7 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.00756, allocations: 59.47 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.88e-05/0.007619, allocations: 109.8 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.007628, allocations: 25.7 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/0.007652, allocations: 84.08 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.007675, allocations: 11.89 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.0077, allocations: 13.72 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.00778, allocations: 314.8 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.007793, allocations: 4 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-06/0.007801, allocations: 0 / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.007827, allocations: 20.8 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007829, allocations: 4.062 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.005e-05/0.007879, allocations: 37.7 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.007892, allocations: 8 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.007897, allocations: 0 / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.007909, allocations: 3.984 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.00796, allocations: 8.188 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.007965, allocations: 0 / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.007976, allocations: 4 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.007981, allocations: 0 / 1.008 GB, free: 5.773 MB / 0.9636 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 5.269e-05/0.008033, allocations: 109.8 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-06/0.008038, allocations: 7.984 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.165e-05/0.00813, allocations: 56.92 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008132, allocations: 0 / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.008136, allocations: 3.938 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.008139, allocations: 0 / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.686e-05/0.008196, allocations: 105.3 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008197, allocations: 0 / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.00821, allocations: 4 kB / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008212, allocations: 0 / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.008217, allocations: 4.031 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.008218, allocations: 0 / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.008218, allocations: 4 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.619e-05/0.008274, allocations: 69 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.008291, allocations: 4 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.008301, allocations: 0 / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.008308, allocations: 0 / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.008321, allocations: 7.938 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.008323, allocations: 0 / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.008352, allocations: 91.2 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008352, allocations: 3.938 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001468/0.008499, allocations: 27.91 kB / 1.008 GB, free: 5.223 MB / 0.9636 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.0001702/0.008669, allocations: 131.1 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.008738, allocations: 12 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008739, allocations: 0 / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.008748, allocations: 7.938 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.008945, allocations: 4 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.009201, allocations: 146.6 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.798e-05/0.009239, allocations: 59.34 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.009259, allocations: 12.5 kB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.00926, allocations: 0 / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of Templates: time 0.001613/0.01087, allocations: 0.7421 MB / 1.009 GB, free: 4.062 MB / 0.9636 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: 6.785733927041292]