Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_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.001737/0.001738, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001925/0.001925, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.33 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2959, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00323/0.2992, allocations: 1.42 MB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.3, allocations: 365.7 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.3001, allocations: 0 / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.3001, allocations: 0 / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.3002, allocations: 7.938 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.3008, allocations: 107.7 kB / 0.9521 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.486e-05/0.3009, allocations: 27.91 kB / 0.9521 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.301, allocations: 4 kB / 0.9521 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.3011, allocations: 8 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.3012, allocations: 15.92 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3012, allocations: 0 / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.3015, allocations: 127.8 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.3015, allocations: 4 kB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.3016, allocations: 15.86 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3019, allocations: 95.8 kB / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3019, allocations: 0 / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.846e-06/0.3019, allocations: 0 / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.3019, allocations: 0 / 0.9524 GB, free: 6.664 MB / 0.7325 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.000659/0.3026, allocations: 356.9 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.3027, allocations: 8.031 kB / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.3027, allocations: 4.922 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3029, allocations: 168.3 kB / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3029, allocations: 384 / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.303, allocations: 4.375 kB / 0.9529 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3032, allocations: 58.16 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3032, allocations: 192 / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3032, allocations: 3.938 kB / 0.953 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3033, allocations: 0 / 0.953 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.3034, allocations: 31.97 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.3039, allocations: 249 kB / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.304, allocations: 38.5 kB / 0.9533 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.3041, allocations: 28.89 kB / 0.9533 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008764/0.305, allocations: 473.4 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3051, allocations: 30.56 kB / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3051, allocations: 0 / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003952/0.3055, allocations: 81.64 kB / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.3055, allocations: 51.41 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.3056, allocations: 101.9 kB / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3057, allocations: 25.7 kB / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.3057, allocations: 88.12 kB / 0.9541 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3058, allocations: 7.844 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.3058, allocations: 13.72 kB / 0.9541 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.306, allocations: 315 kB / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.3061, allocations: 23.86 kB / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.3062, allocations: 19.97 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.3063, allocations: 40.83 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3063, allocations: 0 / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002263/0.3066, allocations: 73.66 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3066, allocations: 4 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3066, allocations: 0 / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3066, allocations: 4 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.3067, allocations: 7.984 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3067, allocations: 0 / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3068, allocations: 7.906 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3068, allocations: 0 / 0.9546 GB, free: 4.074 MB / 0.7325 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 9.547e-05/0.3069, allocations: 125.7 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.3069, allocations: 0 / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.3072, allocations: 68.78 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3072, allocations: 4 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3072, allocations: 0 / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3072, allocations: 0 / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3074, allocations: 157.6 kB / 0.955 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3074, allocations: 4.031 kB / 0.955 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.3075, allocations: 7.984 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3075, allocations: 4 kB / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.3075, allocations: 0 / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3075, allocations: 0 / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3075, allocations: 0 / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.3078, allocations: 171.4 kB / 0.9551 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.3079, allocations: 81.05 kB / 0.9552 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3079, allocations: 3.984 kB / 0.9552 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.308, allocations: 4 kB / 0.9552 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.308, allocations: 4 kB / 0.9552 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.308, allocations: 3.984 kB / 0.9552 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.3081, allocations: 83.47 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.793e-06/0.3081, allocations: 0 / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000273/0.3084, allocations: 31.94 kB / 0.9553 GB, free: 3.234 MB / 0.7325 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.0003097/0.3087, allocations: 143.4 kB / 0.9555 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3089, allocations: 43.89 kB / 0.9555 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3089, allocations: 0 / 0.9555 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.309, allocations: 19.98 kB / 0.9555 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3093, allocations: 9.812 kB / 0.9555 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.3096, allocations: 127.2 kB / 0.9557 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3099, allocations: 0.6845 MB / 0.9563 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.3099, allocations: 15.44 kB / 0.9564 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.3099, allocations: 0 / 0.9564 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of Templates: time 0.002623/0.3126, allocations: 0.9831 MB / 0.9573 GB, free: 1.152 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches