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 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: "" <> 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.006714/0.006714, allocations: 101.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.001524/0.001524, allocations: 189.9 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 72.11 kB / 1.054 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2838, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001728/0.2855, allocations: 0.5808 MB / 1.208 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006187/0.2862, allocations: 295 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.2862, allocations: 0 / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.2862, allocations: 3.938 kB / 1.208 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.2863, allocations: 4 kB / 1.208 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.2868, allocations: 107.6 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.223e-05/0.2868, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.2869, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.2869, allocations: 7.984 kB / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.852e-05/0.2869, allocations: 0 / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.223e-06/0.2869, allocations: 0 / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.2872, allocations: 127.8 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.804e-06/0.2872, allocations: 0 / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.2872, allocations: 0 / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.2874, allocations: 75.77 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2874, allocations: 4 kB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2874, allocations: 0 / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.2874, allocations: 4 kB / 1.208 GB, free: 8.883 MB / 0.9669 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.0003266/0.2878, allocations: 335.5 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2878, allocations: 8.625 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.2878, allocations: 30.75 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.2879, allocations: 0.9375 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.288, allocations: 164.4 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.288, allocations: 4.359 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.288, allocations: 8.375 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.303e-05/0.2881, allocations: 26.27 kB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2881, allocations: 3.938 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.2881, allocations: 0 / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2881, allocations: 0 / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.2881, allocations: 7.938 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.2883, allocations: 145.7 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.2883, allocations: 18.56 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.2883, allocations: 12.95 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007972/0.2891, allocations: 465.5 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2892, allocations: 34.56 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.2892, allocations: 4 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.2893, allocations: 37.58 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.2894, allocations: 51.41 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.486e-05/0.2894, allocations: 93.84 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.2894, allocations: 25.7 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.2894, allocations: 80.14 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2895, allocations: 3.906 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.2895, allocations: 21.84 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.2896, allocations: 310.8 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.2896, allocations: 0 / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/0.2896, allocations: 0 / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.2897, allocations: 8.859 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2897, allocations: 0 / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.707e-05/0.2897, allocations: 41.62 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2898, allocations: 12.09 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2898, allocations: 3.938 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2898, allocations: 0 / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.834e-05/0.2898, allocations: 0 / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2899, allocations: 4 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-06/0.2899, allocations: 3.938 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2899, allocations: 0 / 1.21 GB, free: 6.629 MB / 0.9669 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 6.334e-05/0.2899, allocations: 109.8 kB / 1.21 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-06/0.29, allocations: 0 / 1.21 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.2901, allocations: 52.69 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2901, allocations: 0 / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2901, allocations: 4 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2901, allocations: 0 / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.744e-05/0.2902, allocations: 145.7 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2902, allocations: 0 / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.2902, allocations: 3.984 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2902, allocations: 4 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2902, allocations: 3.938 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2902, allocations: 0 / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2902, allocations: 4.031 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.078e-05/0.2903, allocations: 49.14 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.2903, allocations: 85.11 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2904, allocations: 7.922 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.2904, allocations: 0 / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.2904, allocations: 0 / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.2904, allocations: 0 / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.737e-05/0.2904, allocations: 83.25 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2904, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002288/0.2907, allocations: 28 kB / 1.211 GB, free: 5.961 MB / 0.9669 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.0004676/0.2911, allocations: 0.6362 MB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.2912, allocations: 4 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2912, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-06/0.2912, allocations: 3.938 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.2914, allocations: 5.562 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.2917, allocations: 126.7 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.292, allocations: 0.6729 MB / 1.212 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.218e-05/0.292, allocations: 0 / 1.212 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.2921, allocations: 19.3 kB / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.2921, allocations: 0 / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.3098, allocations: 1.403 MB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.884, allocations: 16.53 kB / 1.214 GB, free: 3.07 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 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.mat","/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