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.00111/0.00111, allocations: 103.8 kB / 16.41 MB, free: 6.016 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.001106/0.001106, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9695/0.9709, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003126/0.9741, allocations: 1.43 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.9749, allocations: 342.8 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.975, allocations: 4 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.975, allocations: 7.922 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.9751, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.9756, allocations: 95.72 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.9757, allocations: 23.92 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.9758, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.9759, allocations: 11.98 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.9759, allocations: 7.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.9759, allocations: 8 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.9762, allocations: 127.7 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.9762, allocations: 8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.9763, allocations: 3.938 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.9765, allocations: 83.81 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9765, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9765, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9765, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 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.0005384/0.9771, allocations: 355.3 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.9771, allocations: 23.95 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.9772, allocations: 0.9375 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.9773, allocations: 160.4 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.9774, allocations: 4.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.9774, allocations: 4.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.9776, allocations: 54.17 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.9776, allocations: 192 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.9776, allocations: 7.938 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.9776, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.9779, allocations: 39.95 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.9782, allocations: 245 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.9784, allocations: 38.5 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/0.9785, allocations: 24.83 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/0.9792, allocations: 457.5 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.9793, allocations: 34.56 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.9793, allocations: 0 / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000369/0.9797, allocations: 85.55 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.9797, allocations: 55.41 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.9798, allocations: 101.8 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.9798, allocations: 29.64 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.9799, allocations: 80.14 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.9799, allocations: 3.906 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.9799, allocations: 21.78 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9801, allocations: 318.8 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.9802, allocations: 15.98 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.9803, allocations: 15.98 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.9804, allocations: 36.83 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9804, allocations: 8.047 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.9806, allocations: 61.61 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9806, allocations: 8 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9807, allocations: 0 / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.9807, allocations: 192 / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.9808, allocations: 7.984 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.9808, allocations: 7.938 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.9808, allocations: 3.984 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.9808, allocations: 12.03 kB / 1.213 GB, free: 8.84 MB / 0.9356 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 8.651e-05/0.9809, allocations: 109.8 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.981, allocations: 3.984 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.9812, allocations: 72.78 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.9812, allocations: 0 / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9812, allocations: 0 / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9812, allocations: 0 / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.9814, allocations: 169.6 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9814, allocations: 0 / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.9815, allocations: 11.98 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9815, allocations: 0 / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.9815, allocations: 0 / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9815, allocations: 0 / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9815, allocations: 3.938 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.9818, allocations: 167.4 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.9819, allocations: 78.94 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.9819, allocations: 12 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.982, allocations: 7.984 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.982, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.982, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.9821, allocations: 83.22 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9821, allocations: 0 / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002622/0.9823, allocations: 36.02 kB / 1.213 GB, free: 8 MB / 0.9356 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.0002611/0.9826, allocations: 131.2 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.9828, allocations: 39.91 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9828, allocations: 4 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.9829, allocations: 15.97 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.9832, allocations: 11.94 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.9835, allocations: 123.2 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.9839, allocations: 0.6769 MB / 1.214 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.9839, allocations: 7.438 kB / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.9839, allocations: 0 / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of Templates: time 0.002562/0.9865, allocations: 0.9862 MB / 1.215 GB, free: 5.941 MB / 0.9356 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/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