Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009889/0.009889, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003872, allocations: 10.78 kB / 0.9027 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3549, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001596/0.3565, allocations: 1.167 MB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006764/0.3572, allocations: 351 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.3573, allocations: 0 / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.3573, allocations: 3.938 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.3573, allocations: 7.938 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.3577, allocations: 71.86 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.3578, allocations: 27.92 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.192e-05/0.3579, allocations: 4 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.3579, allocations: 11.92 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.358, allocations: 7.984 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.358, allocations: 4 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.3583, allocations: 131.8 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.3583, allocations: 3.984 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.3584, allocations: 29.64 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.3586, allocations: 91.75 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3586, allocations: 7.984 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3587, allocations: 0 / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3587, allocations: 0 / 1.06 GB, free: 3.094 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.0004792/0.3592, allocations: 355.7 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3592, allocations: 11.97 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.3592, allocations: 4.938 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3594, allocations: 168.3 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3594, allocations: 384 / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3594, allocations: 4.375 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3596, allocations: 54.23 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3596, allocations: 192 / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3596, allocations: 3.938 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3596, allocations: 0 / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.3598, allocations: 51.89 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3601, allocations: 241 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3603, allocations: 50.48 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.3604, allocations: 28.91 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007255/0.3611, allocations: 465.4 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3612, allocations: 38.55 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.3612, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003647/0.3615, allocations: 93.59 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3616, allocations: 59.39 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.3617, allocations: 97.86 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3617, allocations: 25.7 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.3617, allocations: 84.14 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.3617, allocations: 4.031 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.3618, allocations: 17.72 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3619, allocations: 314.8 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.362, allocations: 19.98 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.3621, allocations: 19.98 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3622, allocations: 60.75 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3623, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.3625, allocations: 81.61 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3625, allocations: 8 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3625, allocations: 0 / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3625, allocations: 4 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.3626, allocations: 11.98 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3626, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.3627, allocations: 16.02 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3627, allocations: 0 / 1.063 GB, free: 440 kB / 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 8.718e-05/0.3628, allocations: 109.8 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.3628, allocations: 3.906 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.363, allocations: 88.72 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3631, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3631, allocations: 4 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3631, allocations: 3.984 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3633, allocations: 157.6 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3633, allocations: 0 / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.3634, allocations: 12.03 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3634, allocations: 0 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.3634, allocations: 4.031 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3634, allocations: 0 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3634, allocations: 0 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.3637, allocations: 187.3 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.3638, allocations: 81.05 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.3638, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3639, allocations: 11.98 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3639, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3639, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.3639, allocations: 79.28 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.364, allocations: 0 / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002602/0.3642, allocations: 40.02 kB / 1.063 GB, free: 15.57 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 (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.0002783/0.3645, allocations: 131.2 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.3647, allocations: 47.97 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3647, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.3648, allocations: 31.91 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3651, allocations: 14.59 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.3653, allocations: 104.6 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3656, allocations: 0.677 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.3656, allocations: 4 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.3656, allocations: 11.38 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3656, allocations: 0 / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.003327/0.369, allocations: 0.812 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches