Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_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_latest_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.001293/0.001294, allocations: 106.6 kB / 15.99 MB, free: 6.359 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.001474/0.001474, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.7423 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 70.94 kB / 0.9083 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3225, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002382/0.3249, allocations: 0.6528 MB / 1.064 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000706/0.3257, allocations: 287.1 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.216e-05/0.3257, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.3257, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.3258, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.3264, allocations: 83.86 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.897e-05/0.3264, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.3265, allocations: 7.984 kB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.56e-05/0.3265, allocations: 3.938 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.416e-05/0.3266, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.3266, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.3269, allocations: 127.8 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.3269, allocations: 7.984 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.3269, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.3271, allocations: 47.92 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3271, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3271, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.3271, allocations: 0 / 1.065 GB, free: 14.14 MB / 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.0003645/0.3275, allocations: 331.5 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3275, allocations: 8.625 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3276, allocations: 8.875 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3277, allocations: 160.4 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.3277, allocations: 4.375 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3277, allocations: 4.359 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3278, allocations: 26.27 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3278, allocations: 192 / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3279, allocations: 3.938 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3279, allocations: 4 kB / 1.065 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.3279, allocations: 3.938 kB / 1.065 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.3281, allocations: 149.7 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.3281, allocations: 22.61 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.3282, allocations: 4.859 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000879/0.329, allocations: 457.5 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3291, allocations: 38.56 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.3291, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001593/0.3293, allocations: 37.58 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3293, allocations: 51.41 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.443e-05/0.3293, allocations: 89.86 kB / 1.066 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3294, allocations: 25.7 kB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.3294, allocations: 80.14 kB / 1.066 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.3294, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.3295, allocations: 25.83 kB / 1.066 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.3296, allocations: 310.8 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.3296, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.3296, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.3296, allocations: 8.859 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3297, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.842e-05/0.3297, allocations: 33.64 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3297, allocations: 8 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3298, allocations: 4.094 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3298, allocations: 3.938 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.3298, allocations: 7.984 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.3298, allocations: 7.938 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.3299, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3299, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 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.325e-05/0.3299, allocations: 108 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.33, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.3301, allocations: 56.59 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3301, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3301, allocations: 4 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3301, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.3302, allocations: 145.7 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3302, allocations: 3.938 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.3302, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3303, allocations: 4 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3303, allocations: 3.938 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3303, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3303, allocations: 3.984 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.464e-05/0.3304, allocations: 53.17 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.3304, allocations: 81.11 kB / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3304, allocations: 7.938 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.3304, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3305, allocations: 3.984 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3305, allocations: 3.938 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.3305, allocations: 75.28 kB / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3305, allocations: 4.031 kB / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002353/0.3307, allocations: 32 kB / 1.067 GB, free: 11.27 MB / 0.8419 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.0003187/0.3311, allocations: 127.2 kB / 1.067 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.337e-05/0.3312, allocations: 8 kB / 1.067 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3312, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.3312, allocations: 4 kB / 1.067 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.3313, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.3316, allocations: 106.6 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3318, allocations: 0.6729 MB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.3318, allocations: 7.438 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.595e-06/0.3318, allocations: 128 / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.002503/0.3344, allocations: 0.7686 MB / 1.069 GB, free: 9.504 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches