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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001626/0.001625, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00187/0.00187, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.902, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003143/0.9052, allocations: 1.484 MB / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007668/0.906, allocations: 364.9 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.906, allocations: 1.375 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.9061, allocations: 0 / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.9062, allocations: 3.938 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.9067, allocations: 99.78 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.9067, allocations: 20.19 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.9069, allocations: 12.11 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.9069, allocations: 2.75 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.907, allocations: 14.67 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.907, allocations: 2.75 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.9073, allocations: 137 kB / 0.9512 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.9073, allocations: 5.688 kB / 0.9512 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.9073, allocations: 13.36 kB / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.9076, allocations: 93.7 kB / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.9076, allocations: 4 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.544e-06/0.9076, allocations: 1.25 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.9076, allocations: 3.984 kB / 0.9513 GB, free: 7.512 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.0004904/0.9081, allocations: 352.1 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.9082, allocations: 9.438 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.9082, allocations: 2.406 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.328e-05/0.9083, allocations: 165.6 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.9083, allocations: 1.438 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.9083, allocations: 1.656 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.9085, allocations: 56.7 kB / 0.9519 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.9085, allocations: 1.531 kB / 0.9519 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.9086, allocations: 7.922 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.9086, allocations: 0 / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.9087, allocations: 35.77 kB / 0.9519 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.909, allocations: 247.7 kB / 0.9521 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.9092, allocations: 47.55 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.9092, allocations: 22.16 kB / 0.9522 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/0.9099, allocations: 473 kB / 0.9527 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.91, allocations: 30.56 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.91, allocations: 0 / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003517/0.9103, allocations: 81.17 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.9104, allocations: 55.41 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.9104, allocations: 99.44 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.9104, allocations: 29.64 kB / 0.9529 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.9105, allocations: 85.48 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.9105, allocations: 9.062 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.9105, allocations: 12.25 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.9106, allocations: 318.8 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.9107, allocations: 18.27 kB / 0.9534 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.9108, allocations: 20.73 kB / 0.9534 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.9109, allocations: 36.11 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9109, allocations: 0 / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001749/0.9111, allocations: 72.5 kB / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.9111, allocations: 5.281 kB / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9111, allocations: 0 / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.9112, allocations: 0 / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.9113, allocations: 14.8 kB / 0.9535 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.9113, allocations: 0 / 0.9535 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.9113, allocations: 8.297 kB / 0.9535 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.9113, allocations: 0 / 0.9535 GB, free: 5.188 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.798e-05/0.9114, allocations: 115.5 kB / 0.9536 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.9114, allocations: 9.594 kB / 0.9536 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.9116, allocations: 65.94 kB / 0.9537 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9116, allocations: 1.25 kB / 0.9537 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9116, allocations: 0 / 0.9537 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9116, allocations: 0 / 0.9537 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.9118, allocations: 162.3 kB / 0.9538 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9118, allocations: 0 / 0.9538 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.9118, allocations: 18.77 kB / 0.9539 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9118, allocations: 0 / 0.9539 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.9119, allocations: 1.312 kB / 0.9539 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9119, allocations: 3.938 kB / 0.9539 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9119, allocations: 3.984 kB / 0.9539 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.9121, allocations: 167.4 kB / 0.954 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.9121, allocations: 78.39 kB / 0.9541 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.9121, allocations: 0 / 0.9541 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.9122, allocations: 8.016 kB / 0.9541 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.9122, allocations: 0.9375 kB / 0.9541 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.9123, allocations: 1.125 kB / 0.9541 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.837e-05/0.9123, allocations: 82.84 kB / 0.9542 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9123, allocations: 0 / 0.9542 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002613/0.9126, allocations: 31.55 kB / 0.9542 GB, free: 4.445 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.0002613/0.9128, allocations: 137.1 kB / 0.9544 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.913, allocations: 41.38 kB / 0.9544 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9131, allocations: 4.062 kB / 0.9544 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.9131, allocations: 27.16 kB / 0.9544 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.9134, allocations: 10.73 kB / 0.9544 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.9137, allocations: 107.5 kB / 0.9545 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.9138, allocations: 0.6776 MB / 0.9552 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.9138, allocations: 9.422 kB / 0.9552 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.9138, allocations: 8.906 kB / 0.9552 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9138, allocations: 0 / 0.9552 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of Templates: time 0.003444/0.9173, allocations: 0.841 MB / 0.956 GB, free: 3.039 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches