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.001068/0.001068, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008217/0.008217, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 462.7 MB / 0.7364 GB, free: 220 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003837, allocations: 8.875 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3365, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001633/0.3381, allocations: 1.163 MB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007754/0.3389, allocations: 374.9 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.339, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.339, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.339, allocations: 3.938 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.3394, allocations: 83.84 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.3395, allocations: 23.92 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.3396, allocations: 4 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.3396, allocations: 3.938 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.3397, allocations: 11.98 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.3397, allocations: 0 / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.3399, allocations: 143.7 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.34, allocations: 11.86 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.34, allocations: 33.7 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.3402, allocations: 91.78 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3402, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3402, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.3402, allocations: 4 kB / 1.061 GB, free: 3.516 MB / 0.8106 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.0004931/0.3407, allocations: 352.9 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3407, allocations: 8.031 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.3408, allocations: 4.938 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3409, allocations: 176.2 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3409, allocations: 4.359 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.341, allocations: 4.375 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3412, allocations: 50.25 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3412, allocations: 192 / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3412, allocations: 3.938 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3412, allocations: 7.922 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3414, allocations: 43.97 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.3418, allocations: 241 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3419, allocations: 54.42 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.342, allocations: 28.91 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007603/0.3428, allocations: 477.5 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3428, allocations: 34.55 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3429, allocations: 0 / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003968/0.3433, allocations: 101.5 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3433, allocations: 59.39 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.3434, allocations: 93.86 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3434, allocations: 25.83 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.3435, allocations: 92.14 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3435, allocations: 7.906 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.3435, allocations: 9.719 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3437, allocations: 314.8 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.275e-05/0.3438, allocations: 23.98 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.3438, allocations: 19.98 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.344, allocations: 48.81 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.344, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002211/0.3443, allocations: 89.61 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3443, allocations: 4.781 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3443, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3443, allocations: 3.984 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.3444, allocations: 12.03 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3444, allocations: 0 / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.3445, allocations: 11.98 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3445, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 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.3e-05/0.3446, allocations: 109.8 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3446, allocations: 7.906 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.3448, allocations: 84.78 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3449, allocations: 3.938 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3449, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3449, allocations: 3.984 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.345, allocations: 157.6 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.345, allocations: 4 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.3451, allocations: 19.95 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3451, allocations: 0 / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3451, allocations: 4 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3451, allocations: 0 / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3451, allocations: 0 / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3454, allocations: 175.5 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.3454, allocations: 81.05 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.3455, allocations: 192 / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.3456, allocations: 11.98 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3456, allocations: 3.984 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3456, allocations: 4 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.3457, allocations: 83.31 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3457, allocations: 3.938 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002782/0.3459, allocations: 31.98 kB / 1.064 GB, free: 15.97 MB / 0.8262 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.0002702/0.3462, allocations: 143.2 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3465, allocations: 43.95 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3465, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.766e-05/0.3466, allocations: 28.05 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3468, allocations: 7.938 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.3471, allocations: 112.6 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3474, allocations: 0.6731 MB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.3474, allocations: 3.938 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.3474, allocations: 11.5 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of SimCode: time 1.963e-06/0.3474, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003377/0.3508, allocations: 0.8225 MB / 1.065 GB, free: 14.07 MB / 0.8262 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