Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_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.004528/0.004528, allocations: 101.6 kB / 15.73 MB, free: 6.453 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.001263/0.001263, allocations: 195.8 kB / 16.67 MB, free: 6.352 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.457/1.457, 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 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.1 MB / 0.7106 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2817, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003038/0.2848, allocations: 1.431 MB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.2856, allocations: 359.7 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.2856, allocations: 3.938 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.2857, allocations: 7.922 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.2857, allocations: 4 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.2862, allocations: 107.6 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.2863, allocations: 16 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.2864, allocations: 7.984 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.2864, allocations: 11.98 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.2865, allocations: 11.92 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.2865, allocations: 4 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.2867, allocations: 135.7 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.2868, allocations: 4 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.2868, allocations: 3.938 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.287, allocations: 92.02 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.287, allocations: 4 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.287, allocations: 0 / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.287, allocations: 0 / 1.168 GB, free: 5.102 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004886/0.2875, allocations: 355.3 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2876, allocations: 8.031 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.2876, allocations: 38.69 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.2876, allocations: 4.938 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2877, allocations: 168.3 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.2878, allocations: 384 / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2878, allocations: 384 / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.2879, allocations: 54.23 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.288, allocations: 3.938 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.288, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.288, allocations: 11.94 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.2882, allocations: 27.97 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.2885, allocations: 248.9 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2886, allocations: 38.5 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.2887, allocations: 28.91 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/0.2894, allocations: 469.4 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2895, allocations: 42.56 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2895, allocations: 0 / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003307/0.2898, allocations: 77.58 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.2899, allocations: 51.41 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.2899, allocations: 105.8 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.29, allocations: 25.83 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.29, allocations: 96.06 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.29, allocations: 3.953 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.2901, allocations: 13.72 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2902, allocations: 310.8 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.2903, allocations: 15.98 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.2904, allocations: 19.97 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.2905, allocations: 44.89 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2905, allocations: 3.938 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.2907, allocations: 69.55 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2907, allocations: 10.03 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2908, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.2908, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.2908, allocations: 12.02 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2909, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.2909, allocations: 4 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.2909, allocations: 4 kB / 1.171 GB, free: 2.457 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 (2): * Single equations (assignments): 2 * 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.445e-05/0.291, allocations: 113.8 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.291, allocations: 3.984 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.2913, allocations: 80.91 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2913, allocations: 3.984 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2913, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.2913, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.2914, allocations: 157.6 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2914, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.2915, allocations: 11.98 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2915, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2915, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2915, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2915, allocations: 4.031 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.2918, allocations: 167.5 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.2918, allocations: 85 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2919, allocations: 7.984 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.2919, allocations: 3.938 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.292, allocations: 8.031 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.292, allocations: 3.938 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.2921, allocations: 87.27 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2921, allocations: 0 / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002488/0.2923, allocations: 27.94 kB / 1.171 GB, free: 1.605 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 (2): * Single equations (assignments): 2 * 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.0007423/0.2931, allocations: 0.7279 MB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.2933, allocations: 47.92 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2933, allocations: 0 / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.2934, allocations: 15.98 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.2937, allocations: 4 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.2941, allocations: 147 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.2945, allocations: 0.673 MB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.2945, allocations: 7.984 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.2945, allocations: 11.44 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2945, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.318/2.613, allocations: 1.764 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/15.84, allocations: 12.02 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches