Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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 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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007928/0.007928, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001815/0.001815, allocations: 196.8 kB / 16.79 MB, free: 5.809 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.469/1.469, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.467/2.467, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 63.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6611, allocations: 140.3 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002514/0.6637, allocations: 1.502 MB / 0.951 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006554/0.6644, allocations: 379 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.6644, allocations: 0 / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.6644, allocations: 1.25 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.6645, allocations: 3.938 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.6648, allocations: 79.5 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.6649, allocations: 20.12 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.665, allocations: 7.484 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.665, allocations: 10.59 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.6651, allocations: 14.78 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.6651, allocations: 1.938 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.6653, allocations: 139.4 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.6653, allocations: 4 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.6654, allocations: 10.36 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.6655, allocations: 59.72 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6655, allocations: 1.562 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6655, allocations: 0 / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.6655, allocations: 0 / 0.9517 GB, free: 7.449 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.0003952/0.6659, allocations: 356.4 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.666, allocations: 8.312 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.666, allocations: 6.25 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.6661, allocations: 169.7 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.6661, allocations: 1.75 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.6661, allocations: 1.75 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.6663, allocations: 53.23 kB / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6663, allocations: 192 / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.6663, allocations: 9.312 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.6663, allocations: 0 / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.6665, allocations: 35.16 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.6668, allocations: 247.8 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.6669, allocations: 44.25 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.667, allocations: 26.41 kB / 0.9527 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006409/0.6676, allocations: 475.1 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.6676, allocations: 31.94 kB / 0.9531 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6676, allocations: 0 / 0.9531 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003253/0.668, allocations: 79.83 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.668, allocations: 56.78 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.6681, allocations: 99.48 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.6681, allocations: 25.7 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.6681, allocations: 89.5 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.6681, allocations: 3.906 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.6682, allocations: 12.47 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.6682, allocations: 316.3 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.6683, allocations: 12.42 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.6684, allocations: 26.19 kB / 0.9538 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.6685, allocations: 34.89 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6685, allocations: 3.938 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001685/0.6687, allocations: 68.97 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6687, allocations: 5.125 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6687, allocations: 96 / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.6688, allocations: 5.406 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.6688, allocations: 8.922 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6689, allocations: 1.031 kB / 0.954 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.6689, allocations: 3.781 kB / 0.954 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.6689, allocations: 0 / 0.954 GB, free: 5.125 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 5.061e-05/0.669, allocations: 113 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.669, allocations: 16.02 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.6692, allocations: 79.14 kB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6692, allocations: 0 / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6692, allocations: 0 / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6692, allocations: 1.906 kB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.6693, allocations: 156.5 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6694, allocations: 1.594 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.6694, allocations: 9.328 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6694, allocations: 0 / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.6694, allocations: 1.375 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6694, allocations: 4.031 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6694, allocations: 0 / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.6696, allocations: 171.8 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.6697, allocations: 78.14 kB / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6697, allocations: 0 / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.6698, allocations: 11.98 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6698, allocations: 1.438 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.6698, allocations: 5.188 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.6698, allocations: 86.23 kB / 0.9547 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6698, allocations: 0 / 0.9547 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002693/0.6701, allocations: 28.06 kB / 0.9547 GB, free: 4.371 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.0002529/0.6704, allocations: 135.7 kB / 0.9548 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.6706, allocations: 37.55 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6706, allocations: 0 / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.6707, allocations: 23.89 kB / 0.9549 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.6709, allocations: 7.516 kB / 0.9549 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.6712, allocations: 140.2 kB / 0.955 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.6713, allocations: 0.6777 MB / 0.9557 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.6714, allocations: 8.844 kB / 0.9557 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.6714, allocations: 0 / 0.9557 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.002382/0.6737, allocations: 0.9827 MB / 0.9566 GB, free: 2.895 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches