Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00162/0.00162, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001869/0.001869, allocations: 192 kB / 17.2 MB, free: 5.508 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001545, allocations: 68.56 kB / 0.8699 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001987/0.302, allocations: 0.5747 MB / 1.019 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006819/0.3027, allocations: 294.9 kB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.294e-05/0.3028, allocations: 4 kB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.3028, allocations: 0 / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.3028, allocations: 0 / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.3034, allocations: 103.6 kB / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.754e-05/0.3035, allocations: 0 / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3035, allocations: 0 / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.3035, allocations: 0 / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.292e-05/0.3036, allocations: 7.984 kB / 1.019 GB, free: 9.707 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.742e-06/0.3036, allocations: 0 / 1.019 GB, free: 9.707 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.3038, allocations: 115.8 kB / 1.019 GB, free: 9.594 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.3038, allocations: 4 kB / 1.019 GB, free: 9.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.3039, allocations: 0 / 1.019 GB, free: 9.59 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.304, allocations: 67.84 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3041, allocations: 7.984 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3041, allocations: 0 / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3041, allocations: 0 / 1.019 GB, free: 9.516 MB / 0.795 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.0003134/0.3044, allocations: 331.5 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3044, allocations: 8.922 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3045, allocations: 0.9375 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.3046, allocations: 164.4 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3046, allocations: 384 / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3046, allocations: 384 / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.3047, allocations: 34.27 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3047, allocations: 192 / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3048, allocations: 3.938 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3048, allocations: 0 / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.3048, allocations: 3.938 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.305, allocations: 153.7 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.936e-05/0.305, allocations: 14.58 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.305, allocations: 8.844 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.3058, allocations: 461.6 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3058, allocations: 38.55 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3059, allocations: 0 / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.306, allocations: 37.67 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.306, allocations: 59.44 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.956e-05/0.3061, allocations: 89.86 kB / 1.02 GB, free: 7.852 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3061, allocations: 29.7 kB / 1.02 GB, free: 7.816 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.3061, allocations: 80.14 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.3062, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.3062, allocations: 9.719 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3063, allocations: 314.8 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.3063, allocations: 7.984 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.3064, allocations: 4 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.3064, allocations: 12.86 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3064, allocations: 0 / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.721e-05/0.3065, allocations: 33.64 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3065, allocations: 4 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3065, allocations: 0 / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3065, allocations: 3.938 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.3066, allocations: 4 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3066, allocations: 8.031 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.3066, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3066, allocations: 3.984 kB / 1.021 GB, free: 7.312 MB / 0.795 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.129e-05/0.3067, allocations: 109.8 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.3067, allocations: 0 / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.3068, allocations: 44.7 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3068, allocations: 0 / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3068, allocations: 0 / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3068, allocations: 0 / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3069, allocations: 153.7 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3069, allocations: 0 / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.307, allocations: 4 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.307, allocations: 0 / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.307, allocations: 3.938 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.307, allocations: 0 / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.307, allocations: 0 / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.3071, allocations: 61.12 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.3071, allocations: 81.14 kB / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.3071, allocations: 3.938 kB / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-06/0.3071, allocations: 0 / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.3072, allocations: 3.938 kB / 1.021 GB, free: 6.754 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.3072, allocations: 8 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.3072, allocations: 75.28 kB / 1.021 GB, free: 6.672 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3072, allocations: 0 / 1.021 GB, free: 6.672 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002426/0.3075, allocations: 27.98 kB / 1.021 GB, free: 6.645 MB / 0.795 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.0002723/0.3077, allocations: 135.2 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.3078, allocations: 8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3078, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.3079, allocations: 4.062 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.308, allocations: 5.891 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.3082, allocations: 106.7 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3085, allocations: 0.6767 MB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.3085, allocations: 7.438 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of SimCode: time 1.523e-06/0.3085, allocations: 4 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of Templates: time 0.002437/0.3109, allocations: 0.7624 MB / 1.023 GB, free: 4.875 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches