Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.001665/0.001665, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.26 MB / 206.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.43/2.43, allocations: 437 MB / 0.7107 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 72.77 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3152, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001883/0.3171, allocations: 0.6472 MB / 1.018 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000623/0.3178, allocations: 308.5 kB / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.109e-05/0.3178, allocations: 0 / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.3178, allocations: 0 / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.3178, allocations: 0 / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.3183, allocations: 95.7 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 2.96e-05/0.3183, allocations: 0 / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.3184, allocations: 4 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.3184, allocations: 4 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.057e-05/0.3184, allocations: 3.984 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.3184, allocations: 0 / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.3187, allocations: 131.8 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.3187, allocations: 7.969 kB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.3187, allocations: 0 / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3188, allocations: 47.92 kB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3188, allocations: 0 / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3189, allocations: 0 / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3189, allocations: 0 / 1.019 GB, free: 9.734 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00031/0.3192, allocations: 335.5 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3192, allocations: 8.625 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.3193, allocations: 0.9375 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/0.3194, allocations: 164.4 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3194, allocations: 384 / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.3194, allocations: 384 / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.237e-05/0.3195, allocations: 30.2 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.3195, allocations: 192 / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3195, allocations: 3.938 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3195, allocations: 8 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.924e-05/0.3195, allocations: 3.984 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.3197, allocations: 145.7 kB / 1.019 GB, free: 8.906 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.3197, allocations: 18.61 kB / 1.019 GB, free: 8.879 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.3197, allocations: 4.859 kB / 1.019 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008414/0.3206, allocations: 473.5 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.3206, allocations: 42.48 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3206, allocations: 0 / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.3208, allocations: 33.64 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.3208, allocations: 55.53 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.99e-05/0.3209, allocations: 89.86 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3209, allocations: 29.64 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.3209, allocations: 80.14 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3209, allocations: 8 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.321, allocations: 9.719 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3211, allocations: 310.8 kB / 1.02 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.3211, allocations: 3.984 kB / 1.02 GB, free: 7.605 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.3211, allocations: 8 kB / 1.02 GB, free: 7.598 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.3211, allocations: 8.797 kB / 1.02 GB, free: 7.586 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3211, allocations: 0 / 1.02 GB, free: 7.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.891e-05/0.3212, allocations: 37.7 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3212, allocations: 4 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3212, allocations: 0 / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3212, allocations: 7.922 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.481e-05/0.3213, allocations: 4 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3213, allocations: 96 / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.3213, allocations: 4 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.3213, allocations: 3.938 kB / 1.021 GB, free: 7.52 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 (1): * Single equations (assignments): 1 * 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 6.491e-05/0.3214, allocations: 109.8 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.3214, allocations: 0 / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.3215, allocations: 44.7 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3215, allocations: 0 / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3215, allocations: 4 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3215, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.882e-05/0.3216, allocations: 153.7 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3216, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.3216, allocations: 4 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3216, allocations: 0 / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3216, allocations: 3.938 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3216, allocations: 0 / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3216, allocations: 0 / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.511e-05/0.3217, allocations: 65.06 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.3217, allocations: 81.14 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3218, allocations: 3.938 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.3218, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.3218, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3218, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.3218, allocations: 75.28 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3218, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002086/0.322, allocations: 31.98 kB / 1.021 GB, free: 6.852 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 (1): * Single equations (assignments): 1 * 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.0002599/0.3223, allocations: 135.2 kB / 1.021 GB, free: 6.711 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.701e-05/0.3224, allocations: 0 / 1.021 GB, free: 6.711 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3224, allocations: 4 kB / 1.021 GB, free: 6.707 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.3224, allocations: 7.875 kB / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.3225, allocations: 6.016 kB / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.3227, allocations: 110.7 kB / 1.021 GB, free: 6.555 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.3229, allocations: 0.669 MB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.323, allocations: 7.438 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.323, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of Templates: time 0.002052/0.325, allocations: 0.769 MB / 1.023 GB, free: 5.082 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches