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.001546/0.001546, allocations: 116.7 kB / 16.37 MB, free: 6 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.001761/0.001761, allocations: 193.1 kB / 17.31 MB, free: 5.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.384/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.234/2.234, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.14 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002716/0.2803, allocations: 1.429 MB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.281, allocations: 345.8 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.281, allocations: 0 / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.2811, allocations: 0 / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.2811, allocations: 15.86 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.2816, allocations: 91.73 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.2817, allocations: 31.91 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2818, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.2818, allocations: 15.92 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.2819, allocations: 7.984 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.2819, allocations: 0 / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.2821, allocations: 127.8 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.2821, allocations: 3.938 kB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.2822, allocations: 8 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2824, allocations: 87.81 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2824, allocations: 0 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2824, allocations: 0 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2824, allocations: 0 / 0.9532 GB, free: 5.859 MB / 0.7325 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.0004424/0.2828, allocations: 367.3 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2829, allocations: 8.031 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.2829, allocations: 0.9375 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.283, allocations: 168.3 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.283, allocations: 4.375 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.283, allocations: 4.375 kB / 0.9538 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.2832, allocations: 46.23 kB / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2832, allocations: 192 / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2832, allocations: 7.938 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2832, allocations: 3.938 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.2834, allocations: 35.95 kB / 0.9538 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.2837, allocations: 252.9 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2838, allocations: 42.48 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.2839, allocations: 20.91 kB / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/0.2845, allocations: 457.5 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2846, allocations: 38.55 kB / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2846, allocations: 0 / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003229/0.2849, allocations: 81.59 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.285, allocations: 59.52 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.285, allocations: 101.8 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.285, allocations: 25.7 kB / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.2851, allocations: 84.14 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.2851, allocations: 3.906 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.2851, allocations: 21.7 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.2852, allocations: 310.8 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.2853, allocations: 15.98 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.2854, allocations: 15.98 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2856, allocations: 40.81 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2856, allocations: 3.938 kB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.2858, allocations: 77.52 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2858, allocations: 9.859 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2858, allocations: 0 / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2858, allocations: 0 / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.2859, allocations: 8 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2859, allocations: 0 / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.2859, allocations: 7.984 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.286, allocations: 0 / 0.9554 GB, free: 3.266 MB / 0.7325 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 6.717e-05/0.286, allocations: 117.8 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.2861, allocations: 4.031 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.2863, allocations: 68.72 kB / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2863, allocations: 3.984 kB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2863, allocations: 4 kB / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2863, allocations: 0 / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.2865, allocations: 161.6 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2865, allocations: 0 / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.2865, allocations: 15.95 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2865, allocations: 4 kB / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.2865, allocations: 0 / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2866, allocations: 0 / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2866, allocations: 0 / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.2868, allocations: 159.5 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.2868, allocations: 81.08 kB / 0.956 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.2868, allocations: 4 kB / 0.956 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.2869, allocations: 15.92 kB / 0.9561 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.287, allocations: 0 / 0.9561 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.287, allocations: 8 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.287, allocations: 79.27 kB / 0.9561 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.287, allocations: 0 / 0.9561 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002519/0.2873, allocations: 28 kB / 0.9562 GB, free: 2.426 MB / 0.7325 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.0002201/0.2875, allocations: 139.2 kB / 0.9563 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.2877, allocations: 35.95 kB / 0.9563 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2877, allocations: 4.062 kB / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.2878, allocations: 15.98 kB / 0.9564 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.288, allocations: 7.938 kB / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.2883, allocations: 109.5 kB / 0.9565 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2885, allocations: 0.6805 MB / 0.9571 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.954e-05/0.2886, allocations: 0 / 0.9571 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.2886, allocations: 15.5 kB / 0.9571 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2886, allocations: 3.938 kB / 0.9571 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of Templates: time 0.0029/0.2915, allocations: 0.8739 MB / 0.958 GB, free: 500 kB / 0.7325 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 -s gbode -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