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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",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.004863/0.004863, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.00136/0.00136, allocations: 203.6 kB / 16.68 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.653/2.653, allocations: 437.1 MB / 0.7106 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.89 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2858, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001695/0.2875, allocations: 0.5863 MB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.2881, allocations: 287.3 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.234e-05/0.2882, allocations: 4 kB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.2882, allocations: 0 / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.2882, allocations: 0 / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.2887, allocations: 95.22 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.606e-05/0.2887, allocations: 11.98 kB / 1.167 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.2888, allocations: 4 kB / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.118e-05/0.2888, allocations: 0 / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.2888, allocations: 3.938 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.2888, allocations: 0 / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.2891, allocations: 119.8 kB / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.971e-06/0.2891, allocations: 0 / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.447e-05/0.2891, allocations: 4 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.2893, allocations: 72.05 kB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2893, allocations: 0 / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2893, allocations: 0 / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2893, allocations: 0 / 1.167 GB, free: 6.055 MB / 0.92 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.00033/0.2896, allocations: 331.4 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2897, allocations: 12.03 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.2897, allocations: 34.73 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.2898, allocations: 0.9375 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2899, allocations: 164.4 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.2899, allocations: 384 / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.2899, allocations: 4.375 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.878e-05/0.29, allocations: 30.27 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.29, allocations: 3.938 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.29, allocations: 0 / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.29, allocations: 0 / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.29, allocations: 7.922 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.2902, allocations: 149.7 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.776e-05/0.2903, allocations: 18.58 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.2903, allocations: 8.797 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007822/0.2911, allocations: 461.5 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2911, allocations: 34.56 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2911, allocations: 3.938 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.2912, allocations: 41.53 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2913, allocations: 51.41 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.331e-05/0.2913, allocations: 89.86 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2914, allocations: 25.7 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2914, allocations: 84.14 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.2914, allocations: 7.984 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.2915, allocations: 13.84 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2916, allocations: 310.8 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.2916, allocations: 4 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-06/0.2916, allocations: 0 / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.2917, allocations: 12.8 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2917, allocations: 0 / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.14e-05/0.2917, allocations: 33.7 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2917, allocations: 8.094 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2917, allocations: 7.922 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.2918, allocations: 0 / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.38e-05/0.2918, allocations: 4 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.2918, allocations: 0 / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-06/0.2918, allocations: 0 / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.2918, allocations: 0 / 1.169 GB, free: 3.809 MB / 0.92 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.633e-05/0.2919, allocations: 109.8 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-06/0.2919, allocations: 0 / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.292, allocations: 48.69 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.292, allocations: 0 / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.292, allocations: 0 / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.292, allocations: 0 / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.2921, allocations: 145.7 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2921, allocations: 0 / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.2922, allocations: 4 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2922, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2922, allocations: 3.938 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.2922, allocations: 3.984 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2922, allocations: 7.938 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.61e-05/0.2923, allocations: 61.17 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.2923, allocations: 77.11 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.2923, allocations: 7.875 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.2923, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.2924, allocations: 3.984 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2924, allocations: 4 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.2924, allocations: 75.31 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2924, allocations: 4 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00021/0.2926, allocations: 27.88 kB / 1.17 GB, free: 3.133 MB / 0.92 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.0005008/0.2931, allocations: 0.6319 MB / 1.17 GB, free: 2.469 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 5.922e-05/0.2932, allocations: 7.938 kB / 1.17 GB, free: 2.461 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2932, allocations: 0 / 1.17 GB, free: 2.461 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.2932, allocations: 4 kB / 1.17 GB, free: 2.457 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2933, allocations: 6.172 kB / 1.17 GB, free: 2.453 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.2936, allocations: 118.6 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.2939, allocations: 0.669 MB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.456e-05/0.2939, allocations: 8 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.294, allocations: 7.438 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/0.294, allocations: 0 / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3654/0.6594, allocations: 1.387 MB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.65, allocations: 11.86 kB / 1.173 GB, free: 280 kB / 0.92 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > 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