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 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.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.0009908/0.0009912, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009823/0.0009825, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.887/2.887, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 10.19 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3691, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0009622/0.3701, allocations: 322.9 kB / 1.058 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000673/0.3708, allocations: 275.3 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.3709, allocations: 0 / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.3709, allocations: 0 / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.3709, allocations: 0 / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.3714, allocations: 75.84 kB / 1.059 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.494e-05/0.3714, allocations: 4 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.3715, allocations: 4 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.3715, allocations: 3.938 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.742e-05/0.3716, allocations: 0 / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.3716, allocations: 3.938 kB / 1.059 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.3719, allocations: 131.7 kB / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.3719, allocations: 0 / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.3719, allocations: 29.7 kB / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.372, allocations: 43.92 kB / 1.059 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3721, allocations: 0 / 1.059 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3721, allocations: 4 kB / 1.059 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3721, allocations: 0 / 1.059 GB, free: 4.453 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003494/0.3724, allocations: 331.3 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3725, allocations: 8.031 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3725, allocations: 0 / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3726, allocations: 163.1 kB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3727, allocations: 4 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3727, allocations: 7.891 kB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3728, allocations: 33.69 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3728, allocations: 0 / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3728, allocations: 0 / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3728, allocations: 3.938 kB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.3729, allocations: 4 kB / 1.059 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.373, allocations: 145.7 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.3731, allocations: 14.67 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.3731, allocations: 8.859 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000874/0.374, allocations: 481.4 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.374, allocations: 30.56 kB / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.374, allocations: 4 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001864/0.3742, allocations: 33.64 kB / 1.06 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.3743, allocations: 51.41 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.3744, allocations: 89.86 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3744, allocations: 29.7 kB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.3744, allocations: 84.14 kB / 1.06 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.3745, allocations: 0 / 1.06 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.3745, allocations: 0 / 1.06 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3747, allocations: 319 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.3747, allocations: 0 / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.3747, allocations: 4 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/0.3748, allocations: 0 / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3748, allocations: 0 / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.278e-05/0.3749, allocations: 33.64 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3749, allocations: 11.95 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3749, allocations: 0 / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3749, allocations: 3.938 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.375, allocations: 96 / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.375, allocations: 4 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158e-05/0.375, allocations: 0 / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.375, allocations: 7.984 kB / 1.061 GB, free: 2.273 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.42e-05/0.3751, allocations: 109.8 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.3752, allocations: 0 / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3753, allocations: 40.72 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3753, allocations: 0 / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3753, allocations: 3.938 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3753, allocations: 4.031 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.3754, allocations: 149.7 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3755, allocations: 0 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.3755, allocations: 0 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3755, allocations: 0 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3755, allocations: 4 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3755, allocations: 7.953 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3755, allocations: 0 / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.322e-05/0.3756, allocations: 57.12 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.3757, allocations: 77.11 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3757, allocations: 0 / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.3757, allocations: 8 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.3757, allocations: 3.953 kB / 1.061 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3757, allocations: 0 / 1.061 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.3758, allocations: 83.22 kB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3758, allocations: 0 / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002369/0.376, allocations: 31.98 kB / 1.061 GB, free: 1.605 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003285/0.3764, allocations: 143.2 kB / 1.061 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.077e-05/0.3764, allocations: 4 kB / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3765, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-06/0.3765, allocations: 4.062 kB / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.3766, allocations: 5.547 kB / 1.061 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.3768, allocations: 82.66 kB / 1.061 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3771, allocations: 0.6731 MB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.336e-05/0.3771, allocations: 0 / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.3772, allocations: 11.44 kB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3772, allocations: 0 / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of Templates: time 0.003534/0.3807, allocations: 0.6478 MB / 1.063 GB, free: 15.97 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