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.00738/0.00738, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.001842/0.001842, allocations: 202 kB / 16.79 MB, free: 6.215 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.763/2.763, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 69.16 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.333, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002105/0.3351, allocations: 0.6387 MB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.3359, allocations: 307 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.184e-05/0.3359, allocations: 0 / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.336, allocations: 3.938 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-06/0.336, allocations: 0 / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.3365, allocations: 75.8 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.637e-05/0.3365, allocations: 4 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.3366, allocations: 4 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.3366, allocations: 0 / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.058e-05/0.3366, allocations: 0 / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.3366, allocations: 0 / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.3369, allocations: 135.7 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.337, allocations: 0 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.337, allocations: 0 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3371, allocations: 47.92 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3371, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3371, allocations: 4 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.3372, allocations: 0 / 1.054 GB, free: 7.082 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003448/0.3375, allocations: 327.5 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3376, allocations: 11.97 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.3376, allocations: 4.938 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.668e-05/0.3377, allocations: 160.4 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3377, allocations: 8.312 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3377, allocations: 4.375 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.3378, allocations: 30.2 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3378, allocations: 8.172 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3379, allocations: 3.938 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3379, allocations: 0 / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.3379, allocations: 4 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.338, allocations: 141.7 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.006e-05/0.3381, allocations: 22.61 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.3381, allocations: 4.859 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007944/0.3389, allocations: 465.5 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3389, allocations: 34.56 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.339, allocations: 0 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.3391, allocations: 37.64 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3391, allocations: 55.53 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.269e-05/0.3392, allocations: 93.84 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.3392, allocations: 25.7 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.3392, allocations: 80.14 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3393, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.3393, allocations: 17.66 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3394, allocations: 314.8 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.3394, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.3394, allocations: 7.938 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.3395, allocations: 8.859 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3395, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.376e-05/0.3395, allocations: 33.69 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3396, allocations: 8 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3396, allocations: 3.938 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.3396, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.3397, allocations: 4.094 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.3397, allocations: 4 kB / 1.056 GB, free: 4.879 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 (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.497e-05/0.3397, allocations: 109.8 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.3398, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.3398, allocations: 44.69 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3399, allocations: 3.938 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3399, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3399, allocations: 3.984 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.057e-05/0.34, allocations: 149.7 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.34, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.34, allocations: 3.984 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.34, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.34, allocations: 7.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.34, allocations: 3.984 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.34, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.432e-05/0.3401, allocations: 57.08 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.3401, allocations: 81.14 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3402, allocations: 11.92 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-06/0.3402, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.3402, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.3402, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.3402, allocations: 75.28 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3402, allocations: 0 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000222/0.3405, allocations: 28 kB / 1.056 GB, free: 4.207 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 (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.0002719/0.3407, allocations: 139.2 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.633e-05/0.3408, allocations: 4 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3408, allocations: 0 / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.3408, allocations: 11.92 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.341, allocations: 4.125 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/0.3412, allocations: 112.2 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3415, allocations: 0.6731 MB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.3415, allocations: 7.438 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of SimCode: time 3.9e-07/0.3415, allocations: 0 / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of Templates: time 0.002229/0.3437, allocations: 0.7531 MB / 1.058 GB, free: 2.434 MB / 0.8106 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