Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006936/0.006936, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001825/0.001825, allocations: 188.2 kB / 16.67 MB, free: 5.918 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.91 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2835, allocations: 162.2 MB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001662/0.2852, allocations: 0.5719 MB / 1.242 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006402/0.2859, allocations: 310.8 kB / 1.242 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.199e-05/0.2859, allocations: 0 / 1.242 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.067e-05/0.2859, allocations: 0 / 1.242 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.2859, allocations: 0 / 1.242 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.2864, allocations: 103.7 kB / 1.242 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.086e-05/0.2864, allocations: 0 / 1.242 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.103e-05/0.2865, allocations: 4 kB / 1.242 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.26e-05/0.2865, allocations: 4 kB / 1.242 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.645e-05/0.2865, allocations: 4 kB / 1.242 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.2865, allocations: 0 / 1.242 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.2868, allocations: 127.7 kB / 1.243 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.053e-06/0.2868, allocations: 0 / 1.243 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.2868, allocations: 0 / 1.243 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.287, allocations: 67.83 kB / 1.243 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.287, allocations: 4 kB / 1.243 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.287, allocations: 0 / 1.243 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.287, allocations: 0 / 1.243 GB, free: 8.977 MB / 0.9981 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.0003407/0.2874, allocations: 335.4 kB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2874, allocations: 8.031 kB / 1.243 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.2875, allocations: 30.75 kB / 1.243 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.774e-05/0.2875, allocations: 0.9375 kB / 1.243 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2876, allocations: 164.4 kB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.2876, allocations: 4.359 kB / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.2876, allocations: 4.375 kB / 1.243 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.2877, allocations: 30.2 kB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2877, allocations: 11.92 kB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.2877, allocations: 3.938 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2878, allocations: 0 / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.2878, allocations: 8 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.2879, allocations: 141.7 kB / 1.243 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.259e-05/0.288, allocations: 14.58 kB / 1.243 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.288, allocations: 12.94 kB / 1.243 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008068/0.2888, allocations: 477.4 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2888, allocations: 30.56 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2889, allocations: 0 / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.289, allocations: 49.59 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.289, allocations: 51.41 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.356e-05/0.2891, allocations: 89.86 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2891, allocations: 25.7 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.2892, allocations: 84.12 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.2892, allocations: 3.938 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.2892, allocations: 13.72 kB / 1.244 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2894, allocations: 315 kB / 1.244 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.2894, allocations: 0 / 1.244 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.2894, allocations: 3.938 kB / 1.244 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.2894, allocations: 12.86 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2894, allocations: 0 / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.939e-05/0.2895, allocations: 33.69 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2895, allocations: 8 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2895, allocations: 3.938 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2895, allocations: 0 / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.225e-05/0.2896, allocations: 8.031 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2896, allocations: 0 / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.2896, allocations: 8 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.2896, allocations: 0 / 1.245 GB, free: 6.703 MB / 0.9981 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.146e-05/0.2897, allocations: 106.4 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.2897, allocations: 3.938 kB / 1.245 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/0.2898, allocations: 44.75 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2898, allocations: 0 / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2898, allocations: 4.031 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2898, allocations: 4 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.2899, allocations: 141.7 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2899, allocations: 0 / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.2899, allocations: 0 / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2899, allocations: 3.984 kB / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.29, allocations: 7.938 kB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.29, allocations: 0 / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.29, allocations: 0 / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.835e-05/0.2901, allocations: 65.02 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.2901, allocations: 77.11 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2901, allocations: 11.92 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-06/0.2901, allocations: 0 / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.2902, allocations: 0 / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2902, allocations: 0 / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.2902, allocations: 75.28 kB / 1.245 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2902, allocations: 0 / 1.245 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002123/0.2904, allocations: 23.94 kB / 1.245 GB, free: 6.043 MB / 0.9981 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.0005267/0.291, allocations: 0.6436 MB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.31e-05/0.291, allocations: 8 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.291, allocations: 0 / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/0.291, allocations: 0 / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.2912, allocations: 4 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.2915, allocations: 113.3 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.2918, allocations: 0.6768 MB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.696e-06/0.2918, allocations: 4 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.2918, allocations: 7.438 kB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.2918, allocations: 0 / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.3128, allocations: 1.412 MB / 1.248 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.674, allocations: 15.95 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches