Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.661/2.661, allocations: 443.2 MB / 0.7181 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 8.562 kB / 0.8801 GB, free: 42.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3112, allocations: 155.2 MB / 1.032 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.000762/0.3121, allocations: 328.8 kB / 1.032 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.3127, allocations: 291.1 kB / 1.032 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.007e-05/0.3128, allocations: 3.938 kB / 1.032 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.3128, allocations: 0 / 1.032 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.3128, allocations: 0 / 1.032 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.3132, allocations: 71.86 kB / 1.032 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.057e-05/0.3133, allocations: 7.984 kB / 1.032 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.3133, allocations: 7.938 kB / 1.032 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.199e-05/0.3133, allocations: 0 / 1.032 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.3133, allocations: 0 / 1.032 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.3134, allocations: 0 / 1.032 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.3136, allocations: 131.8 kB / 1.032 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.3136, allocations: 0 / 1.032 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.3137, allocations: 25.7 kB / 1.032 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3138, allocations: 43.92 kB / 1.033 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3138, allocations: 4 kB / 1.033 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.378e-06/0.3138, allocations: 4 kB / 1.033 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3138, allocations: 0 / 1.033 GB, free: 3.867 MB / 0.7794 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.0003181/0.3141, allocations: 319.6 kB / 1.033 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3142, allocations: 12.03 kB / 1.033 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.3142, allocations: 0.9375 kB / 1.033 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3143, allocations: 168.3 kB / 1.033 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3144, allocations: 4.312 kB / 1.033 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.3144, allocations: 384 / 1.033 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3145, allocations: 38.25 kB / 1.033 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.3145, allocations: 192 / 1.033 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3145, allocations: 3.938 kB / 1.033 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3145, allocations: 0 / 1.033 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.3145, allocations: 0 / 1.033 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.3147, allocations: 153.5 kB / 1.033 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.972e-05/0.3148, allocations: 22.89 kB / 1.033 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.3148, allocations: 4.859 kB / 1.033 GB, free: 3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007499/0.3155, allocations: 461.5 kB / 1.034 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3156, allocations: 34.56 kB / 1.034 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3156, allocations: 0 / 1.034 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.3157, allocations: 41.62 kB / 1.034 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.3158, allocations: 55.41 kB / 1.034 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/0.3158, allocations: 89.86 kB / 1.034 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3158, allocations: 25.7 kB / 1.034 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.3159, allocations: 84.08 kB / 1.034 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3159, allocations: 0 / 1.034 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.3159, allocations: 9.719 kB / 1.034 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3161, allocations: 318.8 kB / 1.034 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-06/0.3161, allocations: 128 / 1.034 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-06/0.3161, allocations: 8 kB / 1.034 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.3161, allocations: 4.859 kB / 1.034 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3161, allocations: 4 kB / 1.034 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.769e-05/0.3162, allocations: 33.69 kB / 1.034 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3162, allocations: 4 kB / 1.034 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3162, allocations: 0 / 1.034 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3162, allocations: 3.938 kB / 1.034 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.3163, allocations: 7.938 kB / 1.034 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3163, allocations: 4.094 kB / 1.034 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-06/0.3163, allocations: 0 / 1.034 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.3163, allocations: 0 / 1.034 GB, free: 1.672 MB / 0.7794 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 6.865e-05/0.3164, allocations: 111.4 kB / 1.034 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.3164, allocations: 8 kB / 1.034 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.3165, allocations: 40.75 kB / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3165, allocations: 0 / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3165, allocations: 0 / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3165, allocations: 0 / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.469e-05/0.3166, allocations: 145.7 kB / 1.035 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3166, allocations: 3.984 kB / 1.035 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.3166, allocations: 4 kB / 1.035 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3167, allocations: 3.938 kB / 1.035 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3167, allocations: 7.875 kB / 1.035 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3167, allocations: 0 / 1.035 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3167, allocations: 3.938 kB / 1.035 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.3168, allocations: 61.14 kB / 1.035 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.3168, allocations: 81.09 kB / 1.035 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3168, allocations: 3.938 kB / 1.035 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.3168, allocations: 0 / 1.035 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.3169, allocations: 3.984 kB / 1.035 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.3169, allocations: 0 / 1.035 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.998e-05/0.3169, allocations: 75.28 kB / 1.035 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3169, allocations: 4 kB / 1.035 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002151/0.3171, allocations: 24 kB / 1.035 GB, free: 0.9961 MB / 0.7794 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.0002841/0.3174, allocations: 139.5 kB / 1.035 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.755e-05/0.3175, allocations: 11.92 kB / 1.035 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3175, allocations: 0 / 1.035 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.3175, allocations: 8.062 kB / 1.035 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.3176, allocations: 0 / 1.035 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.3178, allocations: 100.4 kB / 1.035 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.3181, allocations: 0.6731 MB / 1.036 GB, free: 4 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.3181, allocations: 7.438 kB / 1.036 GB, free: 16 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3181, allocations: 0 / 1.036 GB, free: 16 MB / 0.795 GB Notification: Performance of Templates: time 0.002237/0.3204, allocations: 0.7534 MB / 1.037 GB, free: 15.24 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches