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.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.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.001155/0.001155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001281/0.001281, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.874/2.874, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 0.8986 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3821, allocations: 157.4 MB / 1.052 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001636/0.3838, allocations: 0.6386 MB / 1.053 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005224/0.3843, allocations: 295 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.3844, allocations: 0 / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.3844, allocations: 7.875 kB / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-06/0.3844, allocations: 0 / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.3848, allocations: 83.72 kB / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.129e-05/0.3848, allocations: 8 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.097e-05/0.3849, allocations: 3.984 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.247e-05/0.3849, allocations: 7.984 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.498e-05/0.3849, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-06/0.3849, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.3851, allocations: 123.8 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.3852, allocations: 3.984 kB / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.252e-05/0.3852, allocations: 0 / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.3853, allocations: 75.83 kB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3853, allocations: 0 / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3853, allocations: 0 / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3854, allocations: 4 kB / 1.053 GB, free: 7.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002811/0.3856, allocations: 323.6 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.3857, allocations: 12.56 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.3857, allocations: 4.938 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.878e-05/0.3858, allocations: 164.4 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3858, allocations: 4.359 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3858, allocations: 384 / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.371e-05/0.3859, allocations: 26.27 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.3859, allocations: 4.188 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3859, allocations: 7.938 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3859, allocations: 3.984 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.688e-05/0.386, allocations: 3.938 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.3861, allocations: 141.7 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.464e-05/0.3861, allocations: 22.61 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.3861, allocations: 8.844 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/0.3868, allocations: 453.5 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3869, allocations: 38.56 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3869, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001061/0.387, allocations: 41.56 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.387, allocations: 55.53 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.701e-05/0.3871, allocations: 89.86 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.3871, allocations: 25.7 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.3871, allocations: 80.14 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.3871, allocations: 0 / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.3872, allocations: 13.72 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3873, allocations: 314.8 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.3873, allocations: 0 / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-06/0.3873, allocations: 4 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.3873, allocations: 12.86 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3873, allocations: 0 / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.938e-05/0.3874, allocations: 41.62 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3874, allocations: 4 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3874, allocations: 0 / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3874, allocations: 3.938 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.3875, allocations: 4 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3875, allocations: 4 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.029e-05/0.3875, allocations: 4.031 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.3875, allocations: 0 / 1.055 GB, free: 5.32 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 5.716e-05/0.3876, allocations: 113.8 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.3876, allocations: 0 / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.3877, allocations: 44.69 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3877, allocations: 4 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3877, allocations: 0 / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.3877, allocations: 0 / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.866e-05/0.3878, allocations: 145.7 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3878, allocations: 4.031 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.3878, allocations: 4 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3878, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3878, allocations: 3.938 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3878, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3878, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.82e-05/0.3879, allocations: 57.12 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.3879, allocations: 81.11 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.3879, allocations: 7.969 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-06/0.388, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.388, allocations: 3.938 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.388, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.388, allocations: 75.28 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.388, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002138/0.3882, allocations: 36 kB / 1.056 GB, free: 4.652 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.0002351/0.3885, allocations: 139.2 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.75e-05/0.3885, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3885, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-06/0.3886, allocations: 4 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.3887, allocations: 1.5 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001472/0.3888, allocations: 88.84 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.3891, allocations: 0.6729 MB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.14e-05/0.3891, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.3891, allocations: 11.38 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3891, allocations: 3.938 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of Templates: time 0.002336/0.3914, allocations: 0.6357 MB / 1.057 GB, free: 3.035 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/jenkins/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