Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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: 111.3 kB / 15.23 MB, free: 0.6602 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.001682/0.001682, allocations: 198 kB / 16.14 MB, free: 6.645 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.897/2.897, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 65.16 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4094, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001992/0.4114, allocations: 0.6387 MB / 1.053 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007129/0.4121, allocations: 330.9 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-06/0.4122, allocations: 7.938 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.4122, allocations: 0 / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-06/0.4122, allocations: 0 / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.4126, allocations: 75.78 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.936e-05/0.4127, allocations: 8 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.4127, allocations: 0 / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.202e-05/0.4127, allocations: 4 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.4127, allocations: 0 / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.552e-06/0.4128, allocations: 0 / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.413, allocations: 143.7 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.4131, allocations: 0 / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.4131, allocations: 0 / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.4133, allocations: 75.81 kB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4133, allocations: 0 / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4133, allocations: 0 / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.4133, allocations: 0 / 1.053 GB, free: 7.566 MB / 0.8106 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.0003278/0.4136, allocations: 339.5 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4137, allocations: 8.031 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.4137, allocations: 0.9375 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.4138, allocations: 168.4 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4138, allocations: 384 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.4138, allocations: 4.375 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/0.4139, allocations: 30.2 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4139, allocations: 192 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4139, allocations: 3.938 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.414, allocations: 4 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.414, allocations: 4 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.4141, allocations: 145.7 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/0.4142, allocations: 18.58 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.4142, allocations: 8.953 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008353/0.415, allocations: 465.5 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.4151, allocations: 42.5 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 6.341e-06/0.4151, allocations: 3.984 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.4152, allocations: 37.62 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.4153, allocations: 55.53 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.411e-05/0.4153, allocations: 89.86 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4153, allocations: 25.7 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.4154, allocations: 80.14 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.4154, allocations: 0 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.4154, allocations: 13.72 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4156, allocations: 318.8 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.4156, allocations: 0 / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.4156, allocations: 4 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.365e-05/0.4156, allocations: 12.8 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4156, allocations: 0 / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.065e-05/0.4157, allocations: 33.69 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4157, allocations: 8 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4157, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4157, allocations: 3.938 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.942e-05/0.4158, allocations: 0 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4158, allocations: 4 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.4158, allocations: 12.03 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.4158, allocations: 0 / 1.055 GB, free: 5.344 MB / 0.8106 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.963e-05/0.4159, allocations: 111.4 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.4159, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.416, allocations: 44.69 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.416, allocations: 0 / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.416, allocations: 4 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.416, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.34e-05/0.4161, allocations: 149.7 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4161, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.4161, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4161, allocations: 4 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4161, allocations: 3.938 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4161, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4162, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.14e-05/0.4162, allocations: 57.08 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.4163, allocations: 89.12 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.4163, allocations: 3.938 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-06/0.4163, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.4163, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4163, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.293e-05/0.4163, allocations: 75.28 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4163, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002294/0.4166, allocations: 32 kB / 1.056 GB, free: 4.684 MB / 0.8106 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.0002674/0.4168, allocations: 139.2 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.4169, allocations: 4 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4169, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.4169, allocations: 4 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.4171, allocations: 8.062 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001674/0.4172, allocations: 82.61 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.4175, allocations: 0.677 MB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.424e-05/0.4175, allocations: 3.984 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.4175, allocations: 7.438 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.4175, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of Templates: time 0.002656/0.4202, allocations: 0.6525 MB / 1.057 GB, free: 3.043 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches