Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 195 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.8819, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.00263/0.8846, allocations: 1.483 MB / 0.9504 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.8854, allocations: 372 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.8854, allocations: 0 / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.8855, allocations: 0 / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.8855, allocations: 9.297 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.8859, allocations: 76.69 kB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.8859, allocations: 20.17 kB / 0.9508 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.886, allocations: 12.11 kB / 0.9508 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.8861, allocations: 10.73 kB / 0.9508 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.8861, allocations: 10.62 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.8861, allocations: 1.375 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.8864, allocations: 132.5 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.8864, allocations: 3.984 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.8865, allocations: 10.38 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.8866, allocations: 89.16 kB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8867, allocations: 0 / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8867, allocations: 4 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.8867, allocations: 0 / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004461/0.8871, allocations: 357.3 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8872, allocations: 8.281 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.8872, allocations: 2.281 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.193e-05/0.8873, allocations: 165.8 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.8873, allocations: 1.719 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.8873, allocations: 1.719 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.8875, allocations: 57.92 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8875, allocations: 192 / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.8875, allocations: 3.938 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8875, allocations: 1.438 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.8877, allocations: 34.08 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.888, allocations: 253.1 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.8881, allocations: 38.33 kB / 0.952 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.8882, allocations: 27.22 kB / 0.952 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/0.8888, allocations: 462 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.8888, allocations: 31.94 kB / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.8888, allocations: 0 / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003315/0.8891, allocations: 76.22 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.8892, allocations: 57.02 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.8892, allocations: 101.9 kB / 0.9527 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.8893, allocations: 27.23 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.8893, allocations: 84.14 kB / 0.9528 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.8893, allocations: 5.469 kB / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.8893, allocations: 16.92 kB / 0.9528 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.8894, allocations: 314.8 kB / 0.9531 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.8895, allocations: 17.05 kB / 0.9531 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.8896, allocations: 21.45 kB / 0.9531 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.8897, allocations: 39.91 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8897, allocations: 3.938 kB / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001654/0.8899, allocations: 64.05 kB / 0.9533 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.8899, allocations: 9.328 kB / 0.9533 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.8899, allocations: 4 kB / 0.9533 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8899, allocations: 1.031 kB / 0.9533 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.89, allocations: 10.31 kB / 0.9533 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.89, allocations: 0 / 0.9533 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.8901, allocations: 11.58 kB / 0.9533 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.8901, allocations: 1.156 kB / 0.9533 GB, free: 5.148 MB / 0.7169 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 4.946e-05/0.8901, allocations: 115.1 kB / 0.9534 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.8902, allocations: 5.031 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.8904, allocations: 78.39 kB / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8904, allocations: 1.156 kB / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8904, allocations: 0 / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.8904, allocations: 0 / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.8905, allocations: 162.8 kB / 0.9536 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.8905, allocations: 0 / 0.9536 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.8906, allocations: 10.92 kB / 0.9536 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.8906, allocations: 0 / 0.9536 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.8906, allocations: 4.031 kB / 0.9536 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.8906, allocations: 2 kB / 0.9536 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8906, allocations: 0 / 0.9536 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.8908, allocations: 165.6 kB / 0.9538 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.8909, allocations: 78.58 kB / 0.9539 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.8909, allocations: 1.656 kB / 0.9539 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.8909, allocations: 10.7 kB / 0.9539 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.891, allocations: 1.344 kB / 0.9539 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.891, allocations: 1.312 kB / 0.9539 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.891, allocations: 86.27 kB / 0.954 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.891, allocations: 0 / 0.954 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002585/0.8913, allocations: 28.19 kB / 0.954 GB, free: 4.406 MB / 0.7169 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.0002335/0.8915, allocations: 131.6 kB / 0.9541 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.8917, allocations: 40.64 kB / 0.9542 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8917, allocations: 0.9688 kB / 0.9542 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.8918, allocations: 27.55 kB / 0.9542 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.8921, allocations: 7.766 kB / 0.9542 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.8923, allocations: 105.9 kB / 0.9543 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.8924, allocations: 0.6773 MB / 0.955 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.8925, allocations: 1.281 kB / 0.955 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.8925, allocations: 8.656 kB / 0.955 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8925, allocations: 4.062 kB / 0.955 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of Templates: time 0.00294/0.8954, allocations: 0.8191 MB / 0.9558 GB, free: 3.027 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches