Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_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.01102/0.01102, allocations: 97.36 kB / 15.73 MB, free: 6.035 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.002386/0.002386, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 1.019 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.301, allocations: 151.6 MB / 1.167 GB, free: 6.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002458/0.3035, allocations: 1.431 MB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006771/0.3042, allocations: 355.7 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.3042, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.3042, allocations: 3.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.3043, allocations: 3.938 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.3048, allocations: 107.7 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.93e-05/0.3049, allocations: 23.86 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.305, allocations: 8 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.305, allocations: 7.984 kB / 1.169 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.3051, allocations: 11.94 kB / 1.169 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3051, allocations: 4 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.3053, allocations: 127.8 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.3054, allocations: 7.984 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.3054, allocations: 11.92 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3056, allocations: 87.69 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3056, allocations: 0 / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3056, allocations: 4 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3056, allocations: 0 / 1.169 GB, free: 4.695 MB / 0.92 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.0004804/0.3061, allocations: 359.2 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3062, allocations: 12.03 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.3062, allocations: 0.9375 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3063, allocations: 164.3 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3063, allocations: 8.375 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3064, allocations: 384 / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3065, allocations: 50.23 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3066, allocations: 192 / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3066, allocations: 3.938 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3066, allocations: 0 / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3067, allocations: 43.89 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.3071, allocations: 241 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3072, allocations: 42.44 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.3073, allocations: 24.89 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007653/0.3081, allocations: 469.5 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3081, allocations: 34.56 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3081, allocations: 3.938 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003711/0.3085, allocations: 81.64 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.3085, allocations: 51.41 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.3086, allocations: 105.8 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3086, allocations: 25.7 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.3087, allocations: 92.2 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.3087, allocations: 3.953 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.3088, allocations: 13.72 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3089, allocations: 314.8 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.309, allocations: 23.97 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.309, allocations: 11.98 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3092, allocations: 48.77 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3092, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.3094, allocations: 73.55 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3095, allocations: 6.031 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3095, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3095, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.3096, allocations: 16.02 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3096, allocations: 0 / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.3096, allocations: 7.984 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3096, allocations: 4 kB / 1.171 GB, free: 2.09 MB / 0.92 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.822e-05/0.3098, allocations: 110.7 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.3098, allocations: 4 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.31, allocations: 76.72 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.31, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.31, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3101, allocations: 4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3102, allocations: 165.6 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3102, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.3103, allocations: 4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3103, allocations: 0 / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3103, allocations: 3.984 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3103, allocations: 4 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3103, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3106, allocations: 171.4 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.3106, allocations: 85.06 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3106, allocations: 0 / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.3107, allocations: 4 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3108, allocations: 7.922 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3108, allocations: 4.031 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.3108, allocations: 79.28 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3108, allocations: 0 / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002611/0.3111, allocations: 27.94 kB / 1.172 GB, free: 1.254 MB / 0.92 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.0002646/0.3114, allocations: 147.1 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.3116, allocations: 31.97 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3116, allocations: 3.938 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.652e-05/0.3117, allocations: 23.91 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.3119, allocations: 12.06 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.3122, allocations: 109.4 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3124, allocations: 0.6729 MB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.3124, allocations: 0 / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.3125, allocations: 11.44 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/0.3125, allocations: 0 / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of Templates: time 0.003095/0.3156, allocations: 0.8947 MB / 1.174 GB, free: 15.29 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches