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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001458/0.001458, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 64.27 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3504, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003245/0.3537, allocations: 1.51 MB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.3545, allocations: 382.8 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.3545, allocations: 0 / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.3546, allocations: 0 / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.463e-05/0.3546, allocations: 3.938 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.355, allocations: 87.84 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.601e-05/0.3551, allocations: 15.94 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.3552, allocations: 7.984 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.3552, allocations: 11.94 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.3553, allocations: 7.984 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.3553, allocations: 4 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.3556, allocations: 135.7 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.3556, allocations: 11.94 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.3556, allocations: 4 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.3559, allocations: 99.72 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3559, allocations: 4 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3559, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3559, allocations: 0 / 1.054 GB, free: 6.559 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.0005216/0.3564, allocations: 351.7 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3565, allocations: 12.03 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.3565, allocations: 8.844 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3567, allocations: 164.4 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3567, allocations: 4.375 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.3567, allocations: 384 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3569, allocations: 54.17 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3569, allocations: 4.125 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3569, allocations: 3.938 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3569, allocations: 0 / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.3571, allocations: 35.95 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.3574, allocations: 245 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3576, allocations: 46.38 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.3576, allocations: 28.89 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007711/0.3584, allocations: 469.5 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3585, allocations: 30.56 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3585, allocations: 0 / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003473/0.3588, allocations: 85.64 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.3589, allocations: 51.41 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.359, allocations: 101.8 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.359, allocations: 29.7 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.359, allocations: 80.14 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.3591, allocations: 7.844 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.3591, allocations: 17.72 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3593, allocations: 315 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.3594, allocations: 19.97 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.3594, allocations: 15.98 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.3596, allocations: 32.83 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3596, allocations: 64 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001778/0.3598, allocations: 77.5 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3598, allocations: 4 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3598, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3598, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.3599, allocations: 19.92 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3599, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.36, allocations: 4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.36, allocations: 8.016 kB / 1.057 GB, free: 3.961 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.137e-05/0.3601, allocations: 113.8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.3601, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3603, allocations: 72.78 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3603, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3603, allocations: 4.188 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3603, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.3605, allocations: 169.6 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3605, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.3606, allocations: 4 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3606, allocations: 4 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3606, allocations: 0 / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3606, allocations: 7.875 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3606, allocations: 3.938 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.3608, allocations: 167.5 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.3609, allocations: 85.03 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.3609, allocations: 0 / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.361, allocations: 4 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.361, allocations: 3.984 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.361, allocations: 4 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.3611, allocations: 75.28 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3611, allocations: 4 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000248/0.3613, allocations: 32.03 kB / 1.057 GB, free: 3.125 MB / 0.8106 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.0002697/0.3616, allocations: 139.2 kB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3618, allocations: 39.91 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3618, allocations: 0 / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.3619, allocations: 15.98 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3622, allocations: 11.92 kB / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.3625, allocations: 103.2 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3627, allocations: 0.6811 MB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.192e-05/0.3628, allocations: 0 / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.3628, allocations: 15.38 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3628, allocations: 0 / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of Templates: time 0.002987/0.3658, allocations: 0.8294 MB / 1.059 GB, free: 1.23 MB / 0.8106 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