Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009252/0.009252, allocations: 98.89 kB / 15.73 MB, free: 6.043 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.002009/0.002009, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3737, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002902/0.3766, allocations: 1.434 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.3774, allocations: 366.8 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.3775, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.3775, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.3776, allocations: 3.938 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.3782, allocations: 103.7 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.426e-05/0.3782, allocations: 19.94 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3783, allocations: 11.95 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.3784, allocations: 11.94 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.3784, allocations: 11.98 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3784, allocations: 3.938 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.3787, allocations: 131.8 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.3787, allocations: 4 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.3787, allocations: 11.94 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3789, allocations: 91.67 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3789, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3789, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3789, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 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.0005696/0.3795, allocations: 355.3 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3796, allocations: 8.031 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3796, allocations: 8.891 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3798, allocations: 168.4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.3798, allocations: 384 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3798, allocations: 384 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.38, allocations: 54.17 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.38, allocations: 192 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.38, allocations: 3.938 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.38, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3802, allocations: 35.97 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.3805, allocations: 252.9 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3807, allocations: 38.5 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.3808, allocations: 24.84 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007338/0.3815, allocations: 481.4 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.3815, allocations: 30.56 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.3815, allocations: 4 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003894/0.3819, allocations: 77.64 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.3819, allocations: 51.41 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.382, allocations: 97.86 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.382, allocations: 29.7 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.3821, allocations: 92.08 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.3821, allocations: 8.078 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.3821, allocations: 13.72 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3822, allocations: 310.8 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.3823, allocations: 19.92 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-05/0.3824, allocations: 19.97 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.3825, allocations: 40.89 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3825, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001735/0.3827, allocations: 69.59 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3827, allocations: 4 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3827, allocations: 0 / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3828, allocations: 0 / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.3828, allocations: 11.98 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3828, allocations: 3.938 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.3829, allocations: 11.97 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3829, allocations: 3.938 kB / 1.225 GB, free: 9.02 MB / 0.9825 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.035e-05/0.383, allocations: 114.3 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.383, allocations: 3.984 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.3832, allocations: 68.78 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3832, allocations: 4 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3832, allocations: 4.031 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3832, allocations: 0 / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.3834, allocations: 157.6 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3834, allocations: 0 / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.3834, allocations: 11.98 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3834, allocations: 4 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3834, allocations: 4.125 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3834, allocations: 0 / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3834, allocations: 0 / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3837, allocations: 179.3 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.3837, allocations: 77.11 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3837, allocations: 0 / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.3838, allocations: 7.984 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.3839, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.3839, allocations: 4 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.3839, allocations: 91.3 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3839, allocations: 0 / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002645/0.3842, allocations: 27.94 kB / 1.226 GB, free: 8.18 MB / 0.9825 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.0002613/0.3844, allocations: 131.2 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3846, allocations: 39.89 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3846, allocations: 0 / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.3847, allocations: 19.98 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.385, allocations: 5.344 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.3853, allocations: 117.5 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3857, allocations: 0.6768 MB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.855e-05/0.3858, allocations: 0 / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.3858, allocations: 11.44 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3858, allocations: 0 / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of Templates: time 0.003486/0.3893, allocations: 0.9044 MB / 1.228 GB, free: 6.223 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches