Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_11_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.001448/0.001448, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001361/0.001361, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 69.45 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3218, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002633/0.3245, allocations: 1.51 MB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006833/0.3252, allocations: 335 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.3252, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.3253, allocations: 3.938 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.3254, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.3258, allocations: 87.8 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.3259, allocations: 19.98 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.142e-05/0.3259, allocations: 4 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.326, allocations: 15.92 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.107e-05/0.326, allocations: 11.98 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.326, allocations: 4 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.3263, allocations: 131.8 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.3263, allocations: 7.875 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.3263, allocations: 7.984 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.3264, allocations: 55.91 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.3265, allocations: 3.938 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3265, allocations: 3.938 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3265, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8419 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.0004763/0.327, allocations: 353.8 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.327, allocations: 12.03 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.327, allocations: 4.844 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3272, allocations: 164.4 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.3272, allocations: 4.375 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3272, allocations: 384 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3274, allocations: 50.23 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3274, allocations: 192 / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3274, allocations: 7.938 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.3274, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.3276, allocations: 31.97 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.3279, allocations: 248.9 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.328, allocations: 38.5 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.3281, allocations: 24.91 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/0.3288, allocations: 461.5 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3288, allocations: 34.56 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3288, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.3292, allocations: 85.48 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3292, allocations: 51.41 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3293, allocations: 101.8 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3294, allocations: 25.7 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.3294, allocations: 84.27 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3294, allocations: 15.89 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3295, allocations: 9.719 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3297, allocations: 310.8 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.3298, allocations: 23.97 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.3298, allocations: 11.98 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.33, allocations: 44.89 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.33, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.3302, allocations: 73.53 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3302, allocations: 4 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3302, allocations: 3.938 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3303, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.3303, allocations: 11.98 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3304, allocations: 4.031 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.3304, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.3304, allocations: 7.922 kB / 1.068 GB, free: 10.34 MB / 0.8419 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.76e-05/0.3305, allocations: 109.8 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.3306, allocations: 8.188 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.3308, allocations: 72.72 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3308, allocations: 8.016 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3308, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3308, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.331, allocations: 161.6 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.331, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.3311, allocations: 8 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3311, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3311, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3311, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3311, allocations: 3.984 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3314, allocations: 163.5 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.3315, allocations: 96.88 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3315, allocations: 0 / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.3316, allocations: 4 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3316, allocations: 3.984 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3316, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.332e-05/0.3317, allocations: 87.31 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3317, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000259/0.332, allocations: 28 kB / 1.069 GB, free: 9.496 MB / 0.8419 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.0002781/0.3323, allocations: 131.2 kB / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3325, allocations: 39.95 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3325, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.3326, allocations: 19.98 kB / 1.069 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3328, allocations: 7.875 kB / 1.069 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.3332, allocations: 139.3 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3335, allocations: 0.6806 MB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.3336, allocations: 7.438 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3336, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.002749/0.3363, allocations: 0.987 MB / 1.071 GB, free: 7.426 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches