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.006082/0.006088, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001277/0.001277, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.389/1.389, allocations: 222.9 MB / 240.3 MB, free: 4.328 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.365/2.365, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 68.78 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3223, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001755/0.3241, allocations: 0.5727 MB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.3248, allocations: 299.2 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.3248, allocations: 3.938 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.3248, allocations: 0 / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.3249, allocations: 4 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.3254, allocations: 91.73 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.38e-05/0.3255, allocations: 3.984 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.3255, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.3255, allocations: 3.938 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.175e-05/0.3256, allocations: 8 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.3256, allocations: 0 / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.3258, allocations: 115.8 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-06/0.3259, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.3259, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.326, allocations: 67.89 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3261, allocations: 4 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3261, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3261, 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.0004224/0.3265, allocations: 337.4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.3266, allocations: 8.031 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.3266, allocations: 0.9375 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3268, allocations: 160.4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3268, allocations: 4.312 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.3268, allocations: 384 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.3269, allocations: 34.27 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3269, allocations: 192 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.327, allocations: 11.91 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.327, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.327, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.3272, allocations: 149.7 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.285e-05/0.3272, allocations: 18.52 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.3273, allocations: 4.953 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000811/0.3281, allocations: 465.5 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3281, allocations: 30.56 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.3282, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.3283, allocations: 37.64 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.3283, allocations: 51.41 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.212e-05/0.3284, allocations: 89.86 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3284, allocations: 29.7 kB / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.3285, allocations: 88.06 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3285, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.3285, allocations: 13.72 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3286, allocations: 314.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.3287, allocations: 8.125 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.3287, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.3287, allocations: 8.859 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3287, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.171e-05/0.3288, allocations: 29.7 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3288, allocations: 7.984 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.3288, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3288, allocations: 7.938 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.3289, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3289, allocations: 4.094 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.3289, allocations: 3.938 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3289, allocations: 7.938 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 8.512e-05/0.329, allocations: 113.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.329, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.289e-05/0.3291, allocations: 40.75 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3291, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3291, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3291, allocations: 4.031 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3292, allocations: 149.6 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3293, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.3293, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3293, allocations: 3.984 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3293, allocations: 3.938 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3293, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3293, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.451e-05/0.3294, allocations: 61.08 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.3294, allocations: 77.11 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.3295, allocations: 7.922 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.3295, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.3295, allocations: 4 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.3295, allocations: 4 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.3295, allocations: 75.28 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3295, allocations: 0 / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002297/0.3298, allocations: 24 kB / 1.091 GB, free: 13.45 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.0002808/0.3301, allocations: 143.2 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.3301, allocations: 7.938 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3301, allocations: 4.062 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.3302, allocations: 3.984 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.3303, allocations: 7.938 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.3305, allocations: 81.08 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3308, allocations: 0.669 MB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.03e-05/0.3308, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.3308, allocations: 11.44 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3308, allocations: 0 / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.002692/0.3335, allocations: 0.6326 MB / 1.093 GB, free: 11.84 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