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.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.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.001493/0.001494, allocations: 105 kB / 16.35 MB, free: 5.824 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.001804/0.001804, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.417/2.417, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 68.86 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2987, allocations: 153 MB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002748/0.3015, allocations: 1.447 MB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.3022, allocations: 339.7 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.3023, allocations: 4 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.3024, allocations: 3.984 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.427e-05/0.3024, allocations: 3.938 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.3029, allocations: 99.72 kB / 1.029 GB, free: 224 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.303, allocations: 23.92 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.3031, allocations: 7.984 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.3031, allocations: 19.91 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.3032, allocations: 8 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.3032, allocations: 0 / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.3034, allocations: 119.8 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3034, allocations: 7.938 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.3035, allocations: 3.984 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.3037, allocations: 91.75 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3037, allocations: 4 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3037, allocations: 0 / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3037, allocations: 0 / 1.029 GB, free: 15.94 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.0004753/0.3042, allocations: 355.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3042, allocations: 12.03 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.3043, allocations: 4.844 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3044, allocations: 164.4 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3044, allocations: 4.375 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.3044, allocations: 4.375 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3046, allocations: 50.23 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3046, allocations: 4.125 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3046, allocations: 3.938 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3047, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.3048, allocations: 39.89 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.3051, allocations: 245 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3052, allocations: 38.5 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.3053, allocations: 24.89 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.306, allocations: 461.4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3061, allocations: 34.56 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.635e-06/0.3061, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003452/0.3064, allocations: 85.58 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.3065, allocations: 55.53 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.3066, allocations: 101.8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3066, allocations: 25.7 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.3067, allocations: 84.05 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.3067, allocations: 4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.3067, allocations: 13.72 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3068, allocations: 314.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.3069, allocations: 19.98 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.307, allocations: 15.98 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.3071, allocations: 44.75 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3071, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.3073, allocations: 69.52 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3074, allocations: 8.094 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3074, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3074, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.3075, allocations: 11.98 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3075, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.3075, allocations: 11.98 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.3076, allocations: 0 / 1.031 GB, free: 13.36 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.595e-05/0.3076, allocations: 113.7 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3077, allocations: 4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.3079, allocations: 76.72 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3079, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3079, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3079, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.3081, allocations: 165.5 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3081, allocations: 4 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.3081, allocations: 7.984 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3082, allocations: 4.031 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.3082, allocations: 192 / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3082, allocations: 0 / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3082, allocations: 4 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3084, allocations: 167.4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.3084, allocations: 88.95 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.3085, allocations: 4.031 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.3085, allocations: 7.984 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.3086, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3086, allocations: 4 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.3086, allocations: 83.22 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3086, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002612/0.3089, allocations: 35.98 kB / 1.032 GB, free: 12.5 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.0002514/0.3092, allocations: 135.2 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3094, allocations: 35.97 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3094, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.3095, allocations: 31.97 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.3097, allocations: 6.281 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.31, allocations: 100.5 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3103, allocations: 0.6768 MB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.3103, allocations: 3.984 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.3104, allocations: 7.438 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of SimCode: time 6.92e-07/0.3104, allocations: 4.062 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.003371/0.3137, allocations: 0.8709 MB / 1.034 GB, free: 10.57 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches