Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007151/0.007151, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001288/0.001288, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.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.374/2.374, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 72.92 kB / 0.9509 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001747/0.3316, allocations: 0.5726 MB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006624/0.3322, allocations: 303.2 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.3323, allocations: 0 / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.3323, allocations: 0 / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.003e-06/0.3323, allocations: 0 / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.3328, allocations: 91.72 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.671e-05/0.3328, allocations: 4 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.3329, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.604e-05/0.3329, allocations: 4 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.463e-05/0.3329, allocations: 4 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.333, allocations: 0 / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.3332, allocations: 115.8 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.3332, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.3333, allocations: 7.984 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3334, allocations: 67.84 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3334, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3334, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3335, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 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.0003563/0.3338, allocations: 339.5 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3339, allocations: 8.031 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.3339, allocations: 4.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.334, allocations: 160.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.334, allocations: 384 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.334, allocations: 384 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.3341, allocations: 30.25 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3341, allocations: 192 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3342, allocations: 3.938 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3342, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.3342, allocations: 7.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.3344, allocations: 149.7 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.288e-05/0.3344, allocations: 18.61 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.3344, allocations: 4.859 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007936/0.3352, allocations: 461.5 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3353, allocations: 34.56 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3353, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.3354, allocations: 41.56 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3355, allocations: 51.41 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.3355, allocations: 89.86 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3355, allocations: 25.83 kB / 1.09 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.3356, allocations: 84.14 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.3356, allocations: 3.984 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.3356, allocations: 17.72 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3357, allocations: 310.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.3358, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-06/0.3358, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.3358, allocations: 8.859 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3358, allocations: 4.062 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.785e-05/0.3359, allocations: 37.62 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3359, allocations: 8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3359, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3359, allocations: 3.938 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.336, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.336, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-06/0.336, allocations: 3.938 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.336, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 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 7.11e-05/0.3361, allocations: 109.9 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.3361, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.3362, allocations: 44.69 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3362, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3362, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3362, allocations: 3.938 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.408e-05/0.3363, allocations: 153.6 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3363, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-06/0.3363, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3363, allocations: 8.031 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3363, allocations: 3.938 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3363, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3363, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.809e-05/0.3364, allocations: 49.14 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3364, allocations: 85.09 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.3365, allocations: 7.922 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-06/0.3365, allocations: 4 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.3365, allocations: 8.031 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.3365, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.3365, allocations: 79.22 kB / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3365, allocations: 0 / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002038/0.3367, allocations: 28 kB / 1.091 GB, free: 13.44 MB / 0.8575 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.0002692/0.337, allocations: 135.2 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.455e-05/0.3371, allocations: 7.984 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3371, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.3371, allocations: 4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.3373, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001939/0.3375, allocations: 85.2 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.3377, allocations: 0.6729 MB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.769e-06/0.3377, allocations: 0 / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.3377, allocations: 11.42 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of SimCode: time 1.463e-06/0.3377, allocations: 0 / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.002803/0.3405, allocations: 0.638 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches