Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_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.007526/0.007526, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.00172/0.00172, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.348 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.734/2.734, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2787, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002972/0.2817, allocations: 1.43 MB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.2825, allocations: 339.8 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.2826, allocations: 0 / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.2827, allocations: 11.88 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.2827, allocations: 7.922 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.2833, allocations: 95.72 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.2834, allocations: 23.92 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.2835, allocations: 4 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.2836, allocations: 15.97 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.2836, allocations: 11.88 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.2836, allocations: 0 / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.2839, allocations: 127.8 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.2839, allocations: 3.984 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.284, allocations: 7.938 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2842, allocations: 87.81 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2842, allocations: 0 / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2842, allocations: 0 / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2842, allocations: 0 / 1.168 GB, free: 5.109 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.0005022/0.2847, allocations: 350.3 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2848, allocations: 12.03 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.2848, allocations: 38.73 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.2849, allocations: 0.9375 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.285, allocations: 168.3 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.285, allocations: 4.375 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.285, allocations: 384 / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2852, allocations: 50.23 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2852, allocations: 3.938 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.2853, allocations: 0 / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2853, allocations: 0 / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.2854, allocations: 39.95 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.2858, allocations: 248.8 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.2859, allocations: 38.5 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.286, allocations: 24.89 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007783/0.2868, allocations: 457.5 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.2869, allocations: 30.56 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.2869, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003788/0.2873, allocations: 89.58 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2873, allocations: 51.41 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.2874, allocations: 101.8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2874, allocations: 25.7 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2875, allocations: 84.14 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.2875, allocations: 4.75 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.2876, allocations: 17.84 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2877, allocations: 318.8 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.2878, allocations: 15.98 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.2879, allocations: 19.92 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.288, allocations: 44.75 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.288, allocations: 8 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.2882, allocations: 65.61 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2883, allocations: 4 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2883, allocations: 0 / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2883, allocations: 0 / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.2884, allocations: 12.17 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2884, allocations: 0 / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.2884, allocations: 15.92 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2884, allocations: 4.031 kB / 1.171 GB, free: 2.484 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.422e-05/0.2885, allocations: 113.8 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.2886, allocations: 3.984 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.2888, allocations: 72.72 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2888, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2888, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2888, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.289, allocations: 169.6 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.289, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.289, allocations: 7.984 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.2891, allocations: 4 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2891, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2891, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2891, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.2893, allocations: 167.4 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.2894, allocations: 81.11 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.2894, allocations: 0 / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.2895, allocations: 7.984 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.2895, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2895, allocations: 7.938 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.2896, allocations: 75.28 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2896, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002735/0.2898, allocations: 36.02 kB / 1.171 GB, free: 1.645 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.0006715/0.2905, allocations: 0.732 MB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2907, allocations: 35.97 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.2908, allocations: 3.938 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.2908, allocations: 27.97 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2911, allocations: 8 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.2916, allocations: 143 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.2918, allocations: 0.6768 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.2918, allocations: 4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.2919, allocations: 7.438 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.2919, allocations: 4 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.31, allocations: 1.754 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.288, allocations: 11.62 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches