Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001257/0.001257, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 74.28 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2856, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002733/0.2884, allocations: 1.451 MB / 1.028 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.2891, allocations: 355.7 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.2891, allocations: 0 / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.2892, allocations: 3.984 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.2892, allocations: 7.938 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.2897, allocations: 103.7 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.675e-05/0.2898, allocations: 19.92 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.2899, allocations: 15.98 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.2899, allocations: 7.938 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.29, allocations: 11.98 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.29, allocations: 0 / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.2902, allocations: 135.7 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2902, allocations: 3.938 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.2903, allocations: 4 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2905, allocations: 91.8 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2905, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2905, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2905, allocations: 4 kB / 1.029 GB, free: 15.87 MB / 0.8106 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.0004374/0.2909, allocations: 351.5 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.291, allocations: 8.031 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.291, allocations: 4.844 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2911, allocations: 172.4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2911, allocations: 384 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.2912, allocations: 4.312 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2913, allocations: 58.17 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2913, allocations: 192 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2913, allocations: 3.938 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2914, allocations: 3.984 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.2915, allocations: 31.97 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.2918, allocations: 249 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2919, allocations: 46.44 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.292, allocations: 20.91 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.2927, allocations: 473.4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2928, allocations: 34.56 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2928, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000315/0.2931, allocations: 81.64 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.2931, allocations: 55.47 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.2932, allocations: 105.8 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2932, allocations: 29.7 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.2933, allocations: 84.05 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.2933, allocations: 3.984 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.2933, allocations: 13.72 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.2934, allocations: 314.8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.2935, allocations: 11.98 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.2936, allocations: 23.98 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2937, allocations: 36.81 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2937, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.2939, allocations: 73.5 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2939, allocations: 4.094 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2939, allocations: 7.938 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.294, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.294, allocations: 4 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.294, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.2941, allocations: 7.984 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.2941, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 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 6.665e-05/0.2942, allocations: 121.7 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.2942, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.2944, allocations: 72.77 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2944, allocations: 4 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2944, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2944, allocations: 3.938 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2946, allocations: 157.6 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2946, allocations: 0 / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.2947, allocations: 15.92 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2947, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2947, allocations: 8.031 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2947, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2947, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.2949, allocations: 159.5 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.295, allocations: 84.95 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.295, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.2951, allocations: 12.02 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.2951, allocations: 8 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2951, allocations: 4 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.2951, allocations: 83.27 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2951, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002571/0.2954, allocations: 28 kB / 1.032 GB, free: 12.42 MB / 0.8106 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.0002181/0.2956, allocations: 135.2 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.2958, allocations: 51.83 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2958, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.2959, allocations: 20.05 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.2962, allocations: 7.938 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.2964, allocations: 97.62 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2966, allocations: 0.6768 MB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.2967, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.2967, allocations: 11.44 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.2967, allocations: 64 / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of Templates: time 0.002933/0.2996, allocations: 0.9115 MB / 1.034 GB, free: 10.46 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches