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.001178/0.001178, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001187/0.001187, allocations: 187 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.512/2.512, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.84 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.91/0.9115, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001963/0.9135, allocations: 0.5775 MB / 1.209 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006983/0.9142, allocations: 299 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.9143, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.9143, allocations: 4 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.9143, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.9149, allocations: 111.6 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.915, allocations: 0 / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.9151, allocations: 3.938 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.9151, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.175e-05/0.9151, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.9151, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.9154, allocations: 127.8 kB / 1.21 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.9154, allocations: 0 / 1.21 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.9155, allocations: 4 kB / 1.21 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.9157, allocations: 71.83 kB / 1.21 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9157, allocations: 0 / 1.21 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9157, allocations: 0 / 1.21 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.9157, allocations: 0 / 1.21 GB, free: 12.61 MB / 0.9356 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.0003947/0.9161, allocations: 327.6 kB / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9162, allocations: 12.03 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.9162, allocations: 4.938 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.9163, allocations: 164.4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.9164, allocations: 4.359 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.9164, allocations: 4.375 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.9165, allocations: 30.27 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9165, allocations: 192 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.9165, allocations: 7.875 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9165, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.56e-05/0.9166, allocations: 3.938 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.9167, allocations: 153.7 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.9168, allocations: 22.56 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.9168, allocations: 4.859 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000885/0.9177, allocations: 469.5 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.9177, allocations: 34.56 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.9178, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.9179, allocations: 37.58 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.9179, allocations: 55.39 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.606e-05/0.918, allocations: 93.86 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.918, allocations: 29.64 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.9181, allocations: 80.14 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.9181, allocations: 4.125 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.9181, allocations: 13.72 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9183, allocations: 314.8 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.9183, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.9183, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/0.9183, allocations: 8.859 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9183, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.755e-05/0.9184, allocations: 41.62 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.9184, allocations: 8.094 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9184, allocations: 0 / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.9184, allocations: 7.938 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.898e-05/0.9185, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.9185, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.9185, allocations: 3.906 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.9185, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 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.72e-05/0.9186, allocations: 109.8 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-06/0.9186, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.9187, allocations: 48.69 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9187, allocations: 0 / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9187, allocations: 0 / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9187, allocations: 0 / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.9188, allocations: 149.7 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9189, allocations: 3.938 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.9189, allocations: 3.984 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9189, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.9189, allocations: 3.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9189, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9189, allocations: 4.031 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.735e-05/0.919, allocations: 57.14 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.919, allocations: 81.09 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.919, allocations: 3.938 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.9191, allocations: 0 / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.9191, allocations: 7.938 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.9191, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.9191, allocations: 79.31 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9191, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002313/0.9194, allocations: 24 kB / 1.212 GB, free: 9.719 MB / 0.9356 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.0002745/0.9196, allocations: 135.2 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.219e-05/0.9197, allocations: 7.984 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9197, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.9197, allocations: 3.938 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.9199, allocations: 5.719 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.9201, allocations: 104.2 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.9204, allocations: 0.6728 MB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.9204, allocations: 11.56 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.9204, allocations: 4 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of Templates: time 0.002305/0.9227, allocations: 0.7767 MB / 1.214 GB, free: 7.938 MB / 0.9356 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/jenkins1/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