Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_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.001525/0.001525, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001945/0.001945, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.25 kB / 0.8986 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3101, allocations: 157.4 MB / 1.052 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003031/0.3132, allocations: 1.497 MB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006976/0.3139, allocations: 350.9 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.314, allocations: 0 / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.314, allocations: 0 / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.3141, allocations: 3.938 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.3146, allocations: 87.77 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.3147, allocations: 27.92 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.3148, allocations: 4 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.3148, allocations: 15.92 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.3149, allocations: 11.98 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.3149, allocations: 0 / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.3151, allocations: 131.8 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.3152, allocations: 7.922 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.3152, allocations: 8 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.3154, allocations: 91.73 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3154, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3154, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3154, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 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.0004711/0.3159, allocations: 355.8 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.316, allocations: 8.625 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.316, allocations: 8.844 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3161, allocations: 164.4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3161, allocations: 4.375 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3162, allocations: 4.375 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3164, allocations: 50.23 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3164, allocations: 8.125 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3164, allocations: 7.875 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3164, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.3166, allocations: 27.97 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.3169, allocations: 245 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3171, allocations: 46.5 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.3172, allocations: 24.84 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007721/0.3179, allocations: 457.5 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.318, allocations: 42.5 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.318, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003665/0.3184, allocations: 77.64 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3184, allocations: 55.41 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.3185, allocations: 101.8 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3185, allocations: 29.83 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.3186, allocations: 84.05 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.3186, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.3186, allocations: 17.72 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3188, allocations: 310.8 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.764e-05/0.3188, allocations: 19.97 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.3189, allocations: 19.92 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3191, allocations: 40.89 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3191, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.3193, allocations: 69.5 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3193, allocations: 8 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3193, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3193, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.3194, allocations: 12.02 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3195, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.3195, allocations: 11.98 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3195, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 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 7.451e-05/0.3196, allocations: 117.7 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3196, allocations: 192 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.3199, allocations: 80.77 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3199, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3199, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3199, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.32, allocations: 161.6 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3201, allocations: 0 / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.3201, allocations: 8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3201, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3201, allocations: 3.984 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3202, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3202, allocations: 11.91 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.3204, allocations: 163.4 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.3204, allocations: 84.95 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3205, allocations: 8 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.3205, allocations: 4 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3206, allocations: 8.016 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3206, allocations: 0 / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.3206, allocations: 79.28 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3206, allocations: 0 / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000285/0.3209, allocations: 28 kB / 1.057 GB, free: 3.09 MB / 0.8106 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.0002841/0.3212, allocations: 143.2 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3215, allocations: 35.91 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3215, allocations: 0 / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.3216, allocations: 15.98 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3218, allocations: 17.33 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.3221, allocations: 109.6 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.3223, allocations: 0.6768 MB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.3224, allocations: 0 / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.3224, allocations: 7.438 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.3224, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of Templates: time 0.003365/0.3258, allocations: 0.8322 MB / 1.059 GB, free: 1.199 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches