Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_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.001116/0.001116, allocations: 100.1 kB / 15.88 MB, free: 12 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.001119/0.001119, allocations: 199.9 kB / 16.79 MB, free: 6.828 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6658, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002368/0.6682, allocations: 1.489 MB / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.6688, allocations: 367 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.6689, allocations: 1.188 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.6689, allocations: 0 / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.6689, allocations: 5.062 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.6693, allocations: 84.44 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.259e-05/0.6694, allocations: 20.12 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.178e-05/0.6694, allocations: 8.109 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.6695, allocations: 2.844 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.347e-05/0.6695, allocations: 14.73 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.6695, allocations: 1.406 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.6698, allocations: 136.2 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.6698, allocations: 0 / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.6698, allocations: 14.64 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.6699, allocations: 52.16 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6699, allocations: 0 / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.92e-07/0.6699, allocations: 0 / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.67, allocations: 0 / 0.9517 GB, free: 7.5 MB / 0.7169 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.0004245/0.6704, allocations: 353.3 kB / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6704, allocations: 9.156 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.6705, allocations: 10.12 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.6706, allocations: 169.5 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.6706, allocations: 1.594 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.6706, allocations: 1.781 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.6708, allocations: 50.14 kB / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6708, allocations: 192 / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6708, allocations: 11.81 kB / 0.9523 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6708, allocations: 5.547 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.671, allocations: 33.59 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.6712, allocations: 248.9 kB / 0.9526 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.6714, allocations: 39.12 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.6715, allocations: 22.59 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/0.672, allocations: 458.6 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.6721, allocations: 39.69 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6721, allocations: 0 / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.6724, allocations: 84.95 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.6724, allocations: 51.41 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.6725, allocations: 103.9 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.6725, allocations: 25.7 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.6725, allocations: 81.2 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.6725, allocations: 5.5 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.6726, allocations: 14.75 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.6726, allocations: 316.1 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.6727, allocations: 22 kB / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.6728, allocations: 17.36 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.6729, allocations: 34.89 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6729, allocations: 0 / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001683/0.6731, allocations: 76.31 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.6731, allocations: 6.062 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6731, allocations: 0 / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6732, allocations: 0 / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.6732, allocations: 14.61 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.6732, allocations: 0 / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.6733, allocations: 3.812 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.6733, allocations: 9.578 kB / 0.9539 GB, free: 5.168 MB / 0.7169 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 4.62e-05/0.6734, allocations: 114.8 kB / 0.954 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.6734, allocations: 5.594 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.6736, allocations: 69.84 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.6736, allocations: 1.031 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6736, allocations: 0 / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6736, allocations: 1.156 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.6738, allocations: 169.5 kB / 0.9543 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6738, allocations: 3.938 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.6738, allocations: 6.344 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6738, allocations: 0 / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.6738, allocations: 0.9062 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6739, allocations: 0 / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6739, allocations: 5.078 kB / 0.9543 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.6741, allocations: 167.5 kB / 0.9544 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.6741, allocations: 81.09 kB / 0.9545 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.6741, allocations: 0.875 kB / 0.9545 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.6742, allocations: 3.75 kB / 0.9545 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.6742, allocations: 5.234 kB / 0.9545 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.6742, allocations: 5.031 kB / 0.9545 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.6743, allocations: 79.03 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6743, allocations: 0 / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000262/0.6745, allocations: 35.06 kB / 0.9546 GB, free: 4.422 MB / 0.7169 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.0002378/0.6748, allocations: 135.9 kB / 0.9548 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.675, allocations: 38 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.675, allocations: 0 / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.6751, allocations: 19.2 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.6753, allocations: 9.844 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.6756, allocations: 135.9 kB / 0.955 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.6757, allocations: 0.6821 MB / 0.9556 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.6757, allocations: 8.562 kB / 0.9556 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6757, allocations: 0 / 0.9556 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of Templates: time 0.002216/0.6779, allocations: 0.9758 MB / 0.9566 GB, free: 2.953 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches