Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_10_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_10_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.001558/0.001558, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.001921/0.001921, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.432/2.432, allocations: 437.1 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 65.11 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3117, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001983/0.3137, allocations: 0.573 MB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006726/0.3144, allocations: 299 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.3144, allocations: 0 / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.052e-05/0.3144, allocations: 7.875 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.3145, allocations: 0 / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.3151, allocations: 107.6 kB / 1.019 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.098e-05/0.3151, allocations: 0 / 1.019 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.3152, allocations: 3.984 kB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.3152, allocations: 3.984 kB / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.3152, allocations: 4 kB / 1.019 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.3153, allocations: 4 kB / 1.019 GB, free: 9.648 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.3156, allocations: 131.8 kB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.3156, allocations: 0 / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.3156, allocations: 0 / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.3158, allocations: 71.83 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3158, allocations: 0 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3158, allocations: 0 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3158, allocations: 0 / 1.019 GB, free: 9.449 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.0003339/0.3161, allocations: 337.8 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3162, allocations: 8.922 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.3162, allocations: 4.938 kB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.3163, allocations: 160.4 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.3163, allocations: 384 / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3164, allocations: 384 / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.594e-05/0.3165, allocations: 30.27 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3165, allocations: 192 / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3165, allocations: 3.938 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3165, allocations: 0 / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.3165, allocations: 11.91 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.3167, allocations: 157.7 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.993e-05/0.3167, allocations: 14.58 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.3167, allocations: 8.953 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008267/0.3176, allocations: 469.5 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3176, allocations: 34.55 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3176, allocations: 0 / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.3178, allocations: 41.58 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3178, allocations: 51.41 kB / 1.02 GB, free: 7.871 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.501e-05/0.3179, allocations: 89.86 kB / 1.02 GB, free: 7.773 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3179, allocations: 33.83 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.3179, allocations: 80.14 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.3179, allocations: 0 / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.318, allocations: 13.72 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3181, allocations: 310.8 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.3181, allocations: 3.984 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.3181, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.3182, allocations: 12.8 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.3182, allocations: 4.062 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.881e-05/0.3182, allocations: 37.64 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3183, allocations: 8 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3183, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3183, allocations: 3.938 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.209e-05/0.3183, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3183, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.3184, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3184, allocations: 11.92 kB / 1.021 GB, free: 7.23 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.465e-05/0.3185, allocations: 112.3 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.3185, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-05/0.3186, allocations: 44.7 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3186, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3186, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3186, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3187, allocations: 149.7 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3187, allocations: 0 / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.3187, allocations: 0 / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3187, allocations: 0 / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3187, allocations: 7.969 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3187, allocations: 4 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3187, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.937e-05/0.3188, allocations: 57.12 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.3189, allocations: 77.11 kB / 1.021 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3189, allocations: 3.938 kB / 1.021 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.3189, allocations: 8 kB / 1.021 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.3189, allocations: 4.031 kB / 1.021 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3189, allocations: 0 / 1.021 GB, free: 6.672 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.584e-05/0.319, allocations: 75.28 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.319, allocations: 3.938 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002246/0.3192, allocations: 27.98 kB / 1.022 GB, free: 6.566 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.0003021/0.3195, allocations: 139.2 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.336e-05/0.3196, allocations: 4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3196, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.3196, allocations: 8 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.3197, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.32, allocations: 110.8 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.3202, allocations: 0.6768 MB / 1.022 GB, free: 5.566 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.3202, allocations: 7.438 kB / 1.022 GB, free: 5.559 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3202, allocations: 0 / 1.022 GB, free: 5.559 MB / 0.795 GB Notification: Performance of Templates: time 0.002359/0.3226, allocations: 0.7779 MB / 1.023 GB, free: 4.781 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches