Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.002147/0.002147, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002464/0.002464, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.452/1.452, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.692/2.692, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.473e-05, allocations: 2.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001563/0.001587, allocations: 0.6013 MB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.00219, allocations: 259 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.118e-05/0.002202, allocations: 4 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.002212, allocations: 0 / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.002217, allocations: 0 / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.002664, allocations: 95.66 kB / 0.9519 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.762e-05/0.002701, allocations: 3.938 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.002734, allocations: 0 / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.00276, allocations: 4 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.11e-05/0.002781, allocations: 0 / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.00279, allocations: 0 / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.003052, allocations: 119.7 kB / 0.9521 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.916e-06/0.003061, allocations: 4 kB / 0.9521 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.165e-05/0.003073, allocations: 0 / 0.9521 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.003252, allocations: 91.69 kB / 0.9522 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003254, allocations: 3.938 kB / 0.9522 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003255, allocations: 0 / 0.9522 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003258, allocations: 0 / 0.9522 GB, free: 10.32 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003021/0.00356, allocations: 250.3 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.003592, allocations: 8.031 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.003623, allocations: 0.9375 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.003715, allocations: 105.8 kB / 0.9525 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.003729, allocations: 4.375 kB / 0.9525 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.003736, allocations: 4.375 kB / 0.9525 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.003817, allocations: 30.27 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.003826, allocations: 192 / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-06/0.003832, allocations: 384 / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.003837, allocations: 4.375 kB / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.00386, allocations: 11.86 kB / 0.9526 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.003981, allocations: 93.33 kB / 0.9527 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.004026, allocations: 22.61 kB / 0.9527 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.004043, allocations: 4.859 kB / 0.9527 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.004596, allocations: 79.98 kB / 0.9528 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.004633, allocations: 34.56 kB / 0.9528 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.004634, allocations: 0 / 0.9528 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.004764, allocations: 37.62 kB / 0.9528 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.004809, allocations: 51.41 kB / 0.9529 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.659e-05/0.004856, allocations: 89.98 kB / 0.953 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.004871, allocations: 29.7 kB / 0.953 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.004904, allocations: 80.14 kB / 0.9531 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.004933, allocations: 11.89 kB / 0.9531 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.004961, allocations: 13.72 kB / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.005093, allocations: 314.8 kB / 0.9534 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.005103, allocations: 4 kB / 0.9534 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.005112, allocations: 3.984 kB / 0.9534 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.00514, allocations: 8.859 kB / 0.9534 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.005142, allocations: 0 / 0.9534 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.438e-05/0.005196, allocations: 41.64 kB / 0.9534 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.005209, allocations: 4 kB / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.005213, allocations: 0 / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.005226, allocations: 0 / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-05/0.005259, allocations: 4 kB / 0.9535 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.005263, allocations: 0 / 0.9535 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.005277, allocations: 7.938 kB / 0.9535 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.00528, allocations: 0 / 0.9535 GB, free: 8.82 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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 7.049e-05/0.005351, allocations: 113.8 kB / 0.9536 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.005357, allocations: 0 / 0.9536 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.005426, allocations: 40.67 kB / 0.9536 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005427, allocations: 0 / 0.9536 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.005436, allocations: 7.938 kB / 0.9536 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.005439, allocations: 0 / 0.9536 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.968e-05/0.005518, allocations: 109.2 kB / 0.9537 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.005519, allocations: 0 / 0.9537 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.005531, allocations: 0 / 0.9537 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005532, allocations: 0 / 0.9537 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.005538, allocations: 0 / 0.9537 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005538, allocations: 0 / 0.9537 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005539, allocations: 4 kB / 0.9537 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.174e-05/0.005611, allocations: 65.08 kB / 0.9538 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.005617, allocations: 4 kB / 0.9538 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.005625, allocations: 0 / 0.9538 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.005632, allocations: 0 / 0.9538 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-06/0.00564, allocations: 0 / 0.9538 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.005642, allocations: 0 / 0.9538 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.005678, allocations: 75.28 kB / 0.9539 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.005678, allocations: 0 / 0.9539 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002184/0.005897, allocations: 27.94 kB / 0.9539 GB, free: 8.32 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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.0002492/0.006146, allocations: 155 kB / 0.954 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.958e-05/0.006205, allocations: 4 kB / 0.954 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.006207, allocations: 0 / 0.954 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-06/0.006212, allocations: 64 / 0.954 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.006334, allocations: 12 kB / 0.9541 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.006533, allocations: 84.86 kB / 0.9541 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.006578, allocations: 59.34 kB / 0.9542 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.746e-06/0.006586, allocations: 0 / 0.9542 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.006604, allocations: 8.5 kB / 0.9542 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.006604, allocations: 4 kB / 0.9542 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of Templates: time 0.00303/0.009634, allocations: 0.6374 MB / 0.9548 GB, free: 7.305 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.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: 7.79660889133811]