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.007972/0.007972, allocations: 98.7 kB / 15.73 MB, free: 6.051 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.002152/0.002152, allocations: 191.5 kB / 16.67 MB, free: 5.977 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.573/2.573, allocations: 437.1 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002492/0.2757, allocations: 1.428 MB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007036/0.2765, allocations: 355.7 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.2765, allocations: 0 / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.2765, allocations: 0 / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.2766, allocations: 7.922 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.2771, allocations: 107.7 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.2772, allocations: 23.92 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2773, allocations: 15.97 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.2774, allocations: 8 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.2774, allocations: 11.92 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.2774, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.2777, allocations: 135.8 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.2777, allocations: 4 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.2778, allocations: 3.938 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.278, allocations: 99.73 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.278, allocations: 0 / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.278, allocations: 0 / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.278, allocations: 0 / 1.168 GB, free: 5.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005021/0.2785, allocations: 358.3 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2786, allocations: 11.97 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.2786, allocations: 30.75 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2786, allocations: 0.9375 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2788, allocations: 168.4 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2788, allocations: 384 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.2788, allocations: 384 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.279, allocations: 58.17 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.279, allocations: 3.938 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.279, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.279, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.2792, allocations: 31.97 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.2795, allocations: 249 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2797, allocations: 42.5 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.2798, allocations: 24.91 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007669/0.2806, allocations: 477.4 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.2806, allocations: 30.56 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2806, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003348/0.2809, allocations: 81.55 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.281, allocations: 51.53 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.2811, allocations: 109.8 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2811, allocations: 25.7 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.2811, allocations: 84.14 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.2812, allocations: 8.734 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.2812, allocations: 17.66 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2813, allocations: 310.8 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.2814, allocations: 19.92 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.2815, allocations: 23.97 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2816, allocations: 36.83 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2816, allocations: 3.938 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.2818, allocations: 65.66 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2819, allocations: 8.094 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2819, allocations: 4 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2819, allocations: 0 / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.282, allocations: 7.984 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.282, allocations: 0 / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.282, allocations: 7.938 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2821, allocations: 0 / 1.171 GB, free: 2.426 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 8.009e-05/0.2821, allocations: 121.7 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.2822, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.2824, allocations: 84.77 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2824, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2824, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2824, allocations: 3.938 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2826, allocations: 157.6 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2826, allocations: 0 / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.2827, allocations: 11.98 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2827, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2827, allocations: 4.031 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2827, allocations: 0 / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2827, allocations: 0 / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.283, allocations: 171.3 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.283, allocations: 77.11 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.283, allocations: 0 / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.2831, allocations: 12.02 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.2831, allocations: 4 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2832, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.2832, allocations: 87.27 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2832, allocations: 0 / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002644/0.2835, allocations: 28 kB / 1.171 GB, free: 1.578 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.0006015/0.2841, allocations: 0.7358 MB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.2843, allocations: 35.95 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2843, allocations: 4 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.2844, allocations: 15.98 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.2846, allocations: 4 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.285, allocations: 151.2 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2853, allocations: 0.6767 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.2853, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.2854, allocations: 19.42 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.2854, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.3049, allocations: 1.762 MB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.353, allocations: 11.94 kB / 1.175 GB, free: 14.14 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=50 --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