Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_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.001169/0.00117, allocations: 102 kB / 16.27 MB, free: 5.855 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.001224/0.001225, allocations: 185.4 kB / 17.19 MB, free: 5.504 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.312/2.312, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 67.31 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002912/0.3097, allocations: 1.421 MB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006993/0.3104, allocations: 349.7 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.3105, allocations: 4 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.3105, allocations: 0 / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.3106, allocations: 3.938 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.311, allocations: 99.72 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.3111, allocations: 27.92 kB / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.3112, allocations: 4 kB / 0.9521 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.3113, allocations: 15.97 kB / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.3113, allocations: 7.938 kB / 0.9521 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.3113, allocations: 0 / 0.9521 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.3116, allocations: 123.8 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.3116, allocations: 3.984 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.3116, allocations: 7.938 kB / 0.9523 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3118, allocations: 83.81 kB / 0.9524 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3118, allocations: 8 kB / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3118, allocations: 0 / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3119, allocations: 0 / 0.9524 GB, free: 6.719 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.0005229/0.3124, allocations: 360.9 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3124, allocations: 15.97 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3125, allocations: 0.9375 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3126, allocations: 164.3 kB / 0.9529 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3126, allocations: 4.375 kB / 0.9529 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.3126, allocations: 384 / 0.9529 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.3128, allocations: 54.23 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3129, allocations: 4.188 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3129, allocations: 3.938 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3129, allocations: 0 / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3131, allocations: 35.95 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.3134, allocations: 252.9 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3136, allocations: 42.48 kB / 0.9533 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.3137, allocations: 20.89 kB / 0.9533 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/0.3144, allocations: 461.5 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3145, allocations: 30.56 kB / 0.9537 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3145, allocations: 0 / 0.9537 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.3148, allocations: 85.58 kB / 0.9538 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3149, allocations: 51.53 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.3149, allocations: 101.8 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.315, allocations: 29.7 kB / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.315, allocations: 80.14 kB / 0.9541 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.315, allocations: 11.84 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.3151, allocations: 9.719 kB / 0.9541 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3152, allocations: 322.8 kB / 0.9544 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.3153, allocations: 15.92 kB / 0.9544 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3153, allocations: 19.98 kB / 0.9544 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3155, allocations: 40.81 kB / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3155, allocations: 0 / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002164/0.3157, allocations: 73.45 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3158, allocations: 8.094 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3158, allocations: 0 / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3158, allocations: 0 / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.3159, allocations: 11.98 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.3159, allocations: 0 / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.3159, allocations: 7.984 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3159, allocations: 3.984 kB / 0.9546 GB, free: 4.125 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 7.035e-05/0.316, allocations: 113.8 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.3161, allocations: 4 kB / 0.9547 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.3163, allocations: 72.72 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3163, allocations: 0 / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3163, allocations: 0 / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3163, allocations: 3.984 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.3165, allocations: 157.6 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3165, allocations: 4 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.3165, allocations: 7.984 kB / 0.9549 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3166, allocations: 4.031 kB / 0.9549 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3166, allocations: 0 / 0.9549 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3166, allocations: 0 / 0.9549 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3166, allocations: 4 kB / 0.9549 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3168, allocations: 159.5 kB / 0.9551 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.3169, allocations: 89.05 kB / 0.9552 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3169, allocations: 32 / 0.9552 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.317, allocations: 11.98 kB / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.317, allocations: 7.938 kB / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.317, allocations: 0 / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.3171, allocations: 79.28 kB / 0.9553 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.463e-06/0.3171, allocations: 0 / 0.9553 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002668/0.3173, allocations: 35.92 kB / 0.9553 GB, free: 3.285 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.0003364/0.3177, allocations: 135.2 kB / 0.9554 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3179, allocations: 39.97 kB / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3179, allocations: 0 / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.318, allocations: 24.03 kB / 0.9555 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3183, allocations: 3.938 kB / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.3186, allocations: 143.2 kB / 0.9556 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.3188, allocations: 0.6805 MB / 0.9563 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.3188, allocations: 11.42 kB / 0.9563 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of SimCode: time 4.2e-07/0.3189, allocations: 0 / 0.9563 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of Templates: time 0.002626/0.3215, allocations: 0.9704 MB / 0.9573 GB, free: 1.219 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches