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.001656/0.001656, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001956/0.001957, allocations: 189 kB / 16.25 MB, free: 6.633 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.915/2.915, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 70.5 kB / 0.8986 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3213, allocations: 157.4 MB / 1.052 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.002026/0.3233, allocations: 0.6426 MB / 1.053 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006862/0.3241, allocations: 306.9 kB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-06/0.3241, allocations: 0 / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.3241, allocations: 0 / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.481e-06/0.3241, allocations: 0 / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.3247, allocations: 95.7 kB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.554e-05/0.3248, allocations: 0 / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.3248, allocations: 4 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.3248, allocations: 3.984 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.996e-05/0.3248, allocations: 0 / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.3249, allocations: 3.938 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.3251, allocations: 147.7 kB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.3252, allocations: 0 / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.3252, allocations: 0 / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.3254, allocations: 75.83 kB / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3254, allocations: 0 / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3254, allocations: 0 / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.3254, allocations: 0 / 1.054 GB, free: 7.477 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.0003227/0.3257, allocations: 331.5 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3258, allocations: 12.62 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3258, allocations: 0.9375 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.3259, allocations: 168.4 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3259, allocations: 384 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3259, allocations: 384 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.83e-05/0.326, allocations: 30.2 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3261, allocations: 8.172 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3261, allocations: 3.938 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3261, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.3261, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.3262, allocations: 145.7 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.3263, allocations: 22.61 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.3263, allocations: 4.859 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008648/0.3272, allocations: 477.5 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3272, allocations: 38.5 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.3272, allocations: 0 / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.3274, allocations: 33.64 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3274, allocations: 51.41 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.456e-05/0.3275, allocations: 89.86 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3275, allocations: 25.7 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.3275, allocations: 88.27 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3275, allocations: 0 / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.3276, allocations: 9.719 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.3277, allocations: 318.8 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.3277, allocations: 4 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.3277, allocations: 0 / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.3277, allocations: 12.8 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3277, allocations: 4.062 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.622e-05/0.3278, allocations: 29.7 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3278, allocations: 4 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3278, allocations: 0 / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3278, allocations: 3.938 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.197e-05/0.3279, allocations: 7.984 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3279, allocations: 7.875 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.3279, allocations: 0 / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.3279, allocations: 0 / 1.055 GB, free: 5.266 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.687e-05/0.328, allocations: 115.4 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.328, allocations: 4 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.3281, allocations: 40.7 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3281, allocations: 0 / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3281, allocations: 3.984 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3281, allocations: 0 / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.548e-05/0.3282, allocations: 141.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3282, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.3282, allocations: 4 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3282, allocations: 4 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3283, allocations: 7.969 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3283, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3283, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.089e-05/0.3283, allocations: 65.06 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.3284, allocations: 77.11 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.3284, allocations: 3.938 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-06/0.3284, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.3284, allocations: 4.031 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3284, allocations: 4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.3285, allocations: 75.28 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3285, allocations: 0 / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002227/0.3287, allocations: 31.98 kB / 1.056 GB, free: 4.598 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.0002909/0.329, allocations: 139.2 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.414e-05/0.3291, allocations: 4 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3291, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.3291, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3292, allocations: 3.938 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.3294, allocations: 92.83 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.3296, allocations: 0.673 MB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.013e-05/0.3296, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.3297, allocations: 11.44 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3297, allocations: 3.938 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of Templates: time 0.002962/0.3326, allocations: 0.6563 MB / 1.057 GB, free: 2.953 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