Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.714/2.714, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 76.09 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2883, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001689/0.29, allocations: 0.5739 MB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000541/0.2906, allocations: 295 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.2906, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.668e-06/0.2906, allocations: 3.938 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.488e-06/0.2907, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.2911, allocations: 111.7 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.804e-05/0.2911, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.2911, allocations: 8 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.067e-05/0.2912, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.671e-05/0.2912, allocations: 3.984 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.2912, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.2914, allocations: 119.8 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.2914, allocations: 7.922 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.2915, allocations: 7.938 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.2916, allocations: 71.83 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2916, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2916, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2916, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 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.0002574/0.2919, allocations: 323.6 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.2919, allocations: 8.031 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.292, allocations: 0.9375 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.843e-05/0.292, allocations: 162.6 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.292, allocations: 384 / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.2921, allocations: 8.359 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.086e-05/0.2921, allocations: 34.2 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.2922, allocations: 192 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.2922, allocations: 3.938 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2922, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.2922, allocations: 8 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.2923, allocations: 141.7 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.98e-05/0.2923, allocations: 14.58 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.2924, allocations: 12.94 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.2931, allocations: 469.5 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.2931, allocations: 34.56 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2931, allocations: 7.938 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001112/0.2933, allocations: 37.64 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.2933, allocations: 51.41 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.273e-05/0.2933, allocations: 89.86 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.2934, allocations: 25.7 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.2934, allocations: 84.12 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.2934, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.2934, allocations: 13.84 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.2935, allocations: 314.8 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-06/0.2936, allocations: 3.938 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-06/0.2936, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/0.2936, allocations: 16.8 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2936, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.796e-05/0.2937, allocations: 29.7 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2937, allocations: 11.98 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2937, allocations: 96 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2937, allocations: 7.938 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-05/0.2937, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2937, allocations: 4 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.2938, allocations: 7.906 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.2938, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 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 5.575e-05/0.2938, allocations: 111.5 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.2938, allocations: 0 / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.2939, allocations: 48.69 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2939, allocations: 8.016 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2939, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2939, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.213e-05/0.294, allocations: 141.7 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.294, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.2941, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2941, allocations: 3.984 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2941, allocations: 7.938 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2941, allocations: 0 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2941, allocations: 0 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.789e-05/0.2941, allocations: 61.08 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.2942, allocations: 77.11 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2942, allocations: 7.938 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-06/0.2942, allocations: 3.984 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.2942, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.2942, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.154e-05/0.2943, allocations: 75.28 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2943, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002124/0.2945, allocations: 28.03 kB / 1.072 GB, free: 6.32 MB / 0.8262 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.0002404/0.2947, allocations: 139.7 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.659e-05/0.2948, allocations: 12 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2948, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.2948, allocations: 7.984 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.2949, allocations: 1.406 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000147/0.2951, allocations: 91.73 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.2953, allocations: 0.6729 MB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.977e-06/0.2953, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.155e-05/0.2953, allocations: 7.438 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2953, allocations: 128 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of Templates: time 0.002496/0.2978, allocations: 0.6562 MB / 1.073 GB, free: 4.676 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches