Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_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.01013/0.01013, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.002076/0.002076, allocations: 187.3 kB / 16.67 MB, free: 5.98 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3161, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002269/0.3184, allocations: 1.437 MB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006287/0.319, allocations: 362.8 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.3191, allocations: 0 / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.3191, allocations: 0 / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.3191, allocations: 3.938 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.3196, allocations: 103.7 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.3197, allocations: 27.91 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.3197, allocations: 4 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.3198, allocations: 11.94 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.481e-05/0.3198, allocations: 7.984 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.3198, allocations: 8 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.3201, allocations: 127.8 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.3201, allocations: 4 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.3201, allocations: 15.92 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3203, allocations: 87.75 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3203, allocations: 0 / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3203, allocations: 0 / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3203, allocations: 0 / 1.21 GB, free: 7.488 MB / 0.9669 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.0004222/0.3207, allocations: 355.4 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3208, allocations: 12.62 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.3208, allocations: 4.938 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.3209, allocations: 164.4 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.3209, allocations: 4.312 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.321, allocations: 4.375 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3211, allocations: 54.22 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3211, allocations: 4.125 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3211, allocations: 3.938 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3212, allocations: 0 / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3213, allocations: 35.95 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.3216, allocations: 244.9 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.3217, allocations: 46.44 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.3218, allocations: 24.89 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000702/0.3225, allocations: 477.5 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3226, allocations: 38.5 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3226, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003284/0.3229, allocations: 77.64 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.323, allocations: 55.41 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.323, allocations: 97.84 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3231, allocations: 25.7 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.3231, allocations: 88.27 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.3231, allocations: 7.906 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.3231, allocations: 9.719 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3233, allocations: 318.8 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.3234, allocations: 15.97 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.3234, allocations: 19.92 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3236, allocations: 40.89 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3236, allocations: 0 / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.3238, allocations: 69.59 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3238, allocations: 5.875 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3238, allocations: 0 / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3238, allocations: 0 / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.3239, allocations: 11.98 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3239, allocations: 4.031 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.324, allocations: 4 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.324, allocations: 3.984 kB / 1.212 GB, free: 4.891 MB / 0.9669 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 7.022e-05/0.3241, allocations: 113.7 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3241, allocations: 8 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.3243, allocations: 64.78 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3243, allocations: 8.031 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3244, allocations: 0 / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3244, allocations: 0 / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.3245, allocations: 161.6 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3245, allocations: 4 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.3246, allocations: 4 kB / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3246, allocations: 3.938 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3246, allocations: 0 / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3246, allocations: 3.938 kB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.3246, allocations: 7.984 kB / 1.212 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.3248, allocations: 167.3 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.3249, allocations: 89.03 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.3249, allocations: 0 / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.325, allocations: 4 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.325, allocations: 3.984 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.325, allocations: 4.031 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.3251, allocations: 83.47 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3251, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002548/0.3254, allocations: 28 kB / 1.213 GB, free: 4.051 MB / 0.9669 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.0002334/0.3256, allocations: 139.3 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3258, allocations: 39.91 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3258, allocations: 0 / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.3259, allocations: 19.98 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.3262, allocations: 7.922 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.3264, allocations: 105.6 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.3267, allocations: 0.6806 MB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.3267, allocations: 0 / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.3267, allocations: 7.438 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.3267, allocations: 0 / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of Templates: time 0.002893/0.3296, allocations: 0.9061 MB / 1.215 GB, free: 2.086 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches