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.001688/0.001695, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001878/0.001878, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.391/2.391, allocations: 437.1 MB / 0.7112 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 67.73 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2912, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002945/0.2942, allocations: 1.431 MB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000711/0.2949, allocations: 365.1 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.295, allocations: 0 / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.295, allocations: 0 / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.2951, allocations: 11.92 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.2957, allocations: 100.4 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.2957, allocations: 31.86 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.2958, allocations: 7.984 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.2959, allocations: 11.98 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.296, allocations: 15.92 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.296, allocations: 0 / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.2962, allocations: 131.7 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.2962, allocations: 4 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.2963, allocations: 11.94 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.2965, allocations: 83.86 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2965, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.185e-06/0.2965, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.2965, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 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.0005314/0.2971, allocations: 359.4 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2971, allocations: 8.922 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.2972, allocations: 8.828 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2973, allocations: 168.4 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2973, allocations: 384 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.2973, allocations: 4.312 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2975, allocations: 46.25 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2975, allocations: 8.172 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2975, allocations: 3.938 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2976, allocations: 0 / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.2977, allocations: 31.97 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.298, allocations: 245 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2982, allocations: 46.44 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.2983, allocations: 24.91 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/0.2991, allocations: 477.4 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.2991, allocations: 30.56 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2991, allocations: 0 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003432/0.2995, allocations: 77.64 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.2995, allocations: 55.41 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.2996, allocations: 105.9 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2996, allocations: 25.7 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.2997, allocations: 88.08 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.2997, allocations: 3.906 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.2998, allocations: 17.7 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2999, allocations: 314.8 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.3, allocations: 11.98 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.3, allocations: 19.98 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3002, allocations: 40.81 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3002, allocations: 0 / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001822/0.3004, allocations: 69.52 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3004, allocations: 7.984 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3004, allocations: 12.03 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3004, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.3005, allocations: 8 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3005, allocations: 3.938 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.3006, allocations: 7.984 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3006, allocations: 0 / 1.023 GB, free: 5.012 MB / 0.795 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 7.232e-05/0.3007, allocations: 113.8 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3007, allocations: 0 / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.3009, allocations: 80.77 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3009, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3009, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3009, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3011, allocations: 157.6 kB / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3011, allocations: 0 / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.3012, allocations: 15.92 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3012, allocations: 0 / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3012, allocations: 32 / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3012, allocations: 4 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3012, allocations: 4.172 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.3014, allocations: 163.5 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.3015, allocations: 85.03 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3015, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.3016, allocations: 12.02 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.3017, allocations: 4 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3017, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.3017, allocations: 87.27 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3017, allocations: 0 / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002602/0.302, allocations: 31.91 kB / 1.024 GB, free: 4.168 MB / 0.795 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.0002446/0.3022, allocations: 131.2 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3025, allocations: 39.89 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3025, allocations: 0 / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.3025, allocations: 24.05 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3028, allocations: 11.88 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.303, allocations: 97.62 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3033, allocations: 0.6768 MB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.3033, allocations: 4 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.3034, allocations: 7.438 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3034, allocations: 3.938 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of Templates: time 0.003146/0.3065, allocations: 0.9081 MB / 1.026 GB, free: 2.215 MB / 0.795 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 -s gbode -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