Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_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.002032/0.002032, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002342/0.002342, allocations: 195.2 kB / 16.14 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.578/1.578, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6613, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.004071/0.6654, allocations: 1.495 MB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.6665, allocations: 367.8 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.6666, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.6666, allocations: 3.984 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.6667, allocations: 7.922 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.6673, allocations: 67.88 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.347e-05/0.6674, allocations: 23.92 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.6675, allocations: 11.98 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.6676, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.6676, allocations: 15.92 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.6677, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.6681, allocations: 135.7 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.6681, allocations: 4 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.6682, allocations: 7.938 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.6685, allocations: 83.75 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.6685, allocations: 8 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6685, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.6685, allocations: 3.938 kB / 1.019 GB, free: 0.6992 MB / 0.7637 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.000703/0.6692, allocations: 355.7 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.6693, allocations: 12.03 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.6694, allocations: 4.938 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.6696, allocations: 164.3 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.6696, allocations: 384 / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.6696, allocations: 4.375 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.6699, allocations: 58.17 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6699, allocations: 192 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.6699, allocations: 3.938 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6699, allocations: 0 / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.6702, allocations: 36.03 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.6707, allocations: 245 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.6709, allocations: 38.5 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.671, allocations: 28.83 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.6721, allocations: 453.5 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.6721, allocations: 34.56 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.6722, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005005/0.6727, allocations: 77.64 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.6727, allocations: 63.47 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.6729, allocations: 101.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.6729, allocations: 25.7 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.673, allocations: 84.08 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.673, allocations: 7.906 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.6731, allocations: 13.72 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6733, allocations: 318.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.6734, allocations: 19.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.6735, allocations: 15.98 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.6738, allocations: 40.81 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6738, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002787/0.674, allocations: 65.52 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.6741, allocations: 13.66 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6741, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6741, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.6742, allocations: 15.98 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6743, allocations: 7.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.6743, allocations: 3.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.6744, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 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 0.0001063/0.6745, allocations: 109.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.6745, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.6749, allocations: 76.78 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6749, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6749, allocations: 3.938 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.6749, allocations: 3.984 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.6751, allocations: 161.5 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6752, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.6752, allocations: 12.17 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6753, allocations: 4.031 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.6753, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6753, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.6753, allocations: 7.922 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.6756, allocations: 163.5 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.6757, allocations: 77.11 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.6757, allocations: 8.031 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6759, allocations: 7.984 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.6759, allocations: 3.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.6759, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.676, allocations: 79.28 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.676, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004213/0.6764, allocations: 35.98 kB / 1.022 GB, free: 13.28 MB / 0.7794 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.0003812/0.6768, allocations: 131.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.6771, allocations: 39.91 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6771, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.6772, allocations: 20.03 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.6776, allocations: 11.94 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.678, allocations: 103.5 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.6785, allocations: 0.6731 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.6786, allocations: 3.984 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.6786, allocations: 7.438 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6786, allocations: 4.062 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.004841/0.6835, allocations: 0.8152 MB / 1.024 GB, free: 11.42 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches