Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_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.00168/0.00168, allocations: 100.1 kB / 15.88 MB, free: 12 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.002145/0.002145, allocations: 196 kB / 16.79 MB, free: 6.809 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.39 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3342, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003147/0.3374, allocations: 1.498 MB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.3382, allocations: 382.9 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.3383, allocations: 0 / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.3384, allocations: 0 / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.3384, allocations: 0 / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.3389, allocations: 83.78 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.3389, allocations: 19.94 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.339, allocations: 7.984 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.301e-05/0.3391, allocations: 7.938 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.77e-05/0.3391, allocations: 7.984 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3391, allocations: 8 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.3394, allocations: 139.7 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3394, allocations: 7.938 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.3395, allocations: 7.984 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.3396, allocations: 55.91 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3397, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3397, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3397, allocations: 3.938 kB / 1.055 GB, free: 6.047 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.0004808/0.3402, allocations: 355.7 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3402, allocations: 11.97 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3402, allocations: 8.844 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3404, allocations: 168.4 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3404, allocations: 384 / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3404, allocations: 16.23 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3406, allocations: 50.23 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3406, allocations: 192 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3406, allocations: 7.938 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3407, allocations: 4 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.3408, allocations: 31.97 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3412, allocations: 245 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.3413, allocations: 42.44 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.3414, allocations: 24.91 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007693/0.3422, allocations: 473.4 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3422, allocations: 38.56 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3422, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003499/0.3426, allocations: 77.64 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.3426, allocations: 51.41 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.3427, allocations: 101.8 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3427, allocations: 29.83 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.3428, allocations: 80.14 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.3428, allocations: 15.89 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3429, allocations: 9.719 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.343, allocations: 314.8 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.3431, allocations: 15.98 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.3431, allocations: 11.98 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3433, allocations: 44.88 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3433, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.3435, allocations: 77.5 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3435, allocations: 4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3435, allocations: 3.938 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3436, allocations: 4.031 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.3436, allocations: 11.94 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3437, allocations: 0 / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.3437, allocations: 7.984 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3437, allocations: 0 / 1.057 GB, free: 3.438 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.442e-05/0.3438, allocations: 109.8 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3438, allocations: 4 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.3441, allocations: 76.77 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3441, allocations: 0 / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3441, allocations: 0 / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3441, allocations: 0 / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3443, allocations: 157.6 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3443, allocations: 4 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.3443, allocations: 11.92 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3444, allocations: 0 / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3444, allocations: 3.938 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3444, allocations: 0 / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3444, allocations: 8.031 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3446, allocations: 159.5 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3447, allocations: 85.05 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3447, allocations: 4 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.3448, allocations: 7.984 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.3448, allocations: 4.219 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3448, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.3449, allocations: 91.25 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3449, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002599/0.3451, allocations: 28 kB / 1.058 GB, free: 2.602 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.000286/0.3454, allocations: 135.2 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3456, allocations: 43.89 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3457, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.3457, allocations: 19.98 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.346, allocations: 8.062 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.3463, allocations: 136.9 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3466, allocations: 0.677 MB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.3466, allocations: 7.438 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3466, allocations: 0 / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of Templates: time 0.002591/0.3492, allocations: 0.9851 MB / 1.06 GB, free: 0.5273 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches