Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 104 kB / 15.6 MB, free: 144 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.001697/0.001697, allocations: 191.1 kB / 16.53 MB, free: 6.66 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.969/2.969, allocations: 482.6 MB / 0.7549 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 69.11 kB / 0.9241 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 162.3 MB / 1.083 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001845/0.3286, allocations: 0.5807 MB / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.3292, allocations: 287 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.077e-05/0.3292, allocations: 0 / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.3292, allocations: 0 / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-06/0.3292, allocations: 3.938 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.3296, allocations: 98.41 kB / 1.084 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.191e-05/0.3297, allocations: 4 kB / 1.084 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.3297, allocations: 0 / 1.084 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.369e-05/0.3297, allocations: 7.984 kB / 1.084 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.523e-05/0.3297, allocations: 0 / 1.084 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.3298, allocations: 4 kB / 1.084 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.33, allocations: 119.8 kB / 1.084 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.445e-06/0.33, allocations: 3.984 kB / 1.084 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.33, allocations: 0 / 1.084 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.3302, allocations: 59.91 kB / 1.084 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3302, allocations: 0 / 1.084 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3302, allocations: 0 / 1.084 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3302, allocations: 4 kB / 1.084 GB, free: 11.83 MB / 0.8419 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.0003577/0.3306, allocations: 333.1 kB / 1.084 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3306, allocations: 8.031 kB / 1.084 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.3306, allocations: 12.81 kB / 1.084 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3307, allocations: 168.4 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3308, allocations: 384 / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.3308, allocations: 8.375 kB / 1.084 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.3309, allocations: 26.27 kB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3309, allocations: 192 / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3309, allocations: 3.938 kB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.3309, allocations: 0 / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.3309, allocations: 4 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.3311, allocations: 149.7 kB / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.784e-05/0.3311, allocations: 18.52 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.3311, allocations: 12.94 kB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.3319, allocations: 457.5 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3319, allocations: 30.56 kB / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3319, allocations: 0 / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.3321, allocations: 37.62 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3321, allocations: 59.34 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.3322, allocations: 89.86 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3322, allocations: 29.64 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.3322, allocations: 80.27 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3323, allocations: 11.91 kB / 1.085 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3323, allocations: 9.719 kB / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3325, allocations: 314.8 kB / 1.085 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.3325, allocations: 0 / 1.085 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-06/0.3325, allocations: 0 / 1.085 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.3325, allocations: 8.859 kB / 1.085 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3325, allocations: 3.984 kB / 1.085 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.236e-05/0.3326, allocations: 37.77 kB / 1.086 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3326, allocations: 4 kB / 1.086 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3326, allocations: 7.938 kB / 1.086 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3326, allocations: 3.938 kB / 1.086 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.3326, allocations: 0 / 1.086 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3327, allocations: 0 / 1.086 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.3327, allocations: 0 / 1.086 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.3327, allocations: 0 / 1.086 GB, free: 9.621 MB / 0.8419 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 7.732e-05/0.3328, allocations: 109.8 kB / 1.086 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.3328, allocations: 11.95 kB / 1.086 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/0.3328, allocations: 36.77 kB / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3329, allocations: 0 / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3329, allocations: 0 / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3329, allocations: 0 / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.333, allocations: 153.7 kB / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.333, allocations: 0 / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.333, allocations: 0 / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.333, allocations: 0 / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.333, allocations: 7.875 kB / 1.086 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.333, allocations: 4.031 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.333, allocations: 8 kB / 1.086 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.665e-05/0.3331, allocations: 57.12 kB / 1.086 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.3332, allocations: 77.11 kB / 1.086 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.3332, allocations: 3.938 kB / 1.086 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.3332, allocations: 0 / 1.086 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.3332, allocations: 4 kB / 1.086 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.3332, allocations: 4.031 kB / 1.086 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.3333, allocations: 75.28 kB / 1.086 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3333, allocations: 0 / 1.086 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002244/0.3335, allocations: 24 kB / 1.086 GB, free: 8.957 MB / 0.8419 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.0002615/0.3338, allocations: 147.2 kB / 1.086 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.342e-05/0.3338, allocations: 7.938 kB / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3338, allocations: 0 / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-06/0.3338, allocations: 3.938 kB / 1.086 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.334, allocations: 7.938 kB / 1.086 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.3342, allocations: 88.92 kB / 1.086 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3345, allocations: 0.6729 MB / 1.087 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.3345, allocations: 8.125 kB / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.3345, allocations: 7.438 kB / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3345, allocations: 0 / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of Templates: time 0.002737/0.3372, allocations: 0.6134 MB / 1.088 GB, free: 7.34 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches