Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 200 kB / 16.79 MB, free: 6.828 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7106 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 63.91 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6809, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003193/0.6841, allocations: 1.5 MB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008555/0.685, allocations: 383.6 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.6851, allocations: 4 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.6852, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.6852, allocations: 7.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.6857, allocations: 75.84 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.338e-05/0.6858, allocations: 19.94 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.6859, allocations: 7.984 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.6859, allocations: 11.94 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.686, allocations: 11.97 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.686, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.6863, allocations: 139.8 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.6863, allocations: 7.922 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.6864, allocations: 11.98 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.6865, allocations: 55.91 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6865, allocations: 3.938 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6866, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.6866, allocations: 3.938 kB / 1.019 GB, free: 0.5586 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.0005228/0.6871, allocations: 357.5 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6871, allocations: 8.031 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.6872, allocations: 0.9375 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.6873, allocations: 172.3 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.6874, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.6874, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.6876, allocations: 54.22 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6876, allocations: 192 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6876, allocations: 3.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6876, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.6878, allocations: 35.97 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.6882, allocations: 252.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.6883, allocations: 38.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.6884, allocations: 32.91 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007536/0.6892, allocations: 465.4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.6892, allocations: 38.56 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.6892, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003629/0.6896, allocations: 81.58 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6897, allocations: 51.41 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.6898, allocations: 101.9 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.6898, allocations: 25.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.6899, allocations: 92.25 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.6899, allocations: 3.906 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.6899, allocations: 13.72 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6901, allocations: 314.8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.6902, allocations: 15.98 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.6903, allocations: 19.97 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.6904, allocations: 40.89 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6904, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.6906, allocations: 73.53 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6906, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6907, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6907, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.6908, allocations: 15.95 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.6908, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.6908, allocations: 7.906 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.6908, allocations: 0 / 1.022 GB, free: 13.96 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.0001212/0.691, allocations: 114.3 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.691, allocations: 3.984 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.6912, allocations: 80.72 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6912, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6912, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6913, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.6914, allocations: 157.6 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6914, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.6915, allocations: 11.98 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.6915, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.6915, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6915, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6915, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.6918, allocations: 167.5 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.6918, allocations: 81.05 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.6918, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.6919, allocations: 7.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.6919, allocations: 8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.692, allocations: 4.031 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.692, allocations: 91.44 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.692, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002937/0.6923, allocations: 32 kB / 1.022 GB, free: 13.12 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.0003087/0.6926, allocations: 135.2 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.6929, allocations: 35.95 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6929, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.6929, allocations: 19.98 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.6932, allocations: 11.88 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.6935, allocations: 145.1 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.6938, allocations: 0.677 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.6939, allocations: 7.438 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.6939, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.002588/0.6965, allocations: 0.9774 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches